Debian Codegraph @

texmf-dist/doc/latex/ximera/src/instructornotes.dtx

raw
1 % \subsubsection{Instructor notes}
2 % \begin{macrocode}
3 %<*classXimera>
4
5 %% instructor intro/instructor notes
6 %%
7 \ifhandout % what follows is handout behavior
8 \ifinstructornotes
9 \newenvironment{instructorIntro}%
10 {%
11 \begin{trivlist}
12 \item[\hskip \labelsep\bfseries Instructor Introduction:\hspace{2ex}]
13 }
14 % %% line at the bottom}
15 {
16 \end{trivlist}
17 \par\addvspace{.5ex}\nobreak\noindent\hung
18 }
19 \else
20 \newenvironment{instructorIntro}%
21 {%
22 \setbox0\vbox\bgroup
23 }
24 {%If this mysteriously starts breaking
25 % remove \ignorespacesafterend
26 \egroup\ignorespacesafterend
27 }
28 \fi
29 \else% for handout, so what follows is default
30 \ifinstructornotes
31 \newenvironment{instructorIntro}%
32 {%
33 \setbox0\vbox\bgroup
34 }
35 {%
36 \egroup
37 }
38 \else
39 \newenvironment{instructorIntro}%
40 {%
41 \begin{trivlist}
42 \item[\hskip \labelsep\bfseries Instructor Introduction:\hspace{2ex}]
43 }
44 % %% line at the bottom}
45 {
46 \end{trivlist}
47 \par\addvspace{.5ex}\nobreak\noindent\hung
48 }
49 \fi
50 \fi
51
52
53
54
55 %% instructorNotes environment
56 \ifhandout % what follows is handout behavior
57 \ifinstructornotes
58 \newenvironment{instructorNotes}%
59 {%
60 \begin{trivlist}
61 \item[\hskip \labelsep\bfseries Instructor Notes:\hspace{2ex}]
62 }
63 % %% line at the bottom}
64 {
65 \end{trivlist}
66 \par\addvspace{.5ex}\nobreak\noindent\hung
67 }
68 \else
69 \newenvironment{instructorNotes}%
70 {%
71 \setbox0\vbox\bgroup
72 }
73 {%
74 \egroup
75 }
76 \fi
77 \else% for handout, so what follows is default
78 \ifinstructornotes
79 \newenvironment{instructorNotes}%
80 {%
81 \setbox0\vbox\bgroup
82 }
83 {%
84 \egroup
85 }
86 \else
87 \newenvironment{instructorNotes}%
88 {%
89 \begin{trivlist}
90 \item[\hskip \labelsep\bfseries Instructor Notes:\hspace{2ex}]
91 }
92 % %% line at the bottom}
93 {
94 \end{trivlist}
95 \par\addvspace{.5ex}\nobreak\noindent\hung
96 }
97 \fi
98 \fi
99
100 %</classXimera>
101 % \end{macrocode}