Theses, Books, Title pages ⇒ Masters-doctoral-thesis: apply a specific language to a specific chapter
Masters-doctoral-thesis: apply a specific language to a specific chapter
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!
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!
NEW: TikZ book now 40% off at Amazon.com for a short time.
- 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
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.
- 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
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
That's the link:

Stefan
LaTeX.org admin
Masters-doctoral-thesis: apply a specific language to a specific chapter
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!
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!
- 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
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/
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.
Masters-doctoral-thesis: apply a specific language to a specific chapter
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}
Masters-doctoral-thesis: apply a specific language to a specific chapter
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.