move from work dir
This commit is contained in:
44
qoheleth/includes/pagelayout.tex
Normal file
44
qoheleth/includes/pagelayout.tex
Normal file
@ -0,0 +1,44 @@
|
||||
%%% Headers and page styles
|
||||
\usepackage[pagestyles]{titlesec}
|
||||
\usepackage{fancyhdr}
|
||||
\setlength{\headheight}{15.2pt}
|
||||
|
||||
% ourbook style with fancy headers and chapter headings
|
||||
\fancypagestyle{ourbook}{
|
||||
% headers
|
||||
\fancyhf{}
|
||||
\fancyhf[FRO,FLE]{\TitleFont{\thepage}}
|
||||
% \fancyhf[FRE,FLO]{\emph{Patreon Supporter Edition}}
|
||||
\fancyhf[HLE]{\TitleFont{\leftmark}}
|
||||
\fancyhf[HRO]{\TitleFont{\AuthorFull}}
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\renewcommand{\printchaptername}{}
|
||||
\renewcommand{\chapternamenum}{}
|
||||
\renewcommand{\printchapternum}{}
|
||||
\renewcommand{\printchaptertitle}[1]{%
|
||||
\TitleFont\huge ##1}
|
||||
\renewcommand{\partnamefont}{\DisplayFont\huge}
|
||||
\renewcommand{\partnumfont}{\DisplayFont\huge}
|
||||
\renewcommand{\parttitlefont}{\DisplayFont\Huge}
|
||||
\setlength{\parskip}{0pt}
|
||||
}
|
||||
|
||||
% plain style with only page num
|
||||
\fancypagestyle{plain}{
|
||||
\fancyhf{}
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
\fancyhf[FRO,FLE]{\TitleFont{\thepage}}
|
||||
\renewcommand{\printchaptertitle}[1]{%
|
||||
\TitleFont\huge ##1}
|
||||
}
|
||||
|
||||
% single space after periods
|
||||
\frenchspacing
|
||||
|
||||
% Attempt justification at all costs
|
||||
\sloppy
|
||||
|
||||
% Widows and orphans
|
||||
\widowpenalty=9000
|
||||
\clubpenalty=9000
|
||||
Reference in New Issue
Block a user