Generalhow to define a constant

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
chao
Posts: 20
Joined: Tue Jun 17, 2008 5:52 pm

how to define a constant

Post by chao »

Hi,
a new question.
If I want to define a constant number in the beginning and use it later in the file.
How should I do that?

Thanks a lot!

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

how to define a constant

Post by Stefan Kottwitz »

Hi chao,

you could use \newcommand.

Stefan
LaTeX.org admin
Post Reply