Theses, Books, Title pagesMasters-doctoral-thesis: apply a specific language to a specific chapter

Classicthesis, Bachelor and Master thesis, PhD, Doctoral degree
Post Reply
a_michaut
Posts: 2
Joined: Thu Aug 09, 2018 4:50 am

Masters-doctoral-thesis: apply a specific language to a specific chapter

Post by a_michaut »

Hi,

In the masters-doctoral-thesis template the language is chosen when the document class is called in the main.
This is applied to the whole thesis.
However, I would like to change the language just for one specific chapter. Is this possible?

Thanks for your help!

Recommended reading 2024:

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

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

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Masters-doctoral-thesis: apply a specific language to a specific chapter

Post by Johannes_B »

Yes. Look at the babel documentation.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Masters-doctoral-thesis: apply a specific language to a specific chapter

Post by Stefan Kottwitz »

Welcome to the forum!

That's the link: babel In the \usepackage options, add the language name, later in the document you can switch languages by the \selectlanguage command.

Stefan
LaTeX.org admin
a_michaut
Posts: 2
Joined: Thu Aug 09, 2018 4:50 am

Masters-doctoral-thesis: apply a specific language to a specific chapter

Post by a_michaut »

Thanks a lot!
I was trying to use the \usepackage command but apparently, there's a conflict with the class document. However, just using the \selectlanguage command works fine!
Thanks!
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Masters-doctoral-thesis: apply a specific language to a specific chapter

Post by Johannes_B »

Package babel is already loaded by the document class, so an option clash is expected. Choose the languages you need in the documentclass options.
You might also want to take a look at https://github.com/johannesbottcher/MDT-Quick-Manual/
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Gyovy
Posts: 1
Joined: Wed Aug 29, 2018 7:59 am

Masters-doctoral-thesis: apply a specific language to a specific chapter

Post by Gyovy »

Thanks Johannes_B, Thanks for the contribution, I have applied it with a good result

Code: Select all

\newcaptionname{spanish}{\acknowledgementname}{Agradecimientos}
\newcaptionname{spanish}{\byname}{por}
\newcaptionname{spanish}{\authorshipname}{Declaraci\'on de autor\'ia}
\newcaptionname{spanish}{\constantsname}{Constantes f\'isicas}
\newcaptionname{spanish}{\symbolsname}{Lista de s\'imbolos}
User avatar
SvetWill
Posts: 1
Joined: Tue Feb 08, 2022 2:00 pm

Masters-doctoral-thesis: apply a specific language to a specific chapter

Post by SvetWill »

I think it is possible to change the language for one particular chapter. I used this method when I was learning two foreign languages simultaneously. Half of the dissertation was in English, and a half was in Dutch. It was pretty tricky for me to switch from one language to another, but I used auxiliary materials. I used an online translator in the process. Unfortunately, the online translator did not always translate specific phrases correctly. So I ordered a dictionary from https://www.amazon.com/Dutch-Frequency- ... 9492637340. Thanks to this dictionary, I translated all the words and phrases correctly and made fewer mistakes.
Post Reply