How to get a value of a variable? For example, I need to add vertical space of a size defined by \topsep. How do I do it?
Thanks
General ⇒ How do I do it?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10340
- Joined: Mon Mar 10, 2008 9:44 pm
How do I do it?
Hi,
welcome to the forum!
You can print it by
Stefan
welcome to the forum!
You can print it by
\the
, or by \showthe
to the log file, or use it directly. Take a look:Code: Select all
\documentclass{article}
\begin{document}
text
\vspace{\topsep}
text
That was additonal space of \the\topsep.
\end{document}
LaTeX.org admin