pyeasyphd 0.4.42__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. pyeasyphd/.python-version +1 -0
  2. pyeasyphd/Main.sublime-menu +43 -0
  3. pyeasyphd/__init__.py +5 -0
  4. pyeasyphd/data/templates/csl/apa-no-ampersand.csl +2183 -0
  5. pyeasyphd/data/templates/csl/apa.csl +2133 -0
  6. pyeasyphd/data/templates/csl/ieee.csl +512 -0
  7. pyeasyphd/data/templates/tex/Article.tex +38 -0
  8. pyeasyphd/data/templates/tex/Article_Header.tex +29 -0
  9. pyeasyphd/data/templates/tex/Article_Tail.tex +3 -0
  10. pyeasyphd/data/templates/tex/Beamer_Header.tex +79 -0
  11. pyeasyphd/data/templates/tex/Beamer_Tail.tex +14 -0
  12. pyeasyphd/data/templates/tex/Style.tex +240 -0
  13. pyeasyphd/data/templates/tex/TEVC_Header.tex +52 -0
  14. pyeasyphd/data/templates/tex/TEVC_Tail.tex +4 -0
  15. pyeasyphd/data/templates/tex/eisvogel.tex +1064 -0
  16. pyeasyphd/data/templates/tex/math.tex +201 -0
  17. pyeasyphd/data/templates/tex/math_commands.tex +677 -0
  18. pyeasyphd/data/templates/tex/nextaimathmacros.sty +681 -0
  19. pyeasyphd/main/__init__.py +6 -0
  20. pyeasyphd/main/basic_input.py +101 -0
  21. pyeasyphd/main/pandoc_md_to.py +380 -0
  22. pyeasyphd/main/python_run_md.py +320 -0
  23. pyeasyphd/main/python_run_tex.py +200 -0
  24. pyeasyphd/pyeasyphd.py +86 -0
  25. pyeasyphd/pyeasyphd.sublime-settings +100 -0
  26. pyeasyphd/pyeasyphd.sublime-syntax +5 -0
  27. pyeasyphd/scripts/__init__.py +34 -0
  28. pyeasyphd/scripts/_base.py +65 -0
  29. pyeasyphd/scripts/run_article_md.py +101 -0
  30. pyeasyphd/scripts/run_article_tex.py +94 -0
  31. pyeasyphd/scripts/run_beamer_tex.py +84 -0
  32. pyeasyphd/scripts/run_compare.py +71 -0
  33. pyeasyphd/scripts/run_format.py +62 -0
  34. pyeasyphd/scripts/run_generate.py +211 -0
  35. pyeasyphd/scripts/run_replace.py +34 -0
  36. pyeasyphd/scripts/run_search.py +251 -0
  37. pyeasyphd/tools/__init__.py +12 -0
  38. pyeasyphd/tools/generate/generate_from_bibs.py +181 -0
  39. pyeasyphd/tools/generate/generate_html.py +166 -0
  40. pyeasyphd/tools/generate/generate_library.py +203 -0
  41. pyeasyphd/tools/generate/generate_links.py +400 -0
  42. pyeasyphd/tools/py_run_bib_md_tex.py +398 -0
  43. pyeasyphd/tools/search/data.py +282 -0
  44. pyeasyphd/tools/search/search_base.py +146 -0
  45. pyeasyphd/tools/search/search_core.py +400 -0
  46. pyeasyphd/tools/search/search_keywords.py +229 -0
  47. pyeasyphd/tools/search/search_writers.py +350 -0
  48. pyeasyphd/tools/search/utils.py +190 -0
  49. pyeasyphd/utils/utils.py +99 -0
  50. pyeasyphd-0.4.42.dist-info/METADATA +33 -0
  51. pyeasyphd-0.4.42.dist-info/RECORD +53 -0
  52. pyeasyphd-0.4.42.dist-info/WHEEL +4 -0
  53. pyeasyphd-0.4.42.dist-info/licenses/LICENSE +674 -0
@@ -0,0 +1,677 @@
1
+ %%%-------------------------------------------------------------------------%%%
2
+ % Required packages
3
+ \usepackage{amsmath}
4
+
5
+ % Set up tensor font
6
+ \DeclareMathAlphabet{\mathsfit}{\encodingdefault}{\sfdefault}{m}{sl}
7
+ \SetMathAlphabet{\mathsfit}{bold}{\encodingdefault}{\sfdefault}{bx}{n}
8
+
9
+ %%%-------------------------------------------------------------------------%%%
10
+ %% Remark
11
+ % \em is useful for long texts (\emph e.g. doesn't allow the argument to contain a \par). The commands differ (like the \textit/\itshape) in their handling of the italic correction
12
+ % \def is a TeX primitive, \newcommand is a LaTeX overlay on top of \def. The most obvious benefits of \newcommand over \def are:
13
+ % \newcommand checks whether or not the command already exists
14
+ % \newcommand allows you to define an optional argument
15
+
16
+ %%%-------------------------------------------------------------------------%%%
17
+ %% Optional math commands from https://github.com/goodfeli/dlbook_notation/blob/master/math_commands.tex
18
+
19
+ %% Math Symbols (def)
20
+ % Vectors % Elements of vectors % Matrix % Entries of a matrix
21
+ \newcommand{\va}{{\bm{a}}} \newcommand{\eva}{{a}} \newcommand{\mA}{{\bm{A}}} \newcommand{\emA}{{A}}
22
+ \newcommand{\vb}{{\bm{b}}} \newcommand{\evb}{{b}} \newcommand{\mB}{{\bm{B}}} \newcommand{\emB}{{B}}
23
+ \newcommand{\vc}{{\bm{c}}} \newcommand{\evc}{{c}} \newcommand{\mC}{{\bm{C}}} \newcommand{\emC}{{C}}
24
+ \newcommand{\vd}{{\bm{d}}} \newcommand{\evd}{{d}} \newcommand{\mD}{{\bm{D}}} \newcommand{\emD}{{D}}
25
+ \newcommand{\ve}{{\bm{e}}} \newcommand{\eve}{{e}} \newcommand{\mE}{{\bm{E}}} \newcommand{\emE}{{E}}
26
+ \newcommand{\vf}{{\bm{f}}} \newcommand{\evf}{{f}} \newcommand{\mF}{{\bm{F}}} \newcommand{\emF}{{F}}
27
+ \newcommand{\vg}{{\bm{g}}} \newcommand{\evg}{{g}} \newcommand{\mG}{{\bm{G}}} \newcommand{\emG}{{G}}
28
+ \newcommand{\vh}{{\bm{h}}} \newcommand{\evh}{{h}} \newcommand{\mH}{{\bm{H}}} \newcommand{\emH}{{H}}
29
+ \newcommand{\vi}{{\bm{i}}} \newcommand{\evi}{{i}} \newcommand{\mI}{{\bm{I}}} \newcommand{\emI}{{I}}
30
+ \newcommand{\vj}{{\bm{j}}} \newcommand{\evj}{{j}} \newcommand{\mJ}{{\bm{J}}} \newcommand{\emJ}{{J}}
31
+ \newcommand{\vk}{{\bm{k}}} \newcommand{\evk}{{k}} \newcommand{\mK}{{\bm{K}}} \newcommand{\emK}{{K}}
32
+ \newcommand{\vl}{{\bm{l}}} \newcommand{\evl}{{l}} \newcommand{\mL}{{\bm{L}}} \newcommand{\emL}{{L}}
33
+ \newcommand{\vm}{{\bm{m}}} \newcommand{\evm}{{m}} \newcommand{\mM}{{\bm{M}}} \newcommand{\emM}{{M}}
34
+ \newcommand{\vn}{{\bm{n}}} \newcommand{\evn}{{n}} \newcommand{\mN}{{\bm{N}}} \newcommand{\emN}{{N}}
35
+ \newcommand{\vo}{{\bm{o}}} \newcommand{\evo}{{o}} \newcommand{\mO}{{\bm{O}}} \newcommand{\emO}{{O}}
36
+ \newcommand{\vp}{{\bm{p}}} \newcommand{\evp}{{p}} \newcommand{\mP}{{\bm{P}}} \newcommand{\emP}{{P}}
37
+ \newcommand{\vq}{{\bm{q}}} \newcommand{\evq}{{q}} \newcommand{\mQ}{{\bm{Q}}} \newcommand{\emQ}{{Q}}
38
+ \newcommand{\vr}{{\bm{r}}} \newcommand{\evr}{{r}} \newcommand{\mR}{{\bm{R}}} \newcommand{\emR}{{R}}
39
+ \newcommand{\vs}{{\bm{s}}} \newcommand{\evs}{{s}} \newcommand{\mS}{{\bm{S}}} \newcommand{\emS}{{S}}
40
+ \newcommand{\vt}{{\bm{t}}} \newcommand{\evt}{{t}} \newcommand{\mT}{{\bm{T}}} \newcommand{\emT}{{T}}
41
+ \newcommand{\vu}{{\bm{u}}} \newcommand{\evu}{{u}} \newcommand{\mU}{{\bm{U}}} \newcommand{\emU}{{U}}
42
+ \newcommand{\vv}{{\bm{v}}} \newcommand{\evv}{{v}} \newcommand{\mV}{{\bm{V}}} \newcommand{\emV}{{V}}
43
+ \newcommand{\vw}{{\bm{w}}} \newcommand{\evw}{{w}} \newcommand{\mW}{{\bm{W}}} \newcommand{\emW}{{W}}
44
+ \newcommand{\vx}{{\bm{x}}} \newcommand{\evx}{{x}} \newcommand{\mX}{{\bm{X}}} \newcommand{\emX}{{X}}
45
+ \newcommand{\vy}{{\bm{y}}} \newcommand{\evy}{{y}} \newcommand{\mY}{{\bm{Y}}} \newcommand{\emY}{{Y}}
46
+ \newcommand{\vz}{{\bm{z}}} \newcommand{\evz}{{z}} \newcommand{\mZ}{{\bm{Z}}} \newcommand{\emZ}{{Z}}
47
+
48
+ % Random variables
49
+ \newcommand{\ra}{{\textnormal{a}}}
50
+ \newcommand{\rb}{{\textnormal{b}}}
51
+ \newcommand{\rc}{{\textnormal{c}}}
52
+ \newcommand{\rd}{{\textnormal{d}}}
53
+ \newcommand{\re}{{\textnormal{e}}}
54
+ \newcommand{\rf}{{\textnormal{f}}}
55
+ \newcommand{\rg}{{\textnormal{g}}}
56
+ \newcommand{\rh}{{\textnormal{h}}}
57
+ \newcommand{\ri}{{\textnormal{i}}}
58
+ \newcommand{\rj}{{\textnormal{j}}}
59
+ \newcommand{\rk}{{\textnormal{k}}}
60
+ \newcommand{\rl}{{\textnormal{l}}}
61
+ % rm is already a command, just don't name any random variables m
62
+ \newcommand{\rmm}{{\textnormal{m}}}
63
+ \newcommand{\rn}{{\textnormal{n}}}
64
+ \newcommand{\ro}{{\textnormal{o}}}
65
+ \newcommand{\rp}{{\textnormal{p}}}
66
+ % rq is already a command, just don't name any random variables q
67
+ \newcommand{\rqq}{{\textnormal{q}}}
68
+ \newcommand{\rr}{{\textnormal{r}}}
69
+ \newcommand{\rs}{{\textnormal{s}}}
70
+ \newcommand{\rt}{{\textnormal{t}}}
71
+ \newcommand{\ru}{{\textnormal{u}}}
72
+ \newcommand{\rv}{{\textnormal{v}}}
73
+ \newcommand{\rw}{{\textnormal{w}}}
74
+ \newcommand{\rx}{{\textnormal{x}}}
75
+ \newcommand{\ry}{{\textnormal{y}}}
76
+ \newcommand{\rz}{{\textnormal{z}}}
77
+
78
+ % Random vectors % Elements of random vectors % Random matrices % Elements of random matrices
79
+ \newcommand{\rva}{{\mathbf{a}}} \newcommand{\erva}{{\textnormal{a}}} \newcommand{\rmA}{{\mathbf{A}}} \newcommand{\ermA}{{\textnormal{A}}}
80
+ \newcommand{\rvb}{{\mathbf{b}}} \newcommand{\ervb}{{\textnormal{b}}} \newcommand{\rmB}{{\mathbf{B}}} \newcommand{\ermB}{{\textnormal{B}}}
81
+ \newcommand{\rvc}{{\mathbf{c}}} \newcommand{\ervc}{{\textnormal{c}}} \newcommand{\rmC}{{\mathbf{C}}} \newcommand{\ermC}{{\textnormal{C}}}
82
+ \newcommand{\rvd}{{\mathbf{d}}} \newcommand{\ervd}{{\textnormal{d}}} \newcommand{\rmD}{{\mathbf{D}}} \newcommand{\ermD}{{\textnormal{D}}}
83
+ \newcommand{\rve}{{\mathbf{e}}} \newcommand{\erve}{{\textnormal{e}}} \newcommand{\rmE}{{\mathbf{E}}} \newcommand{\ermE}{{\textnormal{E}}}
84
+ \newcommand{\rvf}{{\mathbf{f}}} \newcommand{\ervf}{{\textnormal{f}}} \newcommand{\rmF}{{\mathbf{F}}} \newcommand{\ermF}{{\textnormal{F}}}
85
+ \newcommand{\rvg}{{\mathbf{g}}} \newcommand{\ervg}{{\textnormal{g}}} \newcommand{\rmG}{{\mathbf{G}}} \newcommand{\ermG}{{\textnormal{G}}}
86
+ \newcommand{\rvh}{{\mathbf{h}}} \newcommand{\ervh}{{\textnormal{h}}} \newcommand{\rmH}{{\mathbf{H}}} \newcommand{\ermH}{{\textnormal{H}}}
87
+ \newcommand{\rvi}{{\mathbf{i}}} \newcommand{\ervi}{{\textnormal{i}}} \newcommand{\rmI}{{\mathbf{I}}} \newcommand{\ermI}{{\textnormal{I}}}
88
+ \newcommand{\rvj}{{\mathbf{j}}} \newcommand{\ervj}{{\textnormal{j}}} \newcommand{\rmJ}{{\mathbf{J}}} \newcommand{\ermJ}{{\textnormal{J}}}
89
+ \newcommand{\rvk}{{\mathbf{k}}} \newcommand{\ervk}{{\textnormal{k}}} \newcommand{\rmK}{{\mathbf{K}}} \newcommand{\ermK}{{\textnormal{K}}}
90
+ \newcommand{\rvl}{{\mathbf{l}}} \newcommand{\ervl}{{\textnormal{l}}} \newcommand{\rmL}{{\mathbf{L}}} \newcommand{\ermL}{{\textnormal{L}}}
91
+ \newcommand{\rvm}{{\mathbf{m}}} \newcommand{\ervm}{{\textnormal{m}}} \newcommand{\rmM}{{\mathbf{M}}} \newcommand{\ermM}{{\textnormal{M}}}
92
+ \newcommand{\rvn}{{\mathbf{n}}} \newcommand{\ervn}{{\textnormal{n}}} \newcommand{\rmN}{{\mathbf{N}}} \newcommand{\ermN}{{\textnormal{N}}}
93
+ \newcommand{\rvo}{{\mathbf{o}}} \newcommand{\ervo}{{\textnormal{o}}} \newcommand{\rmO}{{\mathbf{O}}} \newcommand{\ermO}{{\textnormal{O}}}
94
+ \newcommand{\rvp}{{\mathbf{p}}} \newcommand{\ervp}{{\textnormal{p}}} \newcommand{\rmP}{{\mathbf{P}}} \newcommand{\ermP}{{\textnormal{P}}}
95
+ \newcommand{\rvq}{{\mathbf{q}}} \newcommand{\ervq}{{\textnormal{q}}} \newcommand{\rmQ}{{\mathbf{Q}}} \newcommand{\ermQ}{{\textnormal{Q}}}
96
+ \newcommand{\rvr}{{\mathbf{r}}} \newcommand{\ervr}{{\textnormal{r}}} \newcommand{\rmR}{{\mathbf{R}}} \newcommand{\ermR}{{\textnormal{R}}}
97
+ \newcommand{\rvs}{{\mathbf{s}}} \newcommand{\ervs}{{\textnormal{s}}} \newcommand{\rmS}{{\mathbf{S}}} \newcommand{\ermS}{{\textnormal{S}}}
98
+ \newcommand{\rvt}{{\mathbf{t}}} \newcommand{\ervt}{{\textnormal{t}}} \newcommand{\rmT}{{\mathbf{T}}} \newcommand{\ermT}{{\textnormal{T}}}
99
+ \newcommand{\rvu}{{\mathbf{u}}} \newcommand{\ervu}{{\textnormal{u}}} \newcommand{\rmU}{{\mathbf{U}}} \newcommand{\ermU}{{\textnormal{U}}}
100
+ \newcommand{\rvv}{{\mathbf{v}}} \newcommand{\ervv}{{\textnormal{v}}} \newcommand{\rmV}{{\mathbf{V}}} \newcommand{\ermV}{{\textnormal{V}}}
101
+ \newcommand{\rvw}{{\mathbf{w}}} \newcommand{\ervw}{{\textnormal{w}}} \newcommand{\rmW}{{\mathbf{W}}} \newcommand{\ermW}{{\textnormal{W}}}
102
+ \newcommand{\rvx}{{\mathbf{x}}} \newcommand{\ervx}{{\textnormal{x}}} \newcommand{\rmX}{{\mathbf{X}}} \newcommand{\ermX}{{\textnormal{X}}}
103
+ \newcommand{\rvy}{{\mathbf{y}}} \newcommand{\ervy}{{\textnormal{y}}} \newcommand{\rmY}{{\mathbf{Y}}} \newcommand{\ermY}{{\textnormal{Y}}}
104
+ \newcommand{\rvz}{{\mathbf{z}}} \newcommand{\ervz}{{\textnormal{z}}} \newcommand{\rmZ}{{\mathbf{Z}}} \newcommand{\ermZ}{{\textnormal{Z}}}
105
+
106
+ % Don't use a set called E, because this would be the same as our symbol for expectation.
107
+ % Set % Graph
108
+ \newcommand{\sA}{{\mathbb{A}}} \newcommand{\gA}{{\mathcal{A}}}
109
+ \newcommand{\sB}{{\mathbb{B}}} \newcommand{\gB}{{\mathcal{B}}}
110
+ \newcommand{\sC}{{\mathbb{C}}} \newcommand{\gC}{{\mathcal{C}}}
111
+ \newcommand{\sD}{{\mathbb{D}}} \newcommand{\gD}{{\mathcal{D}}}
112
+ \newcommand{\sE}{{\mathbb{E}}} \newcommand{\gE}{{\mathcal{E}}}
113
+ \newcommand{\sF}{{\mathbb{F}}} \newcommand{\gF}{{\mathcal{F}}}
114
+ \newcommand{\sG}{{\mathbb{G}}} \newcommand{\gG}{{\mathcal{G}}}
115
+ \newcommand{\sH}{{\mathbb{H}}} \newcommand{\gH}{{\mathcal{H}}}
116
+ \newcommand{\sI}{{\mathbb{I}}} \newcommand{\gI}{{\mathcal{I}}}
117
+ \newcommand{\sJ}{{\mathbb{J}}} \newcommand{\gJ}{{\mathcal{J}}}
118
+ \newcommand{\sK}{{\mathbb{K}}} \newcommand{\gK}{{\mathcal{K}}}
119
+ \newcommand{\sL}{{\mathbb{L}}} \newcommand{\gL}{{\mathcal{L}}}
120
+ \newcommand{\sM}{{\mathbb{M}}} \newcommand{\gM}{{\mathcal{M}}}
121
+ \newcommand{\sN}{{\mathbb{N}}} \newcommand{\gN}{{\mathcal{N}}}
122
+ \newcommand{\sO}{{\mathbb{O}}} \newcommand{\gO}{{\mathcal{O}}}
123
+ \newcommand{\sP}{{\mathbb{P}}} \newcommand{\gP}{{\mathcal{P}}}
124
+ \newcommand{\sQ}{{\mathbb{Q}}} \newcommand{\gQ}{{\mathcal{Q}}}
125
+ \newcommand{\sR}{{\mathbb{R}}} \newcommand{\gR}{{\mathcal{R}}}
126
+ \newcommand{\sS}{{\mathbb{S}}} \newcommand{\gS}{{\mathcal{S}}}
127
+ \newcommand{\sT}{{\mathbb{T}}} \newcommand{\gT}{{\mathcal{T}}}
128
+ \newcommand{\sU}{{\mathbb{U}}} \newcommand{\gU}{{\mathcal{U}}}
129
+ \newcommand{\sV}{{\mathbb{V}}} \newcommand{\gV}{{\mathcal{V}}}
130
+ \newcommand{\sW}{{\mathbb{W}}} \newcommand{\gW}{{\mathcal{W}}}
131
+ \newcommand{\sX}{{\mathbb{X}}} \newcommand{\gX}{{\mathcal{X}}}
132
+ \newcommand{\sY}{{\mathbb{Y}}} \newcommand{\gY}{{\mathcal{Y}}}
133
+ \newcommand{\sZ}{{\mathbb{Z}}} \newcommand{\gZ}{{\mathcal{Z}}}
134
+
135
+ % Tensor
136
+ \newcommand{\tens}[1]{\bm{\mathsfit{#1}}} % Tensor
137
+ \newcommand{\etens}[1]{\mathsfit{#1}} % Same font as tensor, without \bm wrapper
138
+ % Tensor % Entries of a tensor
139
+ \newcommand{\tA}{{\tens{A}}} \newcommand{\etA}{{\etens{A}}}
140
+ \newcommand{\tB}{{\tens{B}}} \newcommand{\etB}{{\etens{B}}}
141
+ \newcommand{\tC}{{\tens{C}}} \newcommand{\etC}{{\etens{C}}}
142
+ \newcommand{\tD}{{\tens{D}}} \newcommand{\etD}{{\etens{D}}}
143
+ \newcommand{\tE}{{\tens{E}}} \newcommand{\etE}{{\etens{E}}}
144
+ \newcommand{\tF}{{\tens{F}}} \newcommand{\etF}{{\etens{F}}}
145
+ \newcommand{\tG}{{\tens{G}}} \newcommand{\etG}{{\etens{G}}}
146
+ \newcommand{\tH}{{\tens{H}}} \newcommand{\etH}{{\etens{H}}}
147
+ \newcommand{\tI}{{\tens{I}}} \newcommand{\etI}{{\etens{I}}}
148
+ \newcommand{\tJ}{{\tens{J}}} \newcommand{\etJ}{{\etens{J}}}
149
+ \newcommand{\tK}{{\tens{K}}} \newcommand{\etK}{{\etens{K}}}
150
+ \newcommand{\tL}{{\tens{L}}} \newcommand{\etL}{{\etens{L}}}
151
+ \newcommand{\tM}{{\tens{M}}} \newcommand{\etM}{{\etens{M}}}
152
+ \newcommand{\tN}{{\tens{N}}} \newcommand{\etN}{{\etens{N}}}
153
+ \newcommand{\tO}{{\tens{O}}} \newcommand{\etO}{{\etens{O}}}
154
+ \newcommand{\tP}{{\tens{P}}} \newcommand{\etP}{{\etens{P}}}
155
+ \newcommand{\tQ}{{\tens{Q}}} \newcommand{\etQ}{{\etens{Q}}}
156
+ \newcommand{\tR}{{\tens{R}}} \newcommand{\etR}{{\etens{R}}}
157
+ \newcommand{\tS}{{\tens{S}}} \newcommand{\etS}{{\etens{S}}}
158
+ \newcommand{\tT}{{\tens{T}}} \newcommand{\etT}{{\etens{T}}}
159
+ \newcommand{\tU}{{\tens{U}}} \newcommand{\etU}{{\etens{U}}}
160
+ \newcommand{\tV}{{\tens{V}}} \newcommand{\etV}{{\etens{V}}}
161
+ \newcommand{\tW}{{\tens{W}}} \newcommand{\etW}{{\etens{W}}}
162
+ \newcommand{\tX}{{\tens{X}}} \newcommand{\etX}{{\etens{X}}}
163
+ \newcommand{\tY}{{\tens{Y}}} \newcommand{\etY}{{\etens{Y}}}
164
+ \newcommand{\tZ}{{\tens{Z}}} \newcommand{\etZ}{{\etens{Z}}}
165
+
166
+ %%%-------------------------------------------------------------------------%%%
167
+ %% Optional command from author.
168
+
169
+ % textnormal = $\text{}$
170
+ \newcommand{\tnla}{{\textnormal{a}}} \newcommand{\tnlA}{{\textnormal{A}}}
171
+ \newcommand{\tnlb}{{\textnormal{b}}} \newcommand{\tnlB}{{\textnormal{B}}}
172
+ \newcommand{\tnlc}{{\textnormal{c}}} \newcommand{\tnlC}{{\textnormal{C}}}
173
+ \newcommand{\tnld}{{\textnormal{d}}} \newcommand{\tnlD}{{\textnormal{D}}}
174
+ \newcommand{\tnle}{{\textnormal{e}}} \newcommand{\tnlE}{{\textnormal{E}}}
175
+ \newcommand{\tnlf}{{\textnormal{f}}} \newcommand{\tnlF}{{\textnormal{F}}}
176
+ \newcommand{\tnlg}{{\textnormal{g}}} \newcommand{\tnlG}{{\textnormal{G}}}
177
+ \newcommand{\tnlh}{{\textnormal{h}}} \newcommand{\tnlH}{{\textnormal{H}}}
178
+ \newcommand{\tnli}{{\textnormal{i}}} \newcommand{\tnlI}{{\textnormal{I}}}
179
+ \newcommand{\tnlj}{{\textnormal{j}}} \newcommand{\tnlJ}{{\textnormal{J}}}
180
+ \newcommand{\tnlk}{{\textnormal{k}}} \newcommand{\tnlK}{{\textnormal{K}}}
181
+ \newcommand{\tnll}{{\textnormal{l}}} \newcommand{\tnlL}{{\textnormal{L}}}
182
+ \newcommand{\tnlm}{{\textnormal{m}}} \newcommand{\tnlM}{{\textnormal{M}}}
183
+ \newcommand{\tnln}{{\textnormal{n}}} \newcommand{\tnlN}{{\textnormal{N}}}
184
+ \newcommand{\tnlo}{{\textnormal{o}}} \newcommand{\tnlO}{{\textnormal{O}}}
185
+ \newcommand{\tnlp}{{\textnormal{p}}} \newcommand{\tnlP}{{\textnormal{P}}}
186
+ \newcommand{\tnlq}{{\textnormal{q}}} \newcommand{\tnlQ}{{\textnormal{Q}}}
187
+ \newcommand{\tnlr}{{\textnormal{r}}} \newcommand{\tnlR}{{\textnormal{R}}}
188
+ \newcommand{\tnls}{{\textnormal{s}}} \newcommand{\tnlS}{{\textnormal{S}}}
189
+ \newcommand{\tnlt}{{\textnormal{t}}} \newcommand{\tnlT}{{\textnormal{T}}}
190
+ \newcommand{\tnlu}{{\textnormal{u}}} \newcommand{\tnlU}{{\textnormal{U}}}
191
+ \newcommand{\tnlv}{{\textnormal{v}}} \newcommand{\tnlV}{{\textnormal{V}}}
192
+ \newcommand{\tnlw}{{\textnormal{w}}} \newcommand{\tnlW}{{\textnormal{W}}}
193
+ \newcommand{\tnlx}{{\textnormal{x}}} \newcommand{\tnlX}{{\textnormal{X}}}
194
+ \newcommand{\tnly}{{\textnormal{y}}} \newcommand{\tnlY}{{\textnormal{Y}}}
195
+ \newcommand{\tnlz}{{\textnormal{z}}} \newcommand{\tnlZ}{{\textnormal{Z}}}
196
+
197
+ % mathnormal = $$
198
+ \newcommand{\mnla}{{\mathnormal{a}}} \newcommand{\mnlA}{{\mathnormal{A}}}
199
+ \newcommand{\mnlb}{{\mathnormal{b}}} \newcommand{\mnlB}{{\mathnormal{B}}}
200
+ \newcommand{\mnlc}{{\mathnormal{c}}} \newcommand{\mnlC}{{\mathnormal{C}}}
201
+ \newcommand{\mnld}{{\mathnormal{d}}} \newcommand{\mnlD}{{\mathnormal{D}}}
202
+ \newcommand{\mnle}{{\mathnormal{e}}} \newcommand{\mnlE}{{\mathnormal{E}}}
203
+ \newcommand{\mnlf}{{\mathnormal{f}}} \newcommand{\mnlF}{{\mathnormal{F}}}
204
+ \newcommand{\mnlg}{{\mathnormal{g}}} \newcommand{\mnlG}{{\mathnormal{G}}}
205
+ \newcommand{\mnlh}{{\mathnormal{h}}} \newcommand{\mnlH}{{\mathnormal{H}}}
206
+ \newcommand{\mnli}{{\mathnormal{i}}} \newcommand{\mnlI}{{\mathnormal{I}}}
207
+ \newcommand{\mnlj}{{\mathnormal{j}}} \newcommand{\mnlJ}{{\mathnormal{J}}}
208
+ \newcommand{\mnlk}{{\mathnormal{k}}} \newcommand{\mnlK}{{\mathnormal{K}}}
209
+ \newcommand{\mnll}{{\mathnormal{l}}} \newcommand{\mnlL}{{\mathnormal{L}}}
210
+ \newcommand{\mnlm}{{\mathnormal{m}}} \newcommand{\mnlM}{{\mathnormal{M}}}
211
+ \newcommand{\mnln}{{\mathnormal{n}}} \newcommand{\mnlN}{{\mathnormal{N}}}
212
+ \newcommand{\mnlo}{{\mathnormal{o}}} \newcommand{\mnlO}{{\mathnormal{O}}}
213
+ \newcommand{\mnlp}{{\mathnormal{p}}} \newcommand{\mnlP}{{\mathnormal{P}}}
214
+ \newcommand{\mnlq}{{\mathnormal{q}}} \newcommand{\mnlQ}{{\mathnormal{Q}}}
215
+ \newcommand{\mnlr}{{\mathnormal{r}}} \newcommand{\mnlR}{{\mathnormal{R}}}
216
+ \newcommand{\mnls}{{\mathnormal{s}}} \newcommand{\mnlS}{{\mathnormal{S}}}
217
+ \newcommand{\mnlt}{{\mathnormal{t}}} \newcommand{\mnlT}{{\mathnormal{T}}}
218
+ \newcommand{\mnlu}{{\mathnormal{u}}} \newcommand{\mnlU}{{\mathnormal{U}}}
219
+ \newcommand{\mnlv}{{\mathnormal{v}}} \newcommand{\mnlV}{{\mathnormal{V}}}
220
+ \newcommand{\mnlw}{{\mathnormal{w}}} \newcommand{\mnlW}{{\mathnormal{W}}}
221
+ \newcommand{\mnlx}{{\mathnormal{x}}} \newcommand{\mnlX}{{\mathnormal{X}}}
222
+ \newcommand{\mnly}{{\mathnormal{y}}} \newcommand{\mnlY}{{\mathnormal{Y}}}
223
+ \newcommand{\mnlz}{{\mathnormal{z}}} \newcommand{\mnlZ}{{\mathnormal{Z}}}
224
+
225
+ % roman font
226
+ \newcommand{\mrma}{{\mathrm{a}}} \newcommand{\mrmA}{{\mathrm{A}}}
227
+ \newcommand{\mrmb}{{\mathrm{b}}} \newcommand{\mrmB}{{\mathrm{B}}}
228
+ \newcommand{\mrmc}{{\mathrm{c}}} \newcommand{\mrmC}{{\mathrm{C}}}
229
+ \newcommand{\mrmd}{{\mathrm{d}}} \newcommand{\mrmD}{{\mathrm{D}}}
230
+ \newcommand{\mrme}{{\mathrm{e}}} \newcommand{\mrmE}{{\mathrm{E}}}
231
+ \newcommand{\mrmf}{{\mathrm{f}}} \newcommand{\mrmF}{{\mathrm{F}}}
232
+ \newcommand{\mrmg}{{\mathrm{g}}} \newcommand{\mrmG}{{\mathrm{G}}}
233
+ \newcommand{\mrmh}{{\mathrm{h}}} \newcommand{\mrmH}{{\mathrm{H}}}
234
+ \newcommand{\mrmi}{{\mathrm{i}}} \newcommand{\mrmI}{{\mathrm{I}}}
235
+ \newcommand{\mrmj}{{\mathrm{j}}} \newcommand{\mrmJ}{{\mathrm{J}}}
236
+ \newcommand{\mrmk}{{\mathrm{k}}} \newcommand{\mrmK}{{\mathrm{K}}}
237
+ \newcommand{\mrml}{{\mathrm{l}}} \newcommand{\mrmL}{{\mathrm{L}}}
238
+ \newcommand{\mrmm}{{\mathrm{m}}} \newcommand{\mrmM}{{\mathrm{M}}}
239
+ \newcommand{\mrmn}{{\mathrm{n}}} \newcommand{\mrmN}{{\mathrm{N}}}
240
+ \newcommand{\mrmo}{{\mathrm{o}}} \newcommand{\mrmO}{{\mathrm{O}}}
241
+ \newcommand{\mrmp}{{\mathrm{p}}} \newcommand{\mrmP}{{\mathrm{P}}}
242
+ \newcommand{\mrmq}{{\mathrm{q}}} \newcommand{\mrmQ}{{\mathrm{Q}}}
243
+ \newcommand{\mrmr}{{\mathrm{r}}} \newcommand{\mrmR}{{\mathrm{R}}}
244
+ \newcommand{\mrms}{{\mathrm{s}}} \newcommand{\mrmS}{{\mathrm{S}}}
245
+ \newcommand{\mrmt}{{\mathrm{t}}} \newcommand{\mrmT}{{\mathrm{T}}}
246
+ \newcommand{\mrmu}{{\mathrm{u}}} \newcommand{\mrmU}{{\mathrm{U}}}
247
+ \newcommand{\mrmv}{{\mathrm{v}}} \newcommand{\mrmV}{{\mathrm{V}}}
248
+ \newcommand{\mrmw}{{\mathrm{w}}} \newcommand{\mrmW}{{\mathrm{W}}}
249
+ \newcommand{\mrmx}{{\mathrm{x}}} \newcommand{\mrmX}{{\mathrm{X}}}
250
+ \newcommand{\mrmy}{{\mathrm{y}}} \newcommand{\mrmY}{{\mathrm{Y}}}
251
+ \newcommand{\mrmz}{{\mathrm{z}}} \newcommand{\mrmZ}{{\mathrm{Z}}}
252
+
253
+ % Bold roman font
254
+ \newcommand{\mbfa}{{\mathbf{a}}} \newcommand{\mbfA}{{\mathbf{A}}}
255
+ \newcommand{\mbfb}{{\mathbf{b}}} \newcommand{\mbfB}{{\mathbf{B}}}
256
+ \newcommand{\mbfc}{{\mathbf{c}}} \newcommand{\mbfC}{{\mathbf{C}}}
257
+ \newcommand{\mbfd}{{\mathbf{d}}} \newcommand{\mbfD}{{\mathbf{D}}}
258
+ \newcommand{\mbfe}{{\mathbf{e}}} \newcommand{\mbfE}{{\mathbf{E}}}
259
+ \newcommand{\mbff}{{\mathbf{f}}} \newcommand{\mbfF}{{\mathbf{F}}}
260
+ \newcommand{\mbfg}{{\mathbf{g}}} \newcommand{\mbfG}{{\mathbf{G}}}
261
+ \newcommand{\mbfh}{{\mathbf{h}}} \newcommand{\mbfH}{{\mathbf{H}}}
262
+ \newcommand{\mbfi}{{\mathbf{i}}} \newcommand{\mbfI}{{\mathbf{I}}}
263
+ \newcommand{\mbfj}{{\mathbf{j}}} \newcommand{\mbfJ}{{\mathbf{J}}}
264
+ \newcommand{\mbfk}{{\mathbf{k}}} \newcommand{\mbfK}{{\mathbf{K}}}
265
+ \newcommand{\mbfl}{{\mathbf{l}}} \newcommand{\mbfL}{{\mathbf{L}}}
266
+ \newcommand{\mbfm}{{\mathbf{m}}} \newcommand{\mbfM}{{\mathbf{M}}}
267
+ \newcommand{\mbfn}{{\mathbf{n}}} \newcommand{\mbfN}{{\mathbf{N}}}
268
+ \newcommand{\mbfo}{{\mathbf{o}}} \newcommand{\mbfO}{{\mathbf{O}}}
269
+ \newcommand{\mbfp}{{\mathbf{p}}} \newcommand{\mbfP}{{\mathbf{P}}}
270
+ \newcommand{\mbfq}{{\mathbf{q}}} \newcommand{\mbfQ}{{\mathbf{Q}}}
271
+ \newcommand{\mbfr}{{\mathbf{r}}} \newcommand{\mbfR}{{\mathbf{R}}}
272
+ \newcommand{\mbfs}{{\mathbf{s}}} \newcommand{\mbfS}{{\mathbf{S}}}
273
+ \newcommand{\mbft}{{\mathbf{t}}} \newcommand{\mbfT}{{\mathbf{T}}}
274
+ \newcommand{\mbfu}{{\mathbf{u}}} \newcommand{\mbfU}{{\mathbf{U}}}
275
+ \newcommand{\mbfv}{{\mathbf{v}}} \newcommand{\mbfV}{{\mathbf{V}}}
276
+ \newcommand{\mbfw}{{\mathbf{w}}} \newcommand{\mbfW}{{\mathbf{W}}}
277
+ \newcommand{\mbfx}{{\mathbf{x}}} \newcommand{\mbfX}{{\mathbf{X}}}
278
+ \newcommand{\mbfy}{{\mathbf{y}}} \newcommand{\mbfY}{{\mathbf{Y}}}
279
+ \newcommand{\mbfz}{{\mathbf{z}}} \newcommand{\mbfZ}{{\mathbf{Z}}}
280
+
281
+ % sans serif font
282
+ \newcommand{\msfa}{{\mathsf{a}}} \newcommand{\msfA}{{\mathsf{A}}}
283
+ \newcommand{\msfb}{{\mathsf{b}}} \newcommand{\msfB}{{\mathsf{B}}}
284
+ \newcommand{\msfc}{{\mathsf{c}}} \newcommand{\msfC}{{\mathsf{C}}}
285
+ \newcommand{\msfd}{{\mathsf{d}}} \newcommand{\msfD}{{\mathsf{D}}}
286
+ \newcommand{\msfe}{{\mathsf{e}}} \newcommand{\msfE}{{\mathsf{E}}}
287
+ \newcommand{\msff}{{\mathsf{f}}} \newcommand{\msfF}{{\mathsf{F}}}
288
+ \newcommand{\msfg}{{\mathsf{g}}} \newcommand{\msfG}{{\mathsf{G}}}
289
+ \newcommand{\msfh}{{\mathsf{h}}} \newcommand{\msfH}{{\mathsf{H}}}
290
+ \newcommand{\msfi}{{\mathsf{i}}} \newcommand{\msfI}{{\mathsf{I}}}
291
+ \newcommand{\msfj}{{\mathsf{j}}} \newcommand{\msfJ}{{\mathsf{J}}}
292
+ \newcommand{\msfk}{{\mathsf{k}}} \newcommand{\msfK}{{\mathsf{K}}}
293
+ \newcommand{\msfl}{{\mathsf{l}}} \newcommand{\msfL}{{\mathsf{L}}}
294
+ \newcommand{\msfm}{{\mathsf{m}}} \newcommand{\msfM}{{\mathsf{M}}}
295
+ \newcommand{\msfn}{{\mathsf{n}}} \newcommand{\msfN}{{\mathsf{N}}}
296
+ \newcommand{\msfo}{{\mathsf{o}}} \newcommand{\msfO}{{\mathsf{O}}}
297
+ \newcommand{\msfp}{{\mathsf{p}}} \newcommand{\msfP}{{\mathsf{P}}}
298
+ \newcommand{\msfq}{{\mathsf{q}}} \newcommand{\msfQ}{{\mathsf{Q}}}
299
+ \newcommand{\msfr}{{\mathsf{r}}} \newcommand{\msfR}{{\mathsf{R}}}
300
+ \newcommand{\msfs}{{\mathsf{s}}} \newcommand{\msfS}{{\mathsf{S}}}
301
+ \newcommand{\msft}{{\mathsf{t}}} \newcommand{\msfT}{{\mathsf{T}}}
302
+ \newcommand{\msfu}{{\mathsf{u}}} \newcommand{\msfU}{{\mathsf{U}}}
303
+ \newcommand{\msfv}{{\mathsf{v}}} \newcommand{\msfV}{{\mathsf{V}}}
304
+ \newcommand{\msfw}{{\mathsf{w}}} \newcommand{\msfW}{{\mathsf{W}}}
305
+ \newcommand{\msfx}{{\mathsf{x}}} \newcommand{\msfX}{{\mathsf{X}}}
306
+ \newcommand{\msfy}{{\mathsf{y}}} \newcommand{\msfY}{{\mathsf{Y}}}
307
+ \newcommand{\msfz}{{\mathsf{z}}} \newcommand{\msfZ}{{\mathsf{Z}}}
308
+
309
+ % text italic font
310
+ \newcommand{\mita}{{\mathit{a}}} \newcommand{\mitA}{{\mathit{A}}}
311
+ \newcommand{\mitb}{{\mathit{b}}} \newcommand{\mitB}{{\mathit{B}}}
312
+ \newcommand{\mitc}{{\mathit{c}}} \newcommand{\mitC}{{\mathit{C}}}
313
+ \newcommand{\mitd}{{\mathit{d}}} \newcommand{\mitD}{{\mathit{D}}}
314
+ \newcommand{\mite}{{\mathit{e}}} \newcommand{\mitE}{{\mathit{E}}}
315
+ \newcommand{\mitf}{{\mathit{f}}} \newcommand{\mitF}{{\mathit{F}}}
316
+ \newcommand{\mitg}{{\mathit{g}}} \newcommand{\mitG}{{\mathit{G}}}
317
+ \newcommand{\mith}{{\mathit{h}}} \newcommand{\mitH}{{\mathit{H}}}
318
+ \newcommand{\miti}{{\mathit{i}}} \newcommand{\mitI}{{\mathit{I}}}
319
+ \newcommand{\mitj}{{\mathit{j}}} \newcommand{\mitJ}{{\mathit{J}}}
320
+ \newcommand{\mitk}{{\mathit{k}}} \newcommand{\mitK}{{\mathit{K}}}
321
+ \newcommand{\mitl}{{\mathit{l}}} \newcommand{\mitL}{{\mathit{L}}}
322
+ \newcommand{\mitm}{{\mathit{m}}} \newcommand{\mitM}{{\mathit{M}}}
323
+ \newcommand{\mitn}{{\mathit{n}}} \newcommand{\mitN}{{\mathit{N}}}
324
+ \newcommand{\mito}{{\mathit{o}}} \newcommand{\mitO}{{\mathit{O}}}
325
+ \newcommand{\mitp}{{\mathit{p}}} \newcommand{\mitP}{{\mathit{P}}}
326
+ \newcommand{\mitq}{{\mathit{q}}} \newcommand{\mitQ}{{\mathit{Q}}}
327
+ \newcommand{\mitr}{{\mathit{r}}} \newcommand{\mitR}{{\mathit{R}}}
328
+ \newcommand{\mits}{{\mathit{s}}} \newcommand{\mitS}{{\mathit{S}}}
329
+ \newcommand{\mitt}{{\mathit{t}}} \newcommand{\mitT}{{\mathit{T}}}
330
+ \newcommand{\mitu}{{\mathit{u}}} \newcommand{\mitU}{{\mathit{U}}}
331
+ \newcommand{\mitv}{{\mathit{v}}} \newcommand{\mitV}{{\mathit{V}}}
332
+ \newcommand{\mitw}{{\mathit{w}}} \newcommand{\mitW}{{\mathit{W}}}
333
+ \newcommand{\mitx}{{\mathit{x}}} \newcommand{\mitX}{{\mathit{X}}}
334
+ \newcommand{\mity}{{\mathit{y}}} \newcommand{\mitY}{{\mathit{Y}}}
335
+ \newcommand{\mitz}{{\mathit{z}}} \newcommand{\mitZ}{{\mathit{Z}}}
336
+
337
+ % typewriter font
338
+ \newcommand{\mtta}{{\mathtt{a}}} \newcommand{\mttA}{{\mathtt{A}}}
339
+ \newcommand{\mttb}{{\mathtt{b}}} \newcommand{\mttB}{{\mathtt{B}}}
340
+ \newcommand{\mttc}{{\mathtt{c}}} \newcommand{\mttC}{{\mathtt{C}}}
341
+ \newcommand{\mttd}{{\mathtt{d}}} \newcommand{\mttD}{{\mathtt{D}}}
342
+ \newcommand{\mtte}{{\mathtt{e}}} \newcommand{\mttE}{{\mathtt{E}}}
343
+ \newcommand{\mttf}{{\mathtt{f}}} \newcommand{\mttF}{{\mathtt{F}}}
344
+ \newcommand{\mttg}{{\mathtt{g}}} \newcommand{\mttG}{{\mathtt{G}}}
345
+ \newcommand{\mtth}{{\mathtt{h}}} \newcommand{\mttH}{{\mathtt{H}}}
346
+ \newcommand{\mtti}{{\mathtt{i}}} \newcommand{\mttI}{{\mathtt{I}}}
347
+ \newcommand{\mttj}{{\mathtt{j}}} \newcommand{\mttJ}{{\mathtt{J}}}
348
+ \newcommand{\mttk}{{\mathtt{k}}} \newcommand{\mttK}{{\mathtt{K}}}
349
+ \newcommand{\mttl}{{\mathtt{l}}} \newcommand{\mttL}{{\mathtt{L}}}
350
+ \newcommand{\mttm}{{\mathtt{m}}} \newcommand{\mttM}{{\mathtt{M}}}
351
+ \newcommand{\mttn}{{\mathtt{n}}} \newcommand{\mttN}{{\mathtt{N}}}
352
+ \newcommand{\mtto}{{\mathtt{o}}} \newcommand{\mttO}{{\mathtt{O}}}
353
+ \newcommand{\mttp}{{\mathtt{p}}} \newcommand{\mttP}{{\mathtt{P}}}
354
+ \newcommand{\mttq}{{\mathtt{q}}} \newcommand{\mttQ}{{\mathtt{Q}}}
355
+ \newcommand{\mttr}{{\mathtt{r}}} \newcommand{\mttR}{{\mathtt{R}}}
356
+ \newcommand{\mtts}{{\mathtt{s}}} \newcommand{\mttS}{{\mathtt{S}}}
357
+ \newcommand{\mttt}{{\mathtt{t}}} \newcommand{\mttT}{{\mathtt{T}}}
358
+ \newcommand{\mttu}{{\mathtt{u}}} \newcommand{\mttU}{{\mathtt{U}}}
359
+ \newcommand{\mttv}{{\mathtt{v}}} \newcommand{\mttV}{{\mathtt{V}}}
360
+ \newcommand{\mttw}{{\mathtt{w}}} \newcommand{\mttW}{{\mathtt{W}}}
361
+ \newcommand{\mttx}{{\mathtt{x}}} \newcommand{\mttX}{{\mathtt{X}}}
362
+ \newcommand{\mtty}{{\mathtt{y}}} \newcommand{\mttY}{{\mathtt{Y}}}
363
+ \newcommand{\mttz}{{\mathtt{z}}} \newcommand{\mttZ}{{\mathtt{Z}}}
364
+
365
+ % fraktur font
366
+ \newcommand{\mfraka}{{\mathfrak{a}}} \newcommand{\mfrakA}{{\mathfrak{A}}}
367
+ \newcommand{\mfrakb}{{\mathfrak{b}}} \newcommand{\mfrakB}{{\mathfrak{B}}}
368
+ \newcommand{\mfrakc}{{\mathfrak{c}}} \newcommand{\mfrakC}{{\mathfrak{C}}}
369
+ \newcommand{\mfrakd}{{\mathfrak{d}}} \newcommand{\mfrakD}{{\mathfrak{D}}}
370
+ \newcommand{\mfrake}{{\mathfrak{e}}} \newcommand{\mfrakE}{{\mathfrak{E}}}
371
+ \newcommand{\mfrakf}{{\mathfrak{f}}} \newcommand{\mfrakF}{{\mathfrak{F}}}
372
+ \newcommand{\mfrakg}{{\mathfrak{g}}} \newcommand{\mfrakG}{{\mathfrak{G}}}
373
+ \newcommand{\mfrakh}{{\mathfrak{h}}} \newcommand{\mfrakH}{{\mathfrak{H}}}
374
+ \newcommand{\mfraki}{{\mathfrak{i}}} \newcommand{\mfrakI}{{\mathfrak{I}}}
375
+ \newcommand{\mfrakj}{{\mathfrak{j}}} \newcommand{\mfrakJ}{{\mathfrak{J}}}
376
+ \newcommand{\mfrakk}{{\mathfrak{k}}} \newcommand{\mfrakK}{{\mathfrak{K}}}
377
+ \newcommand{\mfrakl}{{\mathfrak{l}}} \newcommand{\mfrakL}{{\mathfrak{L}}}
378
+ \newcommand{\mfrakm}{{\mathfrak{m}}} \newcommand{\mfrakM}{{\mathfrak{M}}}
379
+ \newcommand{\mfrakn}{{\mathfrak{n}}} \newcommand{\mfrakN}{{\mathfrak{N}}}
380
+ \newcommand{\mfrako}{{\mathfrak{o}}} \newcommand{\mfrakO}{{\mathfrak{O}}}
381
+ \newcommand{\mfrakp}{{\mathfrak{p}}} \newcommand{\mfrakP}{{\mathfrak{P}}}
382
+ \newcommand{\mfrakq}{{\mathfrak{q}}} \newcommand{\mfrakQ}{{\mathfrak{Q}}}
383
+ \newcommand{\mfrakr}{{\mathfrak{r}}} \newcommand{\mfrakR}{{\mathfrak{R}}}
384
+ \newcommand{\mfraks}{{\mathfrak{s}}} \newcommand{\mfrakS}{{\mathfrak{S}}}
385
+ \newcommand{\mfrakt}{{\mathfrak{t}}} \newcommand{\mfrakT}{{\mathfrak{T}}}
386
+ \newcommand{\mfraku}{{\mathfrak{u}}} \newcommand{\mfrakU}{{\mathfrak{U}}}
387
+ \newcommand{\mfrakv}{{\mathfrak{v}}} \newcommand{\mfrakV}{{\mathfrak{V}}}
388
+ \newcommand{\mfrakw}{{\mathfrak{w}}} \newcommand{\mfrakW}{{\mathfrak{W}}}
389
+ \newcommand{\mfrakx}{{\mathfrak{x}}} \newcommand{\mfrakX}{{\mathfrak{X}}}
390
+ \newcommand{\mfraky}{{\mathfrak{y}}} \newcommand{\mfrakY}{{\mathfrak{Y}}}
391
+ \newcommand{\mfrakz}{{\mathfrak{z}}} \newcommand{\mfrakZ}{{\mathfrak{Z}}}
392
+
393
+ % Set % Graph % Group (Algebra)
394
+ \newcommand{\mbbA}{{\mathbb{A}}} \newcommand{\mcalA}{{\mathcal{A}}} \newcommand{\mscrA}{{\mathscr{A}}}
395
+ \newcommand{\mbbB}{{\mathbb{B}}} \newcommand{\mcalB}{{\mathcal{B}}} \newcommand{\mscrB}{{\mathscr{B}}}
396
+ \newcommand{\mbbC}{{\mathbb{C}}} \newcommand{\mcalC}{{\mathcal{C}}} \newcommand{\mscrC}{{\mathscr{C}}}
397
+ \newcommand{\mbbD}{{\mathbb{D}}} \newcommand{\mcalD}{{\mathcal{D}}} \newcommand{\mscrD}{{\mathscr{D}}}
398
+ \newcommand{\mbbE}{{\mathbb{E}}} \newcommand{\mcalE}{{\mathcal{E}}} \newcommand{\mscrE}{{\mathscr{E}}}
399
+ \newcommand{\mbbF}{{\mathbb{F}}} \newcommand{\mcalF}{{\mathcal{F}}} \newcommand{\mscrF}{{\mathscr{F}}}
400
+ \newcommand{\mbbG}{{\mathbb{G}}} \newcommand{\mcalG}{{\mathcal{G}}} \newcommand{\mscrG}{{\mathscr{G}}}
401
+ \newcommand{\mbbH}{{\mathbb{H}}} \newcommand{\mcalH}{{\mathcal{H}}} \newcommand{\mscrH}{{\mathscr{H}}}
402
+ \newcommand{\mbbI}{{\mathbb{I}}} \newcommand{\mcalI}{{\mathcal{I}}} \newcommand{\mscrI}{{\mathscr{I}}}
403
+ \newcommand{\mbbJ}{{\mathbb{J}}} \newcommand{\mcalJ}{{\mathcal{J}}} \newcommand{\mscrJ}{{\mathscr{J}}}
404
+ \newcommand{\mbbK}{{\mathbb{K}}} \newcommand{\mcalK}{{\mathcal{K}}} \newcommand{\mscrK}{{\mathscr{K}}}
405
+ \newcommand{\mbbL}{{\mathbb{L}}} \newcommand{\mcalL}{{\mathcal{L}}} \newcommand{\mscrL}{{\mathscr{L}}}
406
+ \newcommand{\mbbM}{{\mathbb{M}}} \newcommand{\mcalM}{{\mathcal{M}}} \newcommand{\mscrM}{{\mathscr{M}}}
407
+ \newcommand{\mbbN}{{\mathbb{N}}} \newcommand{\mcalN}{{\mathcal{N}}} \newcommand{\mscrN}{{\mathscr{N}}}
408
+ \newcommand{\mbbO}{{\mathbb{O}}} \newcommand{\mcalO}{{\mathcal{O}}} \newcommand{\mscrO}{{\mathscr{O}}}
409
+ \newcommand{\mbbP}{{\mathbb{P}}} \newcommand{\mcalP}{{\mathcal{P}}} \newcommand{\mscrP}{{\mathscr{P}}}
410
+ \newcommand{\mbbQ}{{\mathbb{Q}}} \newcommand{\mcalQ}{{\mathcal{Q}}} \newcommand{\mscrQ}{{\mathscr{Q}}}
411
+ \newcommand{\mbbR}{{\mathbb{R}}} \newcommand{\mcalR}{{\mathcal{R}}} \newcommand{\mscrR}{{\mathscr{R}}}
412
+ \newcommand{\mbbS}{{\mathbb{S}}} \newcommand{\mcalS}{{\mathcal{S}}} \newcommand{\mscrS}{{\mathscr{S}}}
413
+ \newcommand{\mbbT}{{\mathbb{T}}} \newcommand{\mcalT}{{\mathcal{T}}} \newcommand{\mscrT}{{\mathscr{T}}}
414
+ \newcommand{\mbbU}{{\mathbb{U}}} \newcommand{\mcalU}{{\mathcal{U}}} \newcommand{\mscrU}{{\mathscr{U}}}
415
+ \newcommand{\mbbV}{{\mathbb{V}}} \newcommand{\mcalV}{{\mathcal{V}}} \newcommand{\mscrV}{{\mathscr{V}}}
416
+ \newcommand{\mbbW}{{\mathbb{W}}} \newcommand{\mcalW}{{\mathcal{W}}} \newcommand{\mscrW}{{\mathscr{W}}}
417
+ \newcommand{\mbbX}{{\mathbb{X}}} \newcommand{\mcalX}{{\mathcal{X}}} \newcommand{\mscrX}{{\mathscr{X}}}
418
+ \newcommand{\mbbY}{{\mathbb{Y}}} \newcommand{\mcalY}{{\mathcal{Y}}} \newcommand{\mscrY}{{\mathscr{Y}}}
419
+ \newcommand{\mbbZ}{{\mathbb{Z}}} \newcommand{\mcalZ}{{\mathcal{Z}}} \newcommand{\mscrZ}{{\mathscr{Z}}}
420
+
421
+ %%%-------------------------------------------------------------------------%%%
422
+ %% Some commonly used cases
423
+ % Vectors
424
+ \newcommand{\vzero}{{\bm{0}}}
425
+ \newcommand{\vone}{{\bm{1}}}
426
+ \newcommand{\vmu}{{\bm{\mu}}}
427
+ \newcommand{\vtheta}{{\bm{\theta}}}
428
+ % Elements of vectors
429
+ \newcommand{\evalpha}{{\alpha}}
430
+ \newcommand{\evbeta}{{\beta}}
431
+ \newcommand{\evepsilon}{{\epsilon}}
432
+ \newcommand{\evlambda}{{\lambda}}
433
+ \newcommand{\evomega}{{\omega}}
434
+ \newcommand{\evmu}{{\mu}}
435
+ \newcommand{\evpsi}{{\psi}}
436
+ \newcommand{\evsigma}{{\sigma}}
437
+ \newcommand{\evtheta}{{\theta}}
438
+ % Matrix
439
+ \newcommand{\mBeta}{{\bm{\Beta}}}
440
+ \newcommand{\mPhi}{{\bm{\Phi}}}
441
+ \newcommand{\mLambda}{{\bm{\Lambda}}}
442
+ \newcommand{\mSigma}{{\bm{\Sigma}}}
443
+ % Entries of a matrix
444
+ \newcommand{\emLambda}{{\Lambda}}
445
+ \newcommand{\emSigma}{{\Sigma}}
446
+ % Random variables
447
+ \newcommand{\reta}{{\textnormal{\(\eta \)}}}
448
+ % Random vectors
449
+ \newcommand{\rvepsilon}{{\mathbf{\epsilon}}}
450
+ \newcommand{\rvtheta}{{\mathbf{\theta}}}
451
+ % Entries of a tensor
452
+ \newcommand{\etLambda}{{\etens{\Lambda}}}
453
+
454
+ %%%-------------------------------------------------------------------------%%%
455
+ %% function
456
+ \newcommand{\R}{{\mathbb{R}}} % domain
457
+
458
+ %% probability
459
+ \newcommand{\E}{{\mathbb{E}}} % expectation
460
+ \newcommand{\Var}{{\mathrm{Var}}} % variance
461
+ \newcommand{\Std}{{\mathrm{Std}}} % standard variance
462
+ \newcommand{\Cov}{{\mathrm{Cov}}} % covariance
463
+ \newcommand{\KL}{{D_{\mathrm{KL}}}} % KL divergence
464
+ \newcommand{\standarderror}{{\mathrm{SE}}} % standard error
465
+
466
+ %% norm
467
+ % Wolfram Mathworld says $L^2$ is for function spaces and $\ell^2$ is for vectors
468
+ % But then they seem to use $L^2$ for vectors throughout the site, and so does
469
+ % wikipedia.
470
+ \newcommand{\normLzero}{L^0}
471
+ \newcommand{\normLone}{L^1}
472
+ \newcommand{\normLtwo}{L^2}
473
+ \newcommand{\normLp}{L^p}
474
+ \newcommand{\normLinfty}{L^\infty}
475
+ \newcommand{\normlzero}{\ell^0}
476
+ \newcommand{\normlone}{\ell^1}
477
+ \newcommand{\normltwo}{\ell^2}
478
+ \newcommand{\normlp}{\ell^p}
479
+ \newcommand{\normlinfty}{\ell^\infty}
480
+
481
+ %% Number
482
+ \newcommand{\1}{{\bm{1}}}
483
+
484
+ %% other
485
+ \newcommand{\Ls}{{\mathcal{L}}}
486
+ \newcommand{\emp}{{\tilde{p}}}
487
+ \newcommand{\lr}{{\alpha}}
488
+ \newcommand{\reg}{{\lambda}}
489
+ \newcommand{\rect}{{\mathrm{rectifier}}}
490
+ \newcommand{\eps}{{\epsilon}}
491
+
492
+ %%%-------------------------------------------------------------------------%%%
493
+ %% Machine Learning
494
+ % The true underlying data generating distribution
495
+ \newcommand{\pdata}{{p_{\textrm{data}}}}
496
+ % The empirical distribution defined by the training set
497
+ \newcommand{\ptrain}{{\hat{p}_{\textrm{data}}}}
498
+ \newcommand{\Ptrain}{{\hat{P}_{\textrm{data}}}}
499
+ % The model distribution
500
+ \newcommand{\pmodel}{{p_{\textrm{model}}}}
501
+ \newcommand{\Pmodel}{{P_{\textrm{model}}}}
502
+ \newcommand{\ptildemodel}{{\tilde{p}_{\textrm{model}}}}
503
+ % Stochastic autoencoder distributions
504
+ \newcommand{\pencode}{{p_{\textrm{encoder}}}}
505
+ \newcommand{\pdecode}{{p_{\textrm{decoder}}}}
506
+ \newcommand{\precons}{{p_{\textrm{reconstruct}}}}
507
+ % Laplace distribution
508
+ \newcommand{\laplace}{{\mathrm{Laplace}}}
509
+ %
510
+ \newcommand{\train}{\mathcal{D}}
511
+ \newcommand{\valid}{\mathcal{D_{\mathrm{valid}}}}
512
+ \newcommand{\test}{\mathcal{D_{\mathrm{test}}}}
513
+ %
514
+ \newcommand{\parents}{Pa} % See usage in notation.tex. Chosen to match Daphne's book.
515
+ %
516
+ \newcommand{\softmax}{{\mathrm{softmax}}}
517
+ \newcommand{\sigmoid}{{\sigma}}
518
+ \newcommand{\softplus}{{\zeta}}
519
+
520
+ %%%-------------------------------------------------------------------------%%%
521
+ %% Mark sections of captions for referring to divisions of figures
522
+ \newcommand{\figleft}{{\em (Left)\/}}
523
+ \newcommand{\figcenter}{{\em (Center)\/}}
524
+ \newcommand{\figright}{{\em (Right)\/}}
525
+ \newcommand{\figtop}{{\em (Top)\/}}
526
+ \newcommand{\figbottom}{{\em (Bottom)\/}}
527
+ \newcommand{\captiona}{{\em (a)\/}}
528
+ \newcommand{\captionb}{{\em (b)\/}}
529
+ \newcommand{\captionc}{{\em (c)\/}}
530
+ \newcommand{\captiond}{{\em (d)\/}}
531
+
532
+ %%%-------------------------------------------------------------------------%%%
533
+ %% Figure, Table, Equation, Algorithm, Section, Chapter, Part
534
+
535
+ % ==================== FIGURE REFERENCES ====================
536
+ % Single figure reference (lowercase)
537
+ \providecommand{\onefigref}[1]{\hyperref[#1]{figure~\ref*{#1}}}
538
+ % Multiple figure references (lowercase)
539
+ \providecommand{\twofigrefs}[2]{\hyperref[#1]{figures~\ref*{#1} and~\ref*{#2}}}
540
+ \providecommand{\threefigrefs}[3]{\hyperref[#1]{figures~\ref*{#1},~\ref*{#2},~and~\ref*{#3}}}
541
+ \providecommand{\fourfigrefs}[4]{\hyperref[#1]{figures~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
542
+
543
+ % Single figure reference (sentence start, capitalized)
544
+ \providecommand{\oneFigref}[1]{\hyperref[#1]{Figure~\ref*{#1}}}
545
+ % Purpose: Creates clickable "Figure X" reference for beginning of sentences
546
+ % - Uses \hyperref for clickable link
547
+ % - \ref* prevents nested hyperlinks
548
+ % - ~ ensures unbreakable space
549
+ % Multiple figure references (capitalized)
550
+ \providecommand{\twoFigrefs}[2]{\hyperref[#1]{Figures~\ref*{#1} and~\ref*{#2}}}
551
+ \providecommand{\threeFigrefs}[3]{\hyperref[#1]{Figures~\ref*{#1},~\ref*{#2}, and~\ref*{#3}}}
552
+ \providecommand{\fourFigrefs}[4]{\hyperref[#1]{Figures~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
553
+
554
+ % ==================== TABLE REFERENCES ====================
555
+ % Table references (lowercase)
556
+ \providecommand{\onetableref}[1]{\hyperref[#1]{table~\ref*{#1}}}
557
+ \providecommand{\twotablerefs}[2]{\hyperref[#1]{tables~\ref*{#1} and~\ref*{#2}}}
558
+ \providecommand{\threetablerefs}[3]{\hyperref[#1]{tables~\ref*{#1},~\ref*{#2}, and~\ref*{#3}}}
559
+ \providecommand{\fourtablerefs}[4]{\hyperref[#1]{tables~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
560
+
561
+ % Table references (capitalized)
562
+ \providecommand{\oneTableref}[1]{\hyperref[#1]{Table~\ref*{#1}}}
563
+ \providecommand{\twoTablerefs}[2]{\hyperref[#1]{Tables~\ref*{#1} and~\ref*{#2}}}
564
+ \providecommand{\threeTablerefs}[3]{\hyperref[#1]{Tables~\ref*{#1},~\ref*{#2}, and~\ref*{#3}}}
565
+ \providecommand{\fourTablerefs}[4]{\hyperref[#1]{Tables~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
566
+
567
+ % ==================== EQUATION REFERENCES ====================
568
+ % Equation references (lowercase)
569
+ \providecommand{\oneeqref}[1]{\hyperref[#1]{equation~\ref*{#1}}}
570
+ \providecommand{\twoeqrefs}[2]{\hyperref[#1]{equations~\ref*{#1} and~\ref*{#2}}}
571
+ \providecommand{\threeeqrefs}[3]{\hyperref[#1]{equations~\ref*{#1},~\ref*{#2}, and~\ref*{#3}}}
572
+ \providecommand{\foureqrefs}[4]{\hyperref[#1]{equations~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
573
+
574
+ % Equation references (capitalized)
575
+ \providecommand{\oneEqref}[1]{\hyperref[#1]{Equation~\ref*{#1}}}
576
+ \providecommand{\twoEqrefs}[2]{\hyperref[#1]{Equations~\ref*{#1} and~\ref*{#2}}}
577
+ \providecommand{\threeEqrefs}[3]{\hyperref[#1]{Equations~\ref*{#1},~\ref*{#2}, and~\ref*{#3}}}
578
+ \providecommand{\fourEqrefs}[4]{\hyperref[#1]{Equations~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
579
+
580
+ % Plain equation reference
581
+ \providecommand{\plaineqref}[1]{\hyperref[#1]{\ref*{#1}}}
582
+
583
+ % ==================== ALGORITHM REFERENCES ====================
584
+ % Algorithm references (lowercase)
585
+ \providecommand{\onealgref}[1]{\hyperref[#1]{algorithm~\ref*{#1}}}
586
+ \providecommand{\twoalgrefs}[2]{\hyperref[#1]{algorithms~\ref*{#1} and~\ref*{#2}}}
587
+ \providecommand{\threealgrefs}[3]{\hyperref[#1]{algorithms~\ref*{#1},~\ref*{#2}, and~\ref*{#3}}}
588
+ \providecommand{\fouralgrefs}[4]{\hyperref[#1]{algorithms~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
589
+
590
+ % Algorithm references (capitalized)
591
+ \providecommand{\oneAlgref}[1]{\hyperref[#1]{Algorithm~\ref*{#1}}}
592
+ \providecommand{\twoAlgrefs}[2]{\hyperref[#1]{Algorithms~\ref*{#1} and~\ref*{#2}}}
593
+ \providecommand{\threeAlgrefs}[3]{\hyperref[#1]{Algorithms~\ref*{#1},~\ref*{#2}, and~\ref*{#3}}}
594
+ \providecommand{\fourAlgrefs}[4]{\hyperref[#1]{Algorithms~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
595
+
596
+ % ==================== SECTION REFERENCES ====================
597
+ % Section references (lowercase)
598
+ \providecommand{\onesecref}[1]{\hyperref[#1]{section~\ref*{#1}}}
599
+ \providecommand{\twosecrefs}[2]{\hyperref[#1]{sections~\ref*{#1} and~\ref*{#2}}}
600
+ \providecommand{\threesecrefs}[3]{\hyperref[#1]{sections~\ref*{#1},~\ref*{#2} and~\ref*{#3}}}
601
+ \providecommand{\foursecrefs}[4]{\hyperref[#1]{sections~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
602
+ \providecommand{\rangesecrefs}[2]{\hyperref[#1]{sections~\ref*{#1}--\ref*{#2}}}
603
+
604
+ % Section references (capitalized)
605
+ \providecommand{\oneSecref}[1]{\hyperref[#1]{Section~\ref*{#1}}}
606
+ \providecommand{\twoSecrefs}[2]{\hyperref[#1]{Sections~\ref*{#1} and~\ref*{#2}}}
607
+ \providecommand{\threeSecrefs}[3]{\hyperref[#1]{Sections~\ref*{#1},~\ref*{#2} and~\ref*{#3}}}
608
+ \providecommand{\fourSecrefs}[4]{\hyperref[#1]{Sections~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
609
+ \providecommand{\rangeSecrefs}[2]{\hyperref[#1]{Sections~\ref*{#1}--\ref*{#2}}}
610
+
611
+ % ==================== CHAPTER REFERENCES ====================
612
+ % Chapter references (lowercase)
613
+ \providecommand{\onechapref}[1]{\hyperref[#1]{chapter~\ref*{#1}}}
614
+ \providecommand{\twochaprefs}[2]{\hyperref[#1]{chapters~\ref*{#1} and~\ref*{#2}}}
615
+ \providecommand{\threechaprefs}[3]{\hyperref[#1]{chapters~\ref*{#1},~\ref*{#2} and~\ref*{#3}}}
616
+ \providecommand{\fourchaprefs}[4]{\hyperref[#1]{chapters~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
617
+ \providecommand{\rangechaprefs}[2]{\hyperref[#1]{chapters~\ref*{#1}--\ref*{#2}}}
618
+
619
+ % Chapter references (capitalized)
620
+ \providecommand{\oneChapref}[1]{\hyperref[#1]{Chapter~\ref*{#1}}}
621
+ \providecommand{\twoChaprefs}[2]{\hyperref[#1]{Chapters~\ref*{#1} and~\ref*{#2}}}
622
+ \providecommand{\threeChaprefs}[3]{\hyperref[#1]{Chapters~\ref*{#1},~\ref*{#2} and~\ref*{#3}}}
623
+ \providecommand{\fourChaprefs}[4]{\hyperref[#1]{Chapters~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
624
+ \providecommand{\rangeChaprefs}[2]{\hyperref[#1]{Chapters~\ref*{#1}--\ref*{#2}}}
625
+
626
+ % ==================== PART REFERENCES ====================
627
+ % Part references (lowercase)
628
+ \providecommand{\onepartref}[1]{\hyperref[#1]{part~\ref*{#1}}}
629
+ \providecommand{\twopartrefs}[2]{\hyperref[#1]{parts~\ref*{#1} and~\ref*{#2}}}
630
+ \providecommand{\threepartrefs}[3]{\hyperref[#1]{parts~\ref*{#1},~\ref*{#2} and~\ref*{#3}}}
631
+ \providecommand{\fourpartrefs}[4]{\hyperref[#1]{parts~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
632
+ \providecommand{\rangepartrefs}[2]{\hyperref[#1]{parts~\ref*{#1}--\ref*{#2}}}
633
+
634
+ % Part references (capitalized)
635
+ \providecommand{\onePartref}[1]{\hyperref[#1]{Part~\ref*{#1}}}
636
+ \providecommand{\twoPartrefs}[2]{\hyperref[#1]{Parts~\ref*{#1} and~\ref*{#2}}}
637
+ \providecommand{\threePartrefs}[3]{\hyperref[#1]{Parts~\ref*{#1},~\ref*{#2} and~\ref*{#3}}}
638
+ \providecommand{\fourPartrefs}[4]{\hyperref[#1]{Parts~\ref*{#1},~\ref*{#2},~\ref*{#3} and~\ref*{#4}}}
639
+ \providecommand{\rangePartrefs}[2]{\hyperref[#1]{Parts~\ref*{#1}--\ref*{#2}}}
640
+
641
+ % ==================== IMPLEMENTATION NOTES ====================
642
+ % 1. All commands use \providecommand to prevent redefine errors
643
+ % 2. Hyperlinks are attached to the full reference text
644
+ % 3. \ref* prevents nested hyperlinks within \hyperref
645
+ % 4. Punctuation follows English typesetting conventions
646
+ % 5. Requires packages:
647
+ % \usepackage{hyperref} % For hyperlink support
648
+ % \usepackage{cleveref} % Optional for advanced referencing
649
+
650
+ % ==================== RECOMMENDED PRACTICES ====================
651
+ % 1. Use consistent label prefixes (fig:, tab:, eq:, etc.)
652
+ % 2. For advanced features, consider using cleveref instead:
653
+ % \crefname{figure}{figure}{figures} % Singular/plural forms
654
+ % \Crefname{figure}{Figure}{Figures} % Capitalized versions
655
+ % Then use \cref{fig:1} or \Cref{fig:1} for auto-formatting
656
+
657
+ %%%-------------------------------------------------------------------------%%%
658
+ %% newcommand for math
659
+ \newcommand{\abs}[1]{\left\vert#1\right\vert}
660
+ \newcommand{\norm}[1]{\left\Vert#1\right\Vert}
661
+ \newcommand{\ceil}[1]{\lceil#1\rceil}
662
+ \newcommand{\floor}[1]{\lfloor#1\rfloor}
663
+
664
+ %% DeclareMathOperator
665
+ \DeclareMathOperator*{\argmax}{arg\,max}
666
+ \DeclareMathOperator*{\argmin}{arg\,min}
667
+ \DeclareMathOperator{\sign}{sign}
668
+ \DeclareMathOperator{\Tr}{Tr}
669
+
670
+ %%%-------------------------------------------------------------------------%%%
671
+ %% newcommand for table
672
+ \newcommand{\mr}[2]{\multirow{#1}{#2}}
673
+ \newcommand{\mc}[2]{\multicolumn{#1}{#2}}
674
+
675
+ %%%-------------------------------------------------------------------------%%%
676
+ %% Highlight a newly defined term
677
+ \newcommand{\newterm}[1]{{\textbf #1}}