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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
|
%%
%% This is file `exfserm.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% exframe.dtx (with options: `samplemultimain')
%%
%% Copyright (C) 2011-2020 Niklas Beisert
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}[1996/12/01]
\ProvidesFile{exfserm.tex}[2020/01/11 v3.31 multipart sample for exframe]
\input{childdoc.def}
\childdocmain{exfserm}
\providecommand{\draftver}{y}
\ifchilddoc
\providecommand{\printsol}{y}
\else
\providecommand{\printsol}{n}
\fi
\documentclass[12pt]{article}
\RequirePackage{graphicx}
\PassOptionsToPackage{bookmarks=\ifchilddoc false\else true\fi}{hyperref}
\PassOptionsToPackage{bookmarksopen=true}{hyperref}
\RequirePackage{hyperref}
\IfFileExists{hyperxmp.sty}{\RequirePackage{hyperxmp}}{}
\RequirePackage[extdata,extstyle]{exframe}
\if\printsol n
\exercisesetup{solutions=false}
\exercisesetup{twoside=true}
\else
\exercisesetup{solutions=true}
\exercisesetup{twoside=false}
\fi
%%\if\printsol n\else\showprobleminfo{author,source,recycle}\fi
\exercisesetup{autolabelproblem}
\exercisestyle{contents,solutionsep}
\ifchilddocmanual\else
\exercisestyle{pagebysheet,problembysheet,equationbysheet,sheetequation}
\fi
\exercisestyle{solutionbelow={problem}}
\ifchilddoc\ifchilddocmanual\else\exercisesetup{pdfdata=sheet}\fi\fi
\RequirePackage[a4paper,margin=2.5cm]{geometry}
\pagestyle{plain}
\setlength\parindent{0pt}
\setlength\parskip{\smallskipamount}
\setlength\overfullrule{5pt}
\newcommand{\turnover}{\ifsolutions\else\vfill%
\hfill{\mathversion{bold}$\longrightarrow$}\newpage\fi}
\exercisestyle{plainheader}
\exerciseconfig{composeheaderbelowright}
{\sheetdataempty{editdate}{}{version: \getsheetdata{editdate}}}
\ifchilddoc\ifsolutions\else
\exerciseconfig{composeheaderbelowright}
{\sheetdataempty{due}{}{due: \getsheetdata{due}}}
\fi\fi
\def\lorem{Lorem ipsum dolor sit amet, consectetur adipisici elit,
sed eiusmod tempor incidunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquid ex ea commodi consequat.
Quis aute iure reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur.
Excepteur sint obcaecat cupiditat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.\par}
\IfFileExists{mpostinl.sty}{\RequirePackage{mpostinl}}{}
\ifdefined\mpostsetup
\mpostsetup{checksum}
\if\draftver y\mpostsetup{now,nowall}\fi
\ifchilddocmanual\else\mpostsetup{numberwithin={sheet}}\fi
\ifsolutions\else\mpostsetup{warnunused=false}\fi
\mpostsetup{globaldef=true}
\begin{mposttex}
\def\figure{figure}
\end{mposttex}
\begin{mpostdef}
path paths[];
newinternal numeric xu;
xu:=1cm;
\end{mpostdef}
\mpostsetup{globaldef=false}
\fi
\exercisedata{course={exframe package samples}}
\exercisedata{instructor={N.\ Beisert}}
\exercisedata{institution={exframe academy}}
\exercisedata{period={spring 2019}}
\exercisedata{date={2019}}
\exercisedata{material={\ifsolutions\getexerciseconfig{termsolutions}%
\else\getexerciseconfig{termsheets}\fi}}
\exerciseconfig{composetitlesheet}[2]{\exerciseifempty{#2}%
{\ifsolutions\getexerciseconfig{termsolutions}\else%
\getexerciseconfig{termsheet}\fi\ #1}%
{\ifsolutions\getexerciseconfig{termsolutions}\fi\ #2}}
\exerciseconfig{composemetasheet}[2]{\if\draftver yDRAFT: \fi%
\getexercisedata{course},
\getexerciseconfig{composetitlesheet}{#1}{#2}}
\exercisedata{title={\if\draftver yDRAFT: \fi%
\getexercisedata{course}, \getexercisedata{material}}}
\exercisedata{author={Niklas Beisert, \getexercisedata{institution}}}
\exercisedata{subject={lecture series at \getexercisedata{institution},
\getexercisedata{period}}}
\exerciseconfig{termsheet}{sheet}
\exerciseconfig{termsheets}{sample sheets}
\exerciseconfig{termsolution}{Solution}
\exerciseconfig{termsolutions}{solutions}
\def\copyrightmessage
{This document as well as its parts is protected by copyright.}
\def\licensemessage
{Reproduction of any part of this work in any form
without prior written consent of \getexercisedata{institution}
is not permissible.}
\ifsolutions\else\if\draftver y\else
\def\licensecctype{by-sa}
\def\licenseccname{Attribution-ShareAlike \licenseccver{} International}
\fi\fi
\ifdefined\licensecctype
\ifdefined\licenseccver\else\def\licenseccver{4.0}\fi
\def\licenseurl
{https://creativecommons.org/licenses/\licensecctype/\licenseccver}
\def\licensemessage{\texorpdfstring
{This work is licensed under the Creative Commons ``\licenseccname'' License
(CC \MakeUppercase{\licensecctype} \licenseccver).\par
\IfFileExists{doclicense.sty}{
\begin{center}\includegraphics{doclicense-CC-\licensecctype}\end{center}}{}
To view a copy of this license, visit: \url{\licenseurl}}
{This work is licensed under the Creative Commons \licenseccname{} License.}}
\fi
\ifdefined\xmptilde
\hypersetup{pdfcopyright={Copyright \getexercisedata{date}
\getexercisedata{author}. \copyrightmessage{} \licensemessage}}
\ifdefined\sourceurl\hypersetup{pdflicenseurl={\sourceurl}}\else
\ifdefined\licenseurl\hypersetup{pdflicenseurl={\licenseurl}}\fi\fi
\hypersetup{keeppdfinfo=true}
\hypersetup{pdfsource={}}
\XMPLangAlt{en}{pdfcopyright={Copyright \getexercisedata{date}
\getexercisedata{author}. \copyrightmessage{} \licensemessage}}
\fi
\begin{document}
\def\tmp{}
\ifchilddocmanual
\def\tmp{\end{document}}
\input{\childdocname}
\fi\tmp
\setcounter{section}{-1}
\begingroup\ifchilddoc\else
\renewcommand{\thepage}{\arabic{page}}
\pdfbookmark[1]{Title Page}{title}
\thispagestyle{empty}
\vspace*{\fill}
\begin{center}
\begingroup\bfseries\LARGE\getexercisedata{course}\par\endgroup
\vspace{0.5cm}
\begingroup\large\getexercisedata{material}\par\endgroup
\vspace{0.5cm}
\begingroup\large\getexercisedata{institution},
\getexercisedata{period}\par\endgroup
\vspace{2cm}
\begingroup\scshape\Large\getexercisedata{instructor}\par\endgroup
\end{center}
\vspace*{\fill}\vspace*{\fill}
\newpage
\phantomsection\pdfbookmark[1]{Copyright}{copyright}
\thispagestyle{empty}
\vspace*{\fill}\vspace*{\fill}
\begin{center}
\begin{minipage}{11cm}\raggedright
{\copyright} \getexercisedata{date} \getexercisedata{author}
\par\medskip
\copyrightmessage{}
\licensemessage
\ifdefined\sourcemessage\par\medskip\sourcemessage\fi
\ifdefined\attributionmessage\par\medskip\attributionmessage\fi
\end{minipage}\end{center}
\vspace*{\fill}\vspace*{\fill}\vspace*{\fill}
\newpage
\makeatletter\renewcommand\@pnumwidth{2.4em}\makeatother
\setcounter{tocdepth}{2}
\phantomsection\pdfbookmark[1]{Contents}{contents}
{\parskip0pt\tableofcontents}
\exercisecleardoublepage\setcounter{page}{1}
\fi\endgroup
\include{exfser01}
\include{exfser02}
\include{exfser03}
\def\jobnameunused{exfseraa}
\ifx\childdocname\jobnameunused\include{\jobnameunused}\fi
\end{document}
\endinput
%%
%% End of file `exfserm.tex'.
|