General ⇒ Package To Store \gdef Definitions In An External File
-
- Posts: 27
- Joined: Thu Feb 07, 2019 4:25 pm
Package To Store \gdef Definitions In An External File
This would allow me to use the \gdef{} definition in a document location that occurs before the definition occurs, similar to \label{} and \ref{}.
I prefer to avoid using \newcommand for the lengthy technical definitions in this document, insofar as it is simpler and more convenient to place the \gdef{} at the location of primary usage, than to place the \newcommands in the preamble.
For example, I would define the inertial navigation system outputs, in the INS section. Other sections, preceding and superseding this section, would use this language. Definition management is simplified by locating the \gdef{} in each corresponding section.
Is such a package available?
Thank you.
Kurt
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis