LaTeX forum ⇒ Theses, Books, Title pages ⇒ How 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?

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 (18.28 KiB) Viewed 3861 times

LaTeXguide.org • LaTeX-Cookbook.net

Stefan Kottwitz
Posts: 9881
Joined: Mon Mar 10, 2008 9:44 pm

How to use babel in SPANISH?

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

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

How to use babel in SPANISH?

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

Stefan Kottwitz
Posts: 9881
Joined: Mon Mar 10, 2008 9:44 pm

How to use babel in SPANISH?

Hi Nurban,

welcome to the forum!

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

Stefan