-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedit-notes.tex
82 lines (73 loc) · 2.81 KB
/
edit-notes.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
\begingroup
\def\cmd#1{\texttt{\textbackslash{}#1}}
\begin{anfxnote}[author=\noindent JR]{template}
The template for this document is based on
\url{https://github.com/jorsn/latexplates}.
\end{anfxnote}
\begin{anfxwarning}{edit notes}
The \textsf{fixme} package is loaded, so
\begin{itemize}
\item you can make editorial notes with
\\
\texttt{\cmd{fxnote}%
\twocol{\\\hbox{}\quad}%
\{<margin comment>\}},
\\
\texttt{\cmd{fxnote*}%
\twocol{\\\hbox{}\quad}%
\{<comment>\}\{<text to highlight>\}},
where \texttt{fx} should be replaced by your author prefix (look up
\texttt{\cmd{fxauthor}\{<shorthand>\}} in the document source)
\item
for notes that have to be resolved before submission,
\cmd{fxfatal} and \cmd{fxfatal*} are used like \cmd{fxnote},
\item
in the end of the document, there is also a \MakeLowercase\englishlistfixmename .
\item
The final submission should get the class option \texttt{final}. This hides
edit notes and the list of corrections, and it produces a compile error for
each remaining \cmd{fxfatal} calls.
\end{itemize}
\end{anfxwarning}
\endgroup
\begin{anfxnote}[author=\noindent JR]{Macro conventions}
\section*{Macro conventions}
\label{meta:macros}
\raggedright
Please do not use \verb|\mathbf|, which does not work for all (math) symbols,
but instead use the command \verb|\bm|, which is more flexible.
Mixing both leads to inconsistent output,
e.g. \verb|\mathbf{X, \alpha}| $\mapsto \mathbf{X, \alpha}$,
while \verb|\bm{X, \alpha}| $\mapsto \bm{X, \alpha}$.
The files \verb|sty/shorthands.sty| and \verb|local-shorthands.tex|
define many shorthands, e.g.
\begin{multicols} 2
\centering
\begin{tblr}{colspec={ll},verb}
\verb|\tup{a}| & $\tup{a}$ \\
\verb|\paren{a}| & $\paren{a}$ \\
\verb|a\intv{b}c| & $a\intv{b}c$ \\
\verb|a\intv{\frac 1 2}c| & $a\intv{\frac 1 2}c$ \\
\verb|a\intv*{\frac 1 2}c| & $a\intv*{\frac 1 2}c$ \\
\verb|\brack[\big]{a}| & $\brack[\big]{a}$ \\
\verb|\abs[\Big]{a}| & $\abs[\Big]{a}$ \\
\verb|\card[\bigg]{\cX_1}| & $\card[\bigg]{\cX_1}$ \\
\verb|\set[\Bigg]{a}| & $\set[\Bigg]{a}$ \\
\end{tblr}
\begin{tblr}{colspec={ll},verb}
\verb|\bX| & $\bX$ \\
\verb|\bbx| & $\bbx$ \\
\verb|\cX| & $\cX$ \\
\verb|\bcX| & $\bcX$ \\
\verb|\bbN| & $\bbN$ \\
\verb|\bbR| & $\bbR$ \\
\verb|\expect| & $\expect$ \\
\verb|\One| & $\One$ \\
\verb|\ind{e^{A^2} \le 1}| & $\ind{e^{A^2} \le 1}$ \\
\verb|\ind[\bigg]{a}| & $\ind[\bigg]{a}$ \\
\end{tblr}
\end{multicols}
\noindent
Please define your own shorthands in \verb|local-shorthands.tex|.
\end{anfxnote}
% vim: ts=2 sw=2