Debian Codegraph @

texmf-dist/doc/latex/exframe/exframe-ser-pe.tex

raw
1 %%
2 %% This is file `exframe-ser-pe.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% exframe.dtx (with options: `samplemultiprobleme')
8 %%
9 %% Copyright (C) 2011-2026 Niklas Beisert
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% https://www.latex-project.org/lppl.txt
16 %% and version 1.3c or later is part of all distributions of LaTeX
17 %% version 2008 or later.
18 %%
19 %%\providecommand{\printsol}{n}
20 \input{childdoc.def}
21 \childdocby{exframe-ser}
22 \begin{problem}[title={Sample E}]
23
24 \ifdefined\mpostuse
25 \begin{mpostfig}[label={\problemtag-fig}]
26 interim xu:=1.5cm;
27 paths[1]:=fullcircle scaled 1xu;
28 fillshape(paths[1], 0.7white) pensize(1pt);
29 label(btex \figure etex, center(paths[1]));
30 \end{mpostfig}
31 \begin{onlysolutions}
32 \begin{mpostfig}[label={\problemtag-solfig}]
33 interim xu:=1.5cm;
34 paths[1]:=fullcircle scaled 1xu;
35 paths[2]:=((subpath (-2,2) of paths[1])--cycle) shifted (+0.5xu,0);
36 paths[3]:=((subpath (2,6) of paths[1])--cycle) shifted (-0.5xu,0);
37 fillshape(paths[2], 0.7white) pensize(1pt);
38 fillshape(paths[3], 0.7white) pensize(1pt);
39 \end{mpostfig}
40 \end{onlysolutions}
41 \fi
42
43 \lorem
44
45 \begin{subproblem}
46 \lorem
47 \begin{center}
48 \ifdefined\mpostuse\mpostuse{\problemtag-fig}\else figure\fi
49 \end{center}
50 \lorem
51 \end{subproblem}
52
53 \begin{solution}
54 \lorem
55 \begin{center}
56 \ifdefined\mpostuse\mpostuse{\problemtag-solfig}\else figure\fi
57 \end{center}
58 \lorem
59 \end{solution}
60
61 \begin{subproblem}
62 \lorem
63 \end{subproblem}
64
65 \begin{solution}
66 \lorem
67 \end{solution}
68
69 \lorem
70
71 \begin{subproblem}
72 \lorem
73 \end{subproblem}
74
75 \begin{solution}
76 \lorem
77 \end{solution}
78
79 \end{problem}
80 \endinput
81 %%
82 %% End of file `exframe-ser-pe.tex'.