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]{%
|
||||
|
Binary file not shown.
@@ -205,6 +205,10 @@ Sets whether to use an \texttt{alphabetic}, a \texttt{numeric}, or an \texttt{au
|
||||
For further information please check out the biblatex documentation\footnote{\url{http://www.ctan.org/pkg/biblatex}}.
|
||||
The default is \texttt{alphabetic}.
|
||||
|
||||
\boolitem[false]{wrapfooter}
|
||||
|
||||
Sets whether to wrap the name of a chapter in the footer or not.
|
||||
|
||||
\end{optionlist}
|
||||
|
||||
\end{document}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
% !TEX root = thesis-example.tex
|
||||
% !TEX root = my-thesis.tex
|
||||
|
||||
|
||||
% **************************************************
|
||||
@@ -58,6 +58,7 @@
|
||||
bibsys=bibtex,%
|
||||
bibfile=bib-refs,%
|
||||
bibstyle=alphabetic,%
|
||||
wrapfooter=false,%
|
||||
}{cleanthesis}
|
||||
\usepackage{cleanthesis}
|
||||
|
||||
|
BIN
my-thesis.pdf
BIN
my-thesis.pdf
Binary file not shown.
Reference in New Issue
Block a user