summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/globalvals/README.md
blob: 0d13d705ab1c2ef04832a3f70628517f7a4d6dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Global Vals (version 1.0)
=========================

URL: https://github.com/charlesbaynham/globalvals
(c) Charles Baynham 2018

License: LaTeX Project Public License 1.3c

This package allow the user to declare a variable which can then be used
anywhere else in a document, including before it was declared. This is done
by putting the definitions into the .aux files, therefore requiring two runs
to get it right.

It implements two commands: \defVal{<value>} and \useVal{<value>}. \defVal
sets up a global variable and \useVal recalls it.

Using \defVal twice will result in an error. Using \useVal for an undefined
value will output the text "??"



The package is released 'as is' with no warranty under the LaTeX Project Public
License, version 1.3.