General ⇒ newcommand
-
- Posts: 1
- Joined: Tue Jan 26, 2010 1:06 pm
newcommand
Lets say I define a newcommand like that:
\newcommand{\A}{123}.
Is it possible to access this variable out of LaTex. Let's say on a shell script for example or so.
Something like this:
echo "The Variable A is" \A.
Thx a lot.
c.
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