Quantcast
Channel: global confusion - TeX - LaTeX Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by Werner for global confusion

Macro definitions are considered as the "replacement text" for the given "macro and argument". So, with a definition like\newcommand*{\setfooter}[1]{\def\mypackage@footer{#1}}the use of \setfooter in...

View Article



Answer by egreg for global confusion

If you issue\setfooter{foo}at the top level, that is not inside a group or an environment (and document doesn't count as environment in this respect), there's no difference.However, an input such...

View Article

global confusion

Simply put, when should I care if something is global or not? What does this really mean?If my package, for example, provides\newcommand*{\setfooter}[1]{\def\mypackage@footer{#1}}And I later use...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images