Tagged Questions
5
votes
1answer
160 views
Is it possible to remove length, counter, dim, etc that have been declared?
Let's see the following screenshot taken from an answer of Efficient ways to anonymize a document and the given comment.
Is it possible to remove length, counter, dim, etc, that have been declared ...
10
votes
1answer
548 views
Why do \setcounter and \addtocounter commands have global effect, while \setlength and \addtolength commands obey the normal scoping rules?
The \setcounter and \addtocounter commands have global effect,
while the \setlength and \addtolength commands obey the normal
scoping rules.
Why were they designed like this? Why are ...
4
votes
1answer
203 views
Length needs backslash but counter does not, why?
\documentclass{minimal}
\parindent=0sp
\newlength{\Length}
\setlength{\Length}{1in}
\newcounter{Count}
\setcounter{Count}{10}
\begin{document}
\the\Length
\theCount
\end{document}
Length needs ...
7
votes
3answers
335 views
Making register declarations local, Undefining a register (count, toks, etc.)
Is it possible to make \newcount, \newtoks, etc. respect grouping, so that, e.g., \newcount\temp\temp=2{\newcount\temp\temp=1}\showthe\temp gives 2 (instead of 0)?
Relatedly, is it possible to ...
