GeneralFinding predefined lengths

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
User avatar
drpartha
Posts: 43
Joined: Wed Dec 02, 2009 1:41 am

Finding predefined lengths

Post by drpartha »

Every LaTeX document class predefines various lengths used by that class e.g. various indents, various margins, line spacing etc. Is there a way to find out all these lengths from within a LaTeX docuent ?

Can someone guide me please?

partha

Recommended reading 2024:

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

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

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Finding predefined lengths

Post by Johannes_B »

package printlen

Code: Select all

\documentclass{article}\usepackage{printlen}
\begin{document}
\verb!\textwidth! is \printlength{\textwidth}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
drpartha
Posts: 43
Joined: Wed Dec 02, 2009 1:41 am

Re: Finding predefined lengths

Post by drpartha »

Thank you. You solved this mystery for me.

partha
Post Reply