|
545 | 545 | % question;
|
546 | 546 | % however, this can also be arbitrary text.
|
547 | 547 | %
|
| 548 | +% \subsection{Language Support and Hyphenation}\label{sec:doct-se2thesis-lang} |
| 549 | +% |
| 550 | +% The study regulations of the University of Passau require students to write |
| 551 | +% their thesis in either German or English. For both cases it is recommended |
| 552 | +% to load a package for the correct hyphenation patters. Usually, one can |
| 553 | +% either choose between the \pkg{babel} and \pkg{polyglossia} package. For a |
| 554 | +% detailed discussion in the differences and which to choose, please use the |
| 555 | +% search engine of your choice. |
| 556 | +% |
| 557 | +% For this documentation we stick with the \pkg{babel} package, which is often |
| 558 | +% considered to be the standard package. |
| 559 | +% |
| 560 | +% If you write your thesis in German, load \pkg{babel} in your preamble like |
| 561 | +% follows |
| 562 | +% \begin{verbatim} |
| 563 | +% \usepackage[ngerman]{babel} |
| 564 | +% \end{verbatim} |
| 565 | +% For a thesis in English, you have to also load the German variant plus the |
| 566 | +% English one as the default (see \cref{sec:doc-se2thesis-authorship} for an |
| 567 | +% explanation) |
| 568 | +% \begin{verbatim} |
| 569 | +% \usepackage[ngerman,main=UKenglish]{babel} |
| 570 | +% \end{verbatim} |
| 571 | +% |
| 572 | +% Note that by default, \LaTeX{} does not provide hyphenation for compound |
| 573 | +% words, which is explained in the \TeX{} Book~\cite[p.~454]{TODO} and a |
| 574 | +% StackExchange post\footnote{\href{https://tex.stackexchange.com/a/63234/14622}{https://tex.stackexchange.com/a/63234/14622}}. The \pkg{babel} package |
| 575 | +% provides a way (called shorthands) for German, which allows to reenable |
| 576 | +% hyphenation for compound words (as they are common on German). These |
| 577 | +% shorthands are by default not available for English, but they can easily be |
| 578 | +% added by adding |
| 579 | +% \begin{verbatim} |
| 580 | +% \useshorthands{"} |
| 581 | +% \addto\extrasUKenglish{\languageshorthands{ngerman}} |
| 582 | +% \end{verbatim} |
| 583 | +% after loading \pkg{babel} with the aforementioned \cmd{\usepackage} |
| 584 | +% macro\footnote{see https://tex.stackexchange.com/a/298844/14622}. |
| 585 | +% |
| 586 | +% \emph{Please note:} loading the \pkg{hyphenat} package is strongly discouraged |
| 587 | +% by the \pkg{se2thesis} maintainer because it conflicts with the \env{hyp} |
| 588 | +% environment provided by \pkg{se2thesis} (see \cref{sec:doc-se2thesis-summaries}). |
| 589 | +% |
548 | 590 | % \end{documentation}
|
549 | 591 | %
|
550 | 592 | % \clearpage
|
|
0 commit comments