Added proofs and fixed typos

This commit is contained in:
saundersp
2025-03-30 22:05:09 +02:00
parent f95eee7d29
commit 38880b1f21
8 changed files with 637 additions and 147 deletions

View File

@ -2,11 +2,12 @@
% Add many functions for colour themes
\RequirePackage{xcolor}
% Code highlighting
\RequirePackage{listings}
\DeclareOption{default}{\OptionNotUsed}
\definecolor{theme_colour_background} {RGB} {255, 255, 255}
\definecolor{theme_colour_foreground} {RGB} {0, 0, 0 }
\definecolor{theme_colour_cl} {RGB} {68, 71, 90 }
\definecolor{theme_colour_comment} {RGB} {98, 114, 164}
\definecolor{theme_colour_cyan} {RGB} {139, 233, 253}
\definecolor{theme_colour_green} {RGB} {0, 255, 0 }
@ -16,10 +17,17 @@
\definecolor{theme_colour_red} {RGB} {255, 0, 0 }
\definecolor{theme_colour_yellow} {RGB} {255, 255, 0 }
\definecolor{identifiercolor} {named} {theme_colour_foreground}
\definecolor{keywordcolor} {named} {theme_colour_purple}
\definecolor{tacticcolor} {named} {theme_colour_purple}
\definecolor{symbolcolor} {named} {theme_colour_foreground}
\definecolor{sortcolor} {named} {theme_colour_green}
\definecolor{attributecolor} {named} {theme_colour_cyan}
\definecolor{commentcolor} {named} {theme_colour_comment}
\DeclareOption{codedark}{
\definecolor{theme_colour_background} {HTML} {222324}
\definecolor{theme_colour_foreground} {HTML} {FFFFFF}
\definecolor{theme_colour_cl} {RGB} {68, 71, 90 }
\definecolor{theme_colour_comment} {RGB} {98, 114, 164}
\definecolor{theme_colour_cyan} {RGB} {139, 233, 253}
\definecolor{theme_colour_green} {RGB} {80, 250, 123}
@ -28,12 +36,19 @@
\definecolor{theme_colour_purple} {RGB} {189, 147, 249}
\definecolor{theme_colour_red} {RGB} {255, 85, 85 }
\definecolor{theme_colour_yellow} {RGB} {241, 250, 140}
\definecolor{identifiercolor} {named} {theme_colour_foreground}
\definecolor{keywordcolor} {named} {theme_colour_purple}
\definecolor{tacticcolor} {named} {theme_colour_purple}
\definecolor{symbolcolor} {named} {theme_colour_foreground}
\definecolor{sortcolor} {named} {theme_colour_green}
\definecolor{attributecolor} {named} {theme_colour_cyan}
\definecolor{commentcolor} {named} {theme_colour_comment}
}
\DeclareOption{dracula}{
\definecolor{theme_colour_background} {RGB} {40, 42, 54 }
\definecolor{theme_colour_foreground} {RGB} {248, 248, 242}
\definecolor{theme_colour_cl} {RGB} {68, 71, 90 }
\definecolor{theme_colour_comment} {RGB} {98, 114, 164}
\definecolor{theme_colour_cyan} {RGB} {139, 233, 253}
\definecolor{theme_colour_green} {RGB} {80, 250, 123}
@ -42,6 +57,16 @@
\definecolor{theme_colour_purple} {RGB} {189, 147, 249}
\definecolor{theme_colour_red} {RGB} {255, 85, 85 }
\definecolor{theme_colour_yellow} {RGB} {241, 250, 140}
\definecolor{identifiercolor} {named} {theme_colour_foreground}
\definecolor{keywordcolor} {named} {theme_colour_purple}
\definecolor{tacticcolor} {named} {theme_colour_purple}
\definecolor{symbolcolor} {named} {theme_colour_foreground}
\definecolor{sortcolor} {named} {theme_colour_green}
\definecolor{attributecolor} {named} {theme_colour_cyan}
\definecolor{commentcolor} {named} {theme_colour_comment}
}
\edef\lstlanguagefiles{\lstlanguagefiles,packages/lstlean.tex}
\ProcessOptions\relax