LaTeX forum ⇒ Theses, Books, Title pagesMasters-doctoral-thesis: apply a specific language to a specific chapter Topic is solved

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

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

Postby a_michaut » Mon Aug 27, 2018 3:40 pm

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!

Tags:

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

Postby Johannes_B » Tue Aug 28, 2018 1:54 am

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: 9203
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Aug 28, 2018 8:00 am

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
Site admin

a_michaut
Posts: 2
Joined: Thu Aug 09, 2018 4:50 am

Postby a_michaut » Tue Aug 28, 2018 9:21 pm

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: 3907
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Wed Aug 29, 2018 6:34 am

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

Postby Gyovy » Wed Aug 29, 2018 8:07 am

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

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


Return to “Theses, Books, Title pages”

Who is online

Users browsing this forum: No registered users and 3 guests