General ⇒ How to make length-assignments global
How to make length-assignments global
The problem is that all length-commands, e.g., \setlength, are local, meaning that old values are restored when going out of a group of commands surrounded by {..}. Is there any way to make length-assignments globally defined provided they are made within the group of commands?
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: How to make length-assignments global
I would think that putting such declarations into the preamble also makes them global.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: How to make length-assignments global
I'm rather assuming this is a document command question, not a global setting.
Joseph Wright
Re: How to make length-assignments global
Thank you! \global\setlength does work properly !