Page LayoutRoman number in PDF reader

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
User avatar
jvm
Posts: 9
Joined: Thu Jul 15, 2010 3:22 pm

Roman number in PDF reader

Post by jvm »

Hi

I'm new in LaTeX and trying to write my Master Thesis in it. Now I was compiling the file and i saw that the frontmatter uses roman letters (which i like), however they are not used in PDF reader as roman letters. How could I set LaTeX in a way the frontmatter will be read as I-II-. and the mainmatter as 1-2-... in the page selector of my PDF reader (on the pages itself it's working, but not for Adobe or whatever you use)?

Here a MWE with other packages I use commented out:

Code: Select all

\documentclass[11pt]{book}
\pagestyle{headings}

% Packages
%\usepackage{a4wide}
%\usepackage{lscape}

%\usepackage{color}
%\usepackage{graphics,graphicx,subfigure,wrapfig}
%\usepackage{synttree}
\usepackage{appendix}
%\usepackage[numbers]{natbib}
%\usepackage{polynom,amssymb,amsmath}
%\usepackage{multirow}
  
\begin{document}

\frontmatter
\begin{titlepage}
%\include{titlepage}
\end{titlepage}
\tableofcontents 

\mainmatter
\chapter{Test}
Test text
%\include{introduction}
%\include{conclusion}

\appendix
\addappheadtotoc
\chapter{My Appendix}
Test appendix

\backmatter
\cleardoublepage
\addcontentsline{toc}{chapter}{References}
%\bibliographystyle{abbrvnat}
%\bibliography{References}

\end{document}
Last edited by jvm on Thu Jul 15, 2010 8:15 pm, edited 1 time in total.
I have not failed. I’ve just found 10,000 ways that won’t work - Thomas A. Edison

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

jvm
Posts: 9
Joined: Thu Jul 15, 2010 3:22 pm

Roman number in PDF reader

Post by jvm »

Offcourse, allways when you post somewhere and look further you find the solution. But to help people who want the same this was my solution (if there is a better or simpler one I would be glad to hear ;) )

Code: Select all

\usepackage[%
  colorlinks,
  linkcolor=black,
  urlcolor=black,
  citecolor=black,
  plainpages=false,
  pdfpagelabels
]{hyperref}
I have not failed. I’ve just found 10,000 ways that won’t work - Thomas A. Edison
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Roman number in PDF reader

Post by localghost »

A topic with a solved problem should be marked accordingly as described in Section 3 of the Board Rules.


Best regards and welcome to the board
Thorsten
Post Reply