Directory macros/latex/contrib/globalvals
Global Vals (version 1.1)
URL: https://github.com/charlesbaynham/globalvals (c) Charles Baynham 2019
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.3c.
Download the contents of this package in one zip archive (155.3k).
globalvals – Declare global variables
This package allows the user to declare a variable which can then be used anywhere else in a document, including before it was declared.
Package | globalvals |
Home page | https://github.com/charlesbaynham/globalvals |
Bug tracker | https://github.com/charlesbaynham/globalvals/issues |
Version | 1.1 2019-02-06 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2019 Charles Baynham |
Maintainer | Charles Baynham |
Contained in | TeX Live as globalvals MiKTeX as globalvals |
Topics | Misc support |