The standard classes article
and report
use sizeXY.clo
to set parameters for the XYpt
option, that is 10pt
(default), 11pt
and 12pt
.
In size10.clo
we find
\if@twocolumn
\setlength\parindent{1em}
\else
\setlength\parindent{15\p@}
\fi
which means that the parindent is different in twocolumn
mode than in one column typesetting. The command \p@
stands for a dimension register storing the value 1pt, so 15\p@
is equivalent to 15pt
. In size11.clo
there is
\if@twocolumn
\setlength\parindent{1em}
\else
\setlength\parindent{17\p@}
\fi
and in size12.clo
there is
\if@twocolumn
\setlength\parindent{1em}
\else
\setlength\parindent{1.5em}
\fi
The same values are found in bk10.clo
, bk11.clo
and bk12.clo
that are used by the book
class.
Note that these values are set after a \normalsize
declaration, but before \normalfont
is issued, so the value of em
is the one relative to the corresponding font in the Computer Modern family.
If you want to set a value of \parindent
in em units relative to the document font, do
\AtBeginDocument{\setlength{\parindent}{1em}}
(or whatever value you prefer).
\the\parindent
to print it in a minimal or\showthe\parindent
to see it on the terminaltex
(orlatex
), then hit return, you're given an interactive prompt where you could then type\showthe\parindent
, hit return, and then get the output:> 20 pt.
Then typex
and return to exit.