lie-algebras-and-their-representations

Source code for my notes on representations of semisimple Lie algebras and Olivier Mathieu's classification of simple weight modules

Commit
7ead97dad0a1066a6e6ae82b73bf628fe1345b53
Parent
09f2535274e3a1e7dbb11da3a66105384f9f7863
Author
Pablo <pablo-escobar@riseup.net>
Date

Refined the style of the theorems

Diffstat

1 file changed, 12 insertions, 12 deletions

Status File Name N° Changes Insertions Deletions
Modified preamble.tex 24 12 12
diff --git a/preamble.tex b/preamble.tex
@@ -14,8 +14,10 @@
 \usepackage{imakeidx}
 \usepackage{thmtools}
 
-% Set the default accent color
+% Set the default colors
 \definecolor{mosgreen}{RGB}{29, 135, 17}
+\definecolor{thmbackground}{RGB}{249, 249, 249}
+\definecolor{thmrule}{RGB}{230, 230, 230}
 
 % Configure fonts
 \usepackage[T1]{fontenc}
@@ -49,35 +51,33 @@
 \setenumerate[0]{label={\normalfont \bfseries(\roman*)}}
 
 % Useful theorem definitions
-\newtheoremstyle{coloredtheorem}{}{}{\em}{}{\bf\color{mosgreen}}{.}{ }{}
-\newtheoremstyle{coloreddefinition}{}{}{}{}{\bf\color{mosgreen}}{.}{ }{}
+\newtheoremstyle{coloredtheorem}{}{}{\em}{}{\bf\color{mosgreen}}{}{.5em}{}
+\newtheoremstyle{coloreddefinition}{}{}{}{}{\bf\color{mosgreen}}{}{.5em}{}
 \newtheoremstyle{coloredremark}{}{}{}{}{\itshape\color{mosgreen}}{.}{.5em}{}
 \declaretheorem[
-  shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+  shaded={rulecolor=thmrule, rulewidth=1pt, bgcolor=thmbackground, margin=8pt},
   style=coloredtheorem,
   parent=chapter]{theorem}
 \declaretheorem[
-  shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+  shaded={rulecolor=thmrule, rulewidth=1pt, bgcolor=thmbackground, margin=8pt},
   style=coloredtheorem,
   sibling=theorem]{lemma}
 \declaretheorem[
-  shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+  shaded={rulecolor=thmrule, rulewidth=1pt, bgcolor=thmbackground, margin=8pt},
   style=coloredtheorem,
   sibling=theorem]{corollary}
 \declaretheorem[
-  shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+  shaded={rulecolor=thmrule, rulewidth=1pt, bgcolor=thmbackground, margin=8pt},
   style=coloredtheorem,
   sibling=theorem]{proposition}
 \theoremstyle{coloredremark}
 \newtheorem*{note}{Remark}
 \declaretheorem[
-  shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
+  shaded={rulecolor=thmrule, rulewidth=1pt, bgcolor=thmbackground, margin=8pt},
+  style=coloredtheorem,
   style=coloreddefinition,
   sibling=theorem]{definition}
-\declaretheorem[
-  shaded={rulecolor=mosgreen, rulewidth=2pt, bgcolor=white, margin=4pt},
-  style=coloreddefinition,
-  sibling=theorem]{example}
+\declaretheorem[style=coloreddefinition, sibling=theorem]{example}
 
 % Custom page style
 \fancypagestyle{custom}{%