A testbed file for Outcomes.
1 Intended Outcome of Test
In the preamble, before we use the outcome commands, we change the styling of the outcomes using the following commands:
- preOutcomeLine
-
The command
\preOutcomeLineis a macro that holds the LaTeX code that is prepended to each\outcome{text}text. This is intended to be used by content authors to stylize their outcome items.
By default, the content of\preOutcomeLineis:\item - postOutcomeLine
-
The command
\postOutcomeLineis a macro that holds the LaTeX code that is appended to each\outcome{text}text. This is intended to be used by content authors to stylize their outcome items.
By default, the content of\postOutcomeLineis empty - preOutcomeBlock
-
The command
\preOutcomeBlockis a macro that holds the LaTeX code that is executed prior to any of the\outcomecommands. This is intended to be used by content authors to stylize their outcome lists.
By default, the content of\preOutcomeBlockis:At the end of this section, students should be able to... \begin{itemize} - postOutcomeBlock
-
The command
\postOutcomeBlockis a macro that holds the LaTeX code that is executed after all of the\outcomecommands are llisted. This is intended to be used by content authors to stylize their outcome lists.
By default, the content of\postOutcomeBlockis:\end{itemize} So go forth and learn! - outcomeHeader
-
The command
\outcomeHeaderis a macro that holds the LaTeX code that is displayed prior to the actual outcome block. This is intended to be used by content authors to display a header - e.g. for an expandable or hover text.
By default, the content of\outcomeHeaderis:Goals for this Section (Hover over me to see!) - outcomeBlock
-
The command
\outcomeBlockis an html only macro that provides the html code to support the\outcomeHeadermacro content. This should largely be left alone.
We have changed the styling from the above defaults using the following commands:
\preOutcomeLine{This marks the beginning of the outcome line. }\postOutcomeLine{ This marks the end of Outcome Line.\\}\preOutcomeBlock{This is the beginning of a boring block of outcomes. No itemize.\\}\postOutcomeBlock{End of Block... a boring block without any itemize.\\}\outcomeHeader{This is the header - so you should see a block below this.\\}
Then, again in the preamble, we used the following commands to populate the outcomes:
\outcome{Answer some questions about some stuff.}\outcome{Do something productive.}\outcome{Learn how Questions work maybe.}\outcome{Maybe other stuff - who knows!}
The test area should look (approximately) like the following:
This is the header - so you should see a block below this.
This is the beginning of a boring block of outcomes. No itemize.
This marks the beginning of the outcome line. Answer some questions about some
stuff. This marks the end of Outcome Line.
This marks the beginning of the outcome line. Do something productive. This marks
the end of Outcome Line.
This marks the beginning of the outcome line. Learn how Questions work maybe.
This marks the end of Outcome Line.
This marks the beginning of the outcome line. Maybe other stuff - who knows! This
marks the end of Outcome Line.
End of Block... a boring block without any itemize.
2 Start of Test/Demo Area
This marks the beginning of the outcome line. Answer some questions about some stuff. This marks the end of Outcome Line.
This marks the beginning of the outcome line. Do something productive. This marks the end of Outcome Line.
This marks the beginning of the outcome line. Learn how Questions work maybe. This marks the end of Outcome Line.
This marks the beginning of the outcome line. Maybe other stuff - who knows! This marks the end of Outcome Line.
End of Block... a boring block without any itemize.
3 End of Test/Demo Area
Some ending text to ensure that there is no unintended output between end of the test/demo and the end of the document.