Theses, Books, Title pagesHow to use babel in SPANISH?

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

How to use babel in SPANISH?

Post by marianoaste »

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 ... 312#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 5352 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

How to use babel in SPANISH?

Post by Stefan Kottwitz »

Welcome to the forum!

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

Code: Select all

\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?

Post by Nurban »

Hi Stefan, can you do the same with all the supported languages btw?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

How to use babel in SPANISH?

Post by Stefan Kottwitz »

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
Post Reply