I want roman section numbers to be followed by a period in TOC and section titles. Here is the MWE.
\documentclass{book}
\renewcommand{\thesection}{\Roman{section}.}
\begin{document}
\tableofcontents
\section{First section\label{l}}
This is Section \ref{l}.
\end{document}
This results in
An extra period in the reference appears. However, if I remove the trailing period from
\renewcommand{\thesection}{\Roman{section}.}
,
the dots in TOC and section label disappear with it.
How can I solve this? Thank you.
This is Section \ref{l}.
i.e. make itThis is Section \ref{l}
– Moriambar Apr 24 '17 at 7:35Section \ref{l} contains new definitions
will have an undesired period in the middle. – Anvita Apr 24 '17 at 7:39\thesection
is not good idea – touhami Apr 24 '17 at 8:26