File tree Expand file tree Collapse file tree 4 files changed +52
-2
lines changed
Expand file tree Collapse file tree 4 files changed +52
-2
lines changed Original file line number Diff line number Diff line change 1+ \documentclass {ximera }
2+
3+ \title {Outcomes}
4+
5+ % List of outcomes that should display where "\displayOutcomes" is used.
6+ \outcome {You are familiar with outcomes.}
7+ \outcome {You can add outcomes to an activity.}
8+ \outcome {You can show all outcomes.}
9+
10+ \begin {document }
11+ \begin {abstract }
12+ \end {abstract }
13+ \maketitle
14+
15+ \section {Basic usage }
16+
17+ Use \verb |\outcome{You'll learn about outcomes} | in the preamble of your activity to add an outcome.
18+ \\
19+ Use \verb |\displayOutcomes | to display all the outcomes listed in this file.
20+
21+ Note: \verb |\displayOutcomes | takes an optional argument to load outcomes from a different file (if it exists).
22+
23+ Here presumably following outcomes were set:
24+
25+ \begin {verbatim }
26+ \outcome{You are familiar with outcomes.}
27+ \outcome{You can add outcomes to an activity.}
28+ \outcome{You can show all outcomes.}
29+ \end {verbatim }
30+
31+ and \verb |\displayOutcomes | then gives
32+
33+ \displayOutcomes
34+
35+
36+ \section {Extra options }
37+
38+ The header, footer and general layout of list of outcomes can be customized, e.g as follows:
39+
40+ \renewcommand {\outcomeHeader }{outcomeHeader}
41+ \renewcommand {\preOutputBlock }{\protect preOutputBlock \begin {itemize }}
42+ \renewcommand {\postOutputBlock }{\end {itemize} postOutputBlock}
43+
44+ \displayOutcomes
45+
46+
47+ \end {document }
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 44
55
66\begin {document }
7+ \begin {abstract }
8+ \end {abstract }
79\maketitle
810
9- \activity {testFiles/outcome}
10- \activity {testFiles/outcome2}
11+ \activity {../outcomes/basic}
12+ \activity {../outcomes/outcome}
13+ \activity {../outcomes/outcome2}
1114
1215
1316\end {document }
You can’t perform that action at this time.
0 commit comments