How can I show double numbers (for example iii, 5/229) as in this book
Best Answer
You need \usepackage{hyperref} and the pagestyles like \pagenumbering{roman}(i,ii,...), \pagenumbering{arabic}(1,2,...) or \pagenumbering{Roman}(I,I,...).
Example:
\documentclass[10pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{hyperref} %https://www.ctan.org/pkg/hyperref?lang=de <---------necessary package
\begin{document}
% page numbers: i,ii,...
\pagenumbering{roman} % small roman numbers <---------------------------(style i,ii,...)
\pagestyle{empty}%don't show page number
\textbf{TITEL}
\cleardoublepage %\newpage
% page numbers: 1,2,...
\pagenumbering{arabic} % arabic numbers <-----------------(style 1,2,...)
\pagestyle{plain}% show page numbers again
Change pagenumbering style to arabic!
Your text. Page 1.
\cleardoublepage %\newpage
Next page here.
\cleardoublepage %\newpage
% page numbers: I,II,...
\pagenumbering{Roman} % big roman numbers <-----------------------------(Style: I,II,...)
Change pagenumbering style to Roman. For example appendix...
\cleardoublepage %\newpage
End.
\end{document}
Solution: Collage of the different pages with different numbering:
It's quite unclear why pages shouldn't be numbered. Anyway, here's the trick:
\documentclass{book}
\begin{document}
\frontmatter
\pagenumbering{gobble} % omitting this line will number pages with roman numerals
\tableofcontents
\mainmatter
\chapter{First}
text
\end{document}
What we do is save the page counter before exiting Roman pages the first time, and reinstate that page counter when (i.e., after) re-entering Roman page numbering later in the document.
Best Answer
You need
\usepackage{hyperref}
and the pagestyles like\pagenumbering{roman}
(i,ii,...),\pagenumbering{arabic}
(1,2,...) or\pagenumbering{Roman}
(I,I,...).Example:
Solution: Collage of the different pages with different numbering: