latex-setup
My personal LaTeX setup 🦁️⚙️
- Commit
- 767423e07eeb26015ee810fd2b085f0532203db6
- Parent
- ab710893f6517ac522093446f51f8ed248e01231
- Author
- Pablo <pablo-escobar@riseup.net>
- Date
Added some new macros
Moved the macros for double struck letters from xalgebra to the preamble and added some other macros for double strcuk capital letters
Diffstat
4 files changed, 36 insertions, 20 deletions
diff --git a/preamble-common.tex b/preamble-common.tex
@@ -13,7 +13,7 @@
% Pablo (C) 2020
\usepackage{amsmath, amssymb, amsthm, stmaryrd, mathrsfs, gensymb, dsfont}
-\usepackage{mathtools}
+\usepackage{mathtools, adjustbox}
\usepackage[scr=esstix,cal=boondox]{mathalfa}
\usepackage{enumitem, xfrac, xcolor, cancel, multicol, tabularx, relsize}
\usepackage{hyperref, csquotes}
@@ -26,6 +26,34 @@
\usepackage[normalem]{ulem}
\usepackage[brazil]{babel}
+% Double struck letters
+\renewcommand{\AA}{\mathbb{A}} % Double struck A
+\newcommand{\BB}{\mathbb{B}} % Double struck B
+\newcommand{\CC}{\mathbb{C}} % Double struck C
+\newcommand{\DD}{\mathbb{D}} % Double struck D
+\newcommand{\EE}{\mathbb{E}} % Double struck E
+\newcommand{\FF}{\mathbb{F}} % Double struck F
+\newcommand{\GG}{\mathbb{G}} % Double struck G
+\newcommand{\HH}{\mathbb{H}} % Double struck H
+\newcommand{\II}{\mathbb{I}} % Double struck I
+\newcommand{\JJ}{\mathbb{J}} % Double struck J
+\newcommand{\KK}{\mathbb{K}} % Double struck K
+\newcommand{\LL}{\mathbb{L}} % Double struck L
+\newcommand{\MM}{\mathbb{M}} % Double struck M
+\newcommand{\NN}{\mathbb{N}} % Double struck N
+\newcommand{\OO}{\mathbb{O}} % Double struck O
+\newcommand{\PP}{\mathbb{P}} % Double struck P
+\newcommand{\QQ}{\mathbb{Q}} % Double struck Q
+\newcommand{\RR}{\mathbb{R}} % Double struck R
+\renewcommand{\SS}{\mathbb{S}} % Double struck S
+\newcommand{\TT}{\mathbb{T}} % Double struck T
+\newcommand{\UU}{\mathbb{U}} % Double struck U
+\newcommand{\VV}{\mathbb{V}} % Double struck V
+\newcommand{\WW}{\mathbb{W}} % Double struck W
+\newcommand{\XX}{\mathbb{X}} % Double struck X
+\newcommand{\YY}{\mathbb{Y}} % Double struck Y
+\newcommand{\ZZ}{\mathbb{Z}} % Double struck Z
+
% Use \blacksquare for \qed
\renewcommand{\qedsymbol}{\ensuremath{\blacksquare}}