blob: d5143625bbe5352dc835eb7b620386adb988a84f (
plain) (
blame)
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
|
% Define ifsolutions only if it is not defined yet (see Makefile)
\@ifundefined{ifshowpagenrs}{%
\newif\ifshowpagenrs
\showpagenrstrue
}{}
\@ifundefined{ifshowsummary}{%
\newif\ifshowsummary
\showsummarytrue
}{}
\@ifundefined{ifshownotes}{%
\newif\ifshownotes
\shownotestrue
}{}
\@ifundefined{ifshowcriticism}{%
\newif\ifshowcriticism
\showcriticismtrue
}{}
\@ifundefined{ifshowideas}{%
\newif\ifshowideas
\showideastrue
}{}
\newcommand{\pagenrStyle}{\small\color{darkgray}}
\newcommand{\criticismStart}{\emph{Criticism:} }
\newcommand{\criticismStyle}{\color{RedOrange}}
\newcommand{\ideaStart}{\emph{Idea:} }
\newcommand{\ideaStyle}{\color{RedOrange}}
\newcommand{\noteStyle}{\color{gray}}
\newcommand{\termStyle}{\it}
\PassOptionsToPackage{dvipsnames}{xcolor}
\RequirePackage{xcolor}
\newcommand{\pagenr}[1]{%
\ifshowpagenrs\begingroup\pagenrStyle\enspace(p. #1)\endgroup\fi}
\newcommand{\pagenrs}[1]{%
\ifshowpagenrs\begingroup\pagenrStyle\enspace(pp. #1)\endgroup\fi}
\newcommand{\summary}[1]{%
\ifshowsummary #1\fi}
\newcommand{\parnote}[1]{%
\ifshownotes\begingroup\noteStyle#1\endgroup\fi}
\newcommand{\note}[1]{%
\parnote{\enspace(#1)}}
\newcommand{\criticism}[1]{%
\ifshowcriticism\begingroup\criticismStyle\criticismStart{}#1\endgroup\fi}
\newcommand{\idea}[1]{%
\ifshowideas\begingroup\ideaStyle\ideaStart{}#1\endgroup\fi}
\newcommand{\term}[1]{%
\begingroup\termStyle #1\endgroup}
|