Generalpage numbering/correction

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Jongomez
Posts: 48
Joined: Tue Nov 28, 2023 9:29 pm

page numbering/correction

Post by Jongomez »

Sorry, please forget this post. I have redone the code and now is OK. Sorry for disturbing you.

See last line THIS IS MY CODING:
\renewcommand{\contentsname}{Contenido}

\frontmatter
\tableofcontents
\markright{\MakeUppercase{Contenido}}

\markright{\MakeUppercase{Prefacio}}
\include{sections.tex/Prefacio}

\addcontentsline{toc}{chapter}{Prefacio}

\markright{\MakeUppercase{Introducción}}
\include{sections.tex/Introducción}

\addcontentsline{toc}{chapter}{Introducción}

\mainmatter

\input{sections.tex/01Capítulo1}
\input{sections.tex/02Capítulo2}
\input{sections.tex/03Capítulo3}
\input{sections.tex/04Capítulo4}
\input{sections.tex/05Capítulo5}
\input{sections.tex/06Capítulo6}
\input{sections.tex/07Capítulo7}
\input{sections.tex/08Capítulo8}
\input{sections.tex/09Capítulo9}
\input{sections.tex/10Capítulo10}

\newpage

My Problem:
After compiling:
Contenido
Prefacio iv ------> Should be II (roman) instead of IV
Introducción 1-----> Should be IV instead of 1
1. Sistemas y Experimentos 1
1.1. La Mecánica cuántica es diferente . . . . . . . . . . . . . . . . . . . . . . . 1

Nonetheless, Prefacio and Introducción pages appear correctly numbered as II, II, IV.----> should be II, III, IV

Thank you for your help

Recommended reading 2024:

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

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

Post Reply