- Change parameter order in \providelength to match \setlength.
- Remove Part name from appendix and back matter headers.
This commit is contained in:
@@ -9,12 +9,12 @@
|
||||
\hfuzz = 6.0pt
|
||||
\vfuzz = 0.0pt
|
||||
|
||||
\providecommand{\providelength}[2][0pt]{%
|
||||
\NewDocumentCommand{\providelength}{m O{0pt}}{%
|
||||
\ifdeflength{#2}{% It is already defined!
|
||||
}{% Not defined, so define it!
|
||||
\newlength{#2}%
|
||||
\newlength{#1}%
|
||||
}%
|
||||
\setlength{#2}{#1}%
|
||||
\setlength{#1}{#2}%
|
||||
}
|
||||
|
||||
\RequirePackage{microtype}
|
||||
@@ -47,8 +47,9 @@
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage[strict]{changepage}
|
||||
|
||||
\newlength{\contentwidth}
|
||||
\setlength{\contentwidth}{\textwidth + \marginparsep + \marginparwidth}
|
||||
%\newlength{\contentwidth}
|
||||
\providelength{\marparwidth}[\marginparsep + \marginparwidth]
|
||||
\providelength{\contentwidth}[\textwidth + \marparwidth]
|
||||
|
||||
\RequirePackage[balanced]{lua-widow-control}
|
||||
\ifthenelse{\boolean{isDraft}}{
|
||||
|
||||
Reference in New Issue
Block a user