Debian Codegraph @

texmf-dist/doc/latex/calculation/README

raw
1 The "calculation" environment formats reasoned calculations,
2 also called calculational proofs.
3 The notion of reasoned calculations or calculational proofs
4 was originally advocated by Wim Feijen and Edsger Dijkstra.
5 The "calculation" package accepts options "fleqn" and "leqno" (with
6 the same effect as LaTeX options "fleqn" and "leqno", and inherits
7 these from the document class), it allows steps and expressions to be
8 numbered (by LaTeX equation numbers, obeying the LaTeX "\label"
9 command to refer to these numbers), and a step doesn't take vertical
10 space if its hint is empty. An expression in a calculation can be
11 given a comment; it is placed at the side opposite to the equation
12 numbers. Calculations are allowed inside hints although numbering
13 and commenting is then disabled.
14
15 In its simplest form, the LaTeX source looks like this:
16
17 \begin{calculation}
18 EXPRESSION
19 \step{HINT}
20 EXPRESSION
21 \step{HINT}
22 EXPRESSION
23 \end{calculation}
24
25 Each "HINT" is normal text, each "EXPRESSION" is mathematical text.
26 Depending on various parameters, the output is more or less like this:
27
28 EXPRESSION
29 = { HINT }
30 EXPRESSION
31 = { HINT }
32 EXPRESSION
33
34 This material is subject to the LaTeX Project Public License:
35 http://www.ctan.org/license/lppl1.3