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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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