kks32 / phd-thesis-template

A LaTeX / XeLaTeX / LuaLaTeX PhD thesis template for Cambridge University Engineering Department (CUED)
http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/ThesisStyle/
MIT License
834 stars 399 forks source link

Where to add RequirePackage[german]{babel} ? #32

Closed buk closed 9 years ago

buk commented 9 years ago

Hi,

i would like to print the german month - for example Februrar, instead of February - on the frontpage, but i am not quite sure where to start. I' ve added \RequirePackage[german]{babel} in the PhDThesisPSnPDF.cls file but without any changes.

Thank you for your help!

buk commented 9 years ago

Hi @kks32 found it. Not sure if this is the best solution, but i have changed the submission date ( https://github.com/kks32/phd-thesis-template/blob/master/thesis-info.tex#L34 ) entry to \today

kks32 commented 9 years ago

Hi @buk a better option would be to modify PhDThesisPSnPDF.cls https://github.com/kks32/phd-thesis-template/blob/master/Classes/PhDThesisPSnPDF.cls#L329 entry to \RequirePackage[german]{babel} \RequirePackage[german]{datetime}

Let me know if that helps. In which case, you don't have to modify thesis-info.tex file

buk commented 9 years ago

Hi @kks32 you are right. This is a better solution and it works! I am just a bit curious because i have tried this before i've opened this issue ...

Thank you!

kks32 commented 9 years ago

Hi @buk the datetime package overwrites the settings on the babel package, so it's important to load {datetime} package after babel and specify [german] as an option to the babel and the datetime packages.

buk commented 9 years ago

Ah, i bet that this was my fault! Thank you @kks32 for the explanation!