Page LayoutWrite Chapter 1 instead of Chapter One

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
landerrojo
Posts: 2
Joined: Mon May 05, 2014 12:32 pm

Write Chapter 1 instead of Chapter One

Post by landerrojo »

I use a latex template to write my Thesis. This template was originally in english so I used the package babel to translate it to Spanish. However, the Chapter number, that appears writter wit letter, is still in english.

Any idea to change the chapter number to numbers?

Thanks in advance

Lander

Recommended reading 2024:

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

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

landerrojo
Posts: 2
Joined: Mon May 05, 2014 12:32 pm

Write Chapter 1 instead of Chapter One

Post by landerrojo »

And this is the code corresponding to the chapter

Code: Select all

%Next command defines the opening and closing punctuation of citations
\setcitestyle{open={},close={}}

\renewcommand{\chaptermark}[1]{
    \markboth{\chaptername
   \ \thechapter.\ #1}{}
}

\renewcommand{\chaptermark}[1]{\markboth{\small \emph{\thechapter. #1}}}{}
\renewcommand\thechapter{\arabic{chapter}}

\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
Last edited by Stefan Kottwitz on Mon May 05, 2014 9:24 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Write Chapter 1 instead of Chapter One

Post by Stefan Kottwitz »

Hi Lander,

welcome to the forum!

Do you have a link where we can download and test the template? I'm sure the cause is not within the code above.

Stefan
LaTeX.org admin
Post Reply