LaTeX forum ⇒ Theses, Books, Title pagesHow to use babel in SPANISH?

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
marianoaste
Posts: 1
Joined: Sun May 06, 2018 2:37 pm

How to use babel in SPANISH?

Postby marianoaste » Sun May 06, 2018 6:51 pm

I am using a thesis template (http://www.latextemplates.com/template/ ... ral-thesis) but I need the name of all chapter in Spanish. I solved, for example, the problem of "acknowledgementname" like these: (https://tex.stackexchange.com/questions/254627/toc-language-problem/430312#430312) but the name of the main chapters (i.e. Chapter 1, Chapter 2, etc) still in english (I attached an example)
Attachments
chapter.PNG
chapter.PNG (18.28 KiB) Viewed 3861 times

Recommended reading 2021:

LaTeXguide.org • LaTeX-Cookbook.net
LaTeX Beginner's Guide LaTeX Cookbook
User avatar
Stefan Kottwitz
Site Admin
Posts: 9881
Joined: Mon Mar 10, 2008 9:44 pm

How to use babel in SPANISH?

Postby Stefan Kottwitz » Sun May 06, 2018 7:13 pm

Welcome to the forum!

Simply change "english" to "spanish" in the document class options at the beginning of the main.tex file:

\documentclass[
11pt, % The default document font size, options: 10pt, 11pt, 12pt
%oneside, % Two side (alternating margins) for binding by default, uncomment to switch to one side
spanish, % ngerman for German
singlespacing, % Single line spacing, alternatives: onehalfspacing or double-spacing
...


The you will get "Capítulo 1" etc.

Stefan
LaTeX.org admin

Nurban
Posts: 1
Joined: Thu May 24, 2018 11:33 am

How to use babel in SPANISH?

Postby Nurban » Thu May 31, 2018 2:12 pm

Hi Stefan, can you do the same with all the supported languages btw?

User avatar
Stefan Kottwitz
Site Admin
Posts: 9881
Joined: Mon Mar 10, 2008 9:44 pm

How to use babel in SPANISH?

Postby Stefan Kottwitz » Thu May 31, 2018 2:33 pm

Hi Nurban,

welcome to the forum!

Yes, you can do that. Some languages may require specific font settings of cause, in addition.

Stefan
LaTeX.org admin


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 1 guest