-
Notifications
You must be signed in to change notification settings - Fork 19
/
SolvingMicroDSOPs-options.tex
78 lines (63 loc) · 2.75 KB
/
SolvingMicroDSOPs-options.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
% Controls for which of various variant versions to create
\provideboolean{ctwVersion}\setboolean{ctwVersion}{false}\newcommand{\ctw}{\ifthenelse{\boolean{ctwVersion}}} % {cctw}
\provideboolean{trpVersion}\setboolean{trpVersion}{false}\newcommand{\trp}{\ifthenelse{\boolean{trpVersion}}} % {trp}
% \setboolean{trpVersion}{true} % {trp}
\setboolean{trpVersion}{false} % {trp}
% Draft mode puts \labels of figs, tables, eqns in margin
\provideboolean{draftmode}\setboolean{draftmode}{true}
% \setboolean{draftmode}{false}
\newcommand{\Draft}{\ifthenelse{\boolean{draftmode}}}
\Draft{
\usepackage[left]{showlabels}
}{}
% Include or exclude Method of Moderation material
\provideboolean{MoMVersion}\setboolean{MoMVersion}{true}
%\setboolean{MoMVersion}{false}
\newcommand{\MoM}{\ifthenelse{\boolean{MoMVersion}}}
% Get extra style stuff for cctwMoM
\MoM{ % {cctw}
\usepackage{cctwMoM} % {cctw}
}{} % {cctw}
% Versions with or without permanent shocks
% Seems to be defunct - remove
\provideboolean{PermShkVersion}\setboolean{PermShkVersion}{true}
\setboolean{PermShkVersion}{false}
\newcommand{\PermShkOn}{\ifthenelse{\boolean{PermShkVersion}}}
% MPCMatch version does Hermite polynomials for the interpolation
% that match both the slope and the intercept at the gridpoints
\provideboolean{MPCMatchVersion}\setboolean{MPCMatchVersion}{true}
\newcommand{\MPCMatch}{\ifthenelse{\boolean{MPCMatchVersion}}}
% mynotes
\provideboolean{MyNotes}\setboolean{MyNotes}{true}
%\setboolean{MyNotes}{false}
% realcode
\provideboolean{realcode}\setboolean{realcode}{false}
%\setboolean{realcode}{false}
\newcommand{\ifcode}{\ifthenelse{\boolean{realcode}}}
% pseudocode
\provideboolean{pseudocode}\setboolean{pseudocode}{false}
%\setboolean{pseudocode}{false}
\newcommand{\ifpseudo}{\ifthenelse{\boolean{pseudocode}}}
% margin notes
\provideboolean{Margnote}\setboolean{Margnote}{true}
% \setboolean{Margnote}{false}
\newcommand{\ifMarg}{\ifthenelse{\boolean{Margnote}}}
% Show things that need fixing
\provideboolean{ToFix}\setboolean{ToFix}{true}
% \setboolean{ToFix}{false}
\newcommand{\Fix}{\ifthenelse{\boolean{ToFix}}}
% Show or hide the time subscripts
\provideboolean{hidetime}\setboolean{hidetime}{true}
% \setboolean{hidetime}{false}
\newcommand{\timehide}{\ifthenelse{\boolean{hidetime}}}
\provideboolean{verbon}\setboolean{verbon}{true}
\newcommand{\onverb}{\ifthenelse{\boolean{verbon}}}
\setboolean{showPageHead}{true}
% \econtexSetup sets boolean variable 'Web' to true if making html not pdf
\ifthenelse{\boolean{Web}}{ % then
\setboolean{showPageHead}{false} % no pages, so no page head, on web
}{ % else not for web
\usepackage{scrlayer-scrpage} % Package for page headers if PDF
\automark[section]{section}
\usepackage{caption} % allow suppression of appendix figures in NoAppendix PDF
}