How can I get my sections and subsections headings to go along the lines of: 1i, 1ii, 1iii, 2i, 2ii etc...
Asked
Active
Viewed 3,542 times
2
Liam Baron
- 287
1 Answers
4
All LaTeX counters automatically define a counter format routine, named \the..., e.g. if the counter is named foo, than there is \thefoo. This defaults to \arabic{foo}, i.e. arabic numbers, unless a driver counter was given too.
\renewcommand{\thesubsection}{\arabic{section}\roman{subsection}}
will use the arabic format of section and the roman format output of `subsection. It will output the subsections as requested, but it does not look very nice.
\documentclass{article}
\usepackage{blindtext}
\renewcommand{\thesubsection}{\arabic{section}\roman{subsection}}
\begin{document}
\blinddocument
\end{document}
\renewcommand{\thesubsection}{\arabic{section}\roman{subsection}}but the output isn't very nice. – Apr 20 '15 at 14:24