diff --git a/nvim/ultisnips/tex.snippets b/nvim/ultisnips/tex.snippets index d69501d..e421453 100644 --- a/nvim/ultisnips/tex.snippets +++ b/nvim/ultisnips/tex.snippets @@ -385,7 +385,7 @@ endsnippet priority 100 context "math()" -snippet '(? + +\setbeamerfont{btitle}{size=\large, series=\bf} + +\setbeamertemplate{itemize item}[circle] +\setbeamertemplate{navigation symbols}{} + diff --git a/tex/booknotes.cls b/tex/booknotes.cls index 1660dad..7922ed4 100644 --- a/tex/booknotes.cls +++ b/tex/booknotes.cls @@ -299,13 +299,13 @@ } } -\newcommand{\exercise}[1]{% - \def\@exercise{#1}% - \subsection*{Exercise #1} +\newcommand{\exercise}[2][]{% + \def\@exercise{#2}% + \subsection*{Exercise #2. #1} } -\newcommand{\subexercise}[1]{% - \subsubsection*{Exercise \@exercise.#1} +\newcommand{\subexercise}[2][]{% + \subsubsection*{Exercise \@exercise.#2. #1} } \newcommand{\sect}[1]{ diff --git a/tex/handout.cls b/tex/handout.cls index d85db16..18c46bc 100644 --- a/tex/handout.cls +++ b/tex/handout.cls @@ -302,15 +302,16 @@ } } -\newcommand{\exercise}[1]{% - \def\@exercise{#1}% - \subsection*{Exercise #1} +\newcommand{\exercise}[2][]{% + \def\@exercise{#2}% + \subsection*{Exercise #2. #1} } -\newcommand{\subexercise}[1]{% - \subsubsection*{Exercise \@exercise.#1} +\newcommand{\subexercise}[2][]{% + \subsubsection*{Exercise \@exercise.#2. #1} } + \newcommand{\sect}[1]{ \def\@section{#1} \section{#1} diff --git a/tex/notes.cls b/tex/notes.cls index 6910ec8..5235aa6 100644 --- a/tex/notes.cls +++ b/tex/notes.cls @@ -298,13 +298,13 @@ } } -\newcommand{\exercise}[1]{% - \def\@exercise{#1}% - \subsection*{Exercise #1} +\newcommand{\exercise}[2][]{% + \def\@exercise{#2}% + \subsection*{Exercise #2. #1} } -\newcommand{\subexercise}[1]{% - \subsubsection*{Exercise \@exercise.#1} +\newcommand{\subexercise}[2][]{% + \subsubsection*{Exercise \@exercise.#2. #1} } \newcommand{\sect}[1]{ diff --git a/themectl/schemes/passionfruit.yaml b/themectl/schemes/passionfruit.yaml index d9a6d74..2e82a36 100644 --- a/themectl/schemes/passionfruit.yaml +++ b/themectl/schemes/passionfruit.yaml @@ -1,5 +1,4 @@ scheme: "Passionfruit" -author: "EvilMuffinHa" base00: "282828" # ---- base01: "3c3836" # --- base02: "504945" # -- diff --git a/themectl/templates/beamercolortheme.mustache b/themectl/templates/beamercolortheme.mustache index 81af077..5f7109e 100644 --- a/themectl/templates/beamercolortheme.mustache +++ b/themectl/templates/beamercolortheme.mustache @@ -5,6 +5,23 @@ \definecolor{col}{HTML}{ {{base0D-hex}} } \definecolor{text}{HTML}{ {{base05-hex}} } +\definecolor{color00}{HTML}{ {{base00-hex}} } +\definecolor{color01}{HTML}{ {{base01-hex}} } +\definecolor{color02}{HTML}{ {{base02-hex}} } +\definecolor{color03}{HTML}{ {{base03-hex}} } +\definecolor{color04}{HTML}{ {{base04-hex}} } +\definecolor{color05}{HTML}{ {{base05-hex}} } +\definecolor{color06}{HTML}{ {{base06-hex}} } +\definecolor{color07}{HTML}{ {{base07-hex}} } +\definecolor{color08}{HTML}{ {{base08-hex}} } +\definecolor{color09}{HTML}{ {{base09-hex}} } +\definecolor{color0A}{HTML}{ {{base0A-hex}} } +\definecolor{color0B}{HTML}{ {{base0B-hex}} } +\definecolor{color0C}{HTML}{ {{base0C-hex}} } +\definecolor{color0D}{HTML}{ {{base0D-hex}} } +\definecolor{color0E}{HTML}{ {{base0E-hex}} } +\definecolor{color0F}{HTML}{ {{base0F-hex}} } + \setbeamercolor{background canvas}{bg=base} \setbeamercolor{title}{fg=col} \setbeamercolor{frametitle}{fg=col}