summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-06 21:59:24 +0000
committerKarl Berry <karl@freefriends.org>2019-02-06 21:59:24 +0000
commit15d40bdc29e5c0085a2572859794ac9163b6da8e (patch)
treec7a3fbf339f9f59aed00f9e6ff7a532e561206d6 /Master/texmf-dist/tex/latex
parenta12f38da51f1d953202b4214d17b98fed73a0e32 (diff)
globalvals (6feb19)
git-svn-id: svn://tug.org/texlive/trunk@49962 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/globalvals/globalvals.sty20
1 files changed, 7 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/globalvals/globalvals.sty b/Master/texmf-dist/tex/latex/globalvals/globalvals.sty
index 48b99ded28c..e738c95ed0d 100644
--- a/Master/texmf-dist/tex/latex/globalvals/globalvals.sty
+++ b/Master/texmf-dist/tex/latex/globalvals/globalvals.sty
@@ -1,29 +1,25 @@
% Global Vars
-
+%
% (c) Charles Baynham 2019
-
+%
% License: LaTeX Project Public License 1.3c
-
-% % This program can be redistributed and/or modified under the terms
-% % of the LaTeX Project Public License Distributed from CTAN archives
-% % in directory macros/latex/base/lppl.txt.
-
+%
% 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 "??"
%
-\makeatletter
+
\NeedsTeXFormat{LaTeX2e}
\def\@globalvalsPkgName{globalvals}
\ProvidesPackage{\@globalvalsPkgName}
- [2019/01/23 v1.0 Define and use global variables throughout a document, including before their definition]
+ [2019/02/06 v1.1 Define and use global variables throughout a document, including before their definition]
@@ -55,8 +51,6 @@
\fi%
}
-\makeatother
-
\endinput
%%
%% End of file `globalvals.sty'. \ No newline at end of file