latex-setup

My personal LaTeX setup 🦁️⚙️

Commit
d0c8eb781e290fbb25a7a6b64481277a5dbb2029
Parent
a5818e7f3c789f7ec647c44bf9c83f57c1aaf60e
Author
Pablo <pablo-escobar@riseup.net>
Date

Replaced mathabx with gensymb

mathabx modify some of the standard fonts

Diffstat

1 file changed, 8 insertions, 1 deletion

Status File Name N° Changes Insertions Deletions
Modified preamble-common.tex 9 8 1
diff --git a/preamble-common.tex b/preamble-common.tex
@@ -12,7 +12,7 @@
 %                                      
 % Pablo (C) 2021
 
-\usepackage{amsmath, amssymb, amsthm, stmaryrd, mathrsfs, mathabx, dsfont}
+\usepackage{amsmath, amssymb, amsthm, stmaryrd, mathrsfs, gensymb, dsfont}
 \usepackage{mathtools, adjustbox}
 \usepackage[scr=esstix,cal=boondox]{mathalfa}
 \usepackage{enumitem, xfrac, xcolor, cancel, multicol, tabularx, relsize}
@@ -26,6 +26,9 @@
 \usepackage[normalem]{ulem}
 \usepackage{minted}
 
+% Set the color scheme used by minted
+\usemintedstyle{friendly}
+
 % Configure graphics
 \usetikzlibrary{calc, shadows.blur, shapes.geometric, patterns, arrows}
 \pgfplotsset{compat=1.16}
@@ -100,6 +103,10 @@
 % Set cardinal
 \newcommand{\card}[1]{\left|\nobreak#1\nobreak\right|}
 
+% Minus sign with a dot over it. Usefull for typsetting saturated subtraction
+\def\dotminus{\mathbin{\ooalign{\hss\raise1ex\hbox{.}\hss\cr
+  \mathsurround=0pt$-$}}}
+
 % Empty macro (it's usefull for typesetting Young diagrams)
 \newcommand{\void}{ }