Commit b27cf57 1 parent b0338f8 commit b27cf57 Copy full SHA for b27cf57
File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ and this project adheres to
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Fixed
11
+
12
+ - Prevent line break in the lower back title if one added a manual line break
13
+ using ` \\ ` to the title in order to layout it properly for the front title
14
+ page.
15
+
10
16
## [ v4.3.1] – 2024–07–31
11
17
12
18
### Added
Original file line number Diff line number Diff line change 1409
1409
% \end{macrocode}
1410
1410
%
1411
1411
% \begin{macro}{\@lowertitleback}
1412
- % Afterwards, override the definition of \cs{@lowertitleback}.
1412
+ % Afterwards, override the definition of \cs{@lowertitleback}. To prevent
1413
+ % line breaks in the title (that might be necessary to layout it properly on
1414
+ % the front title page), we place a group around \cs{@title} and temporarily
1415
+ % redefine \cmd{\\} to do nothing.
1413
1416
% \begin{macrocode}
1414
1417
\renewcommand *{\@lowertitleback }{%
1415
1418
\group _begin:
1416
1419
\noindent \textbf {\@author }:\\
1417
- \emph {\@title }\\
1420
+ \group _begin:
1421
+ \let \\ \relax
1422
+ \emph {\@title }
1423
+ \group _end:\\
1418
1424
\tl _if_eq:NnT \l _@@_thesis_type_tl { bachelor }
1419
1425
{ \GetTranslation {Bachelor-thesis},~ }
1420
1426
\tl _if_eq:NnT \l _@@_thesis_type_tl { master }
You can’t perform that action at this time.
0 commit comments