Added new package option wrapfooter to allow very long chapter names to wrap (multilines).
This commit is contained in:
@@ -92,6 +92,10 @@
|
||||
\define@choicekey*[ct]{cthesis}{bibstyle}[\val\bibstylenr]{alphabetic,numeric,authoryear}[alphabetic]{\def\cthesis@bibstyle{#1}}
|
||||
\setkeys[ct]{cthesis}{bibstyle=alphabetic}
|
||||
|
||||
% OPTION wrapfooter
|
||||
% --> values = true|false
|
||||
\define@boolkey[ct]{cthesis}{wrapfooter}[false]{}
|
||||
\setkeys[ct]{cthesis}{wrapfooter=false}
|
||||
|
||||
\DeclareOptionX*{
|
||||
\PackageWarning{cleanthesis}{Unknown option ‘\CurrentOption’}%
|
||||
@@ -361,7 +365,11 @@
|
||||
\footnotesize%
|
||||
{\color{ctcolorfootermark}\textbf{\chaptername\ \thechapter}}%
|
||||
\quad%
|
||||
{\color{ctcolorfootertitle}#1}%
|
||||
\ifct@cthesis@wrapfooter%
|
||||
{\color{ctcolorfootertitle}\parbox[t]{.7\textwidth}{#1}}%
|
||||
\else%
|
||||
{\color{ctcolorfootertitle}#1}%
|
||||
\fi%
|
||||
}{}%
|
||||
}
|
||||
\renewcommand{\sectionmark}[1]{%
|
||||
|
Reference in New Issue
Block a user