![]() |
Special markup for sessions | ![]() |
The session d.t.d. provides the following environments for computer algebra sessions:
Environment for marking a session. All macros below are only for use inside sessions.
An input field with a prompt and the actual input.
An output field.
Fields with ordinary text. These may for instance be used for comments and explanations.
This macro is used inside output fields for displaying error messages.
In fact, these environments are based on environments of the form lan-session, lan-input, lan-output, lan-textput and lan-errput for every individual language lan.
If language-specific environments do not exist, then generic-session, generic-input, generic-output, generic-textput and generic-errput are taken instead. It is recommended to base the language-specific environments on the generic ones, which may have different implementations according to the style (e.g. the framed-session package). For this purpose, we also provide the generic-output* environment, which is similar to generic-output, except that margins remain unaltered.