Skip to content
Marei Peischl edited this page Oct 1, 2023 · 1 revision

This page includes special request concerning the \maketitle mechanism.

Language depending date setup

(requested by #443)

In TUDaPhD the first title page is using the description in German whereas the title back may use the main language. The used value for the date variables are the same, therefore it might be necessary to not insert text like \submissiondate{1. Januar 2024}which will stick to that text. To resolve that issue there is a bunch of options:

There are 3 options to resolve this.

  1. Use ISO dates. Since DIN5008-2020 those are the preferred date formats in German documents as well.
  2. Use the babel mechanism:
       \iflanguage{english}{<english date>}{<other date>}
    
  3. Define a macro which is language depending and holds the date
  4. Adjust \today and use the format saved there
    \day=1\month=1\year=2024
    
    Then \today will give you that date instead of the current one.
Clone this wiki locally