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 5844 times

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10324
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

Code, edit and compile here:
\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
...
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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: 10324
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