Text Formatting ⇒ Saving variables in LaTeX
Saving variables in LaTeX
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.
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