Text FormattingSaving variables in LaTeX

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
demirci
Posts: 1
Joined: Sat Jun 27, 2009 1:59 am

Saving variables in LaTeX

Post by demirci »

Hi all,

I want to save the value of the variable "parindent". What I want to do is the following: In tabular, you can use the "p" argument to type paragraphs. But it sets the parindent to zero by default. What I have to do is, before entering into the tabular environment I will define a variable and set its value to parindent, then inside the tabular I will use \setlength{parindent}{variable-name}

How can I do this. On the internet I could not find my answer. Can you provide some general introduction for how to use variables in LaTeX?

Thank you all.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
Post Reply