Generalnewcommand

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
carmelo.marchica
Posts: 1
Joined: Tue Jan 26, 2010 1:06 pm

newcommand

Post by carmelo.marchica »

Hi

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.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post Reply