| 1 |
Global Vals (version 1.1) |
| 2 |
========================= |
| 3 |
|
| 4 |
URL: https://github.com/charlesbaynham/globalvals |
| 5 |
(c) Charles Baynham 2019 |
| 6 |
|
| 7 |
License: LaTeX Project Public License 1.3c |
| 8 |
|
| 9 |
This package allow the user to declare a variable which can then be used |
| 10 |
anywhere else in a document, including before it was declared. This is done |
| 11 |
by putting the definitions into the .aux files, therefore requiring two runs |
| 12 |
to get it right. |
| 13 |
|
| 14 |
It implements two commands: \defVal{<value>} and \useVal{<value>}. \defVal |
| 15 |
sets up a global variable and \useVal recalls it. |
| 16 |
|
| 17 |
Using \defVal twice will result in an error. Using \useVal for an undefined |
| 18 |
value will output the text "??" |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
The package is released 'as is' with no warranty under the LaTeX Project Public |
| 23 |
License, version 1.3c. |