fix(latex): creating header and footer styles preset
This commit is contained in:
@@ -41,11 +41,21 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
% Header and footer
|
% Header and footer
|
||||||
\pagestyle{fancy}
|
\fancypagestyle{fancy}{%
|
||||||
\fancyhf{}
|
\fancyhf{}
|
||||||
\fancyhead[R]{\nouppercase{\rightmark}}
|
\fancyhead[R]{\nouppercase{\rightmark}}
|
||||||
\fancyhead[L]{\nouppercase{\leftmark}}
|
\fancyhead[L]{\nouppercase{\leftmark}}
|
||||||
\fancyfoot[C]{\thepage}
|
\fancyfoot[C]{\thepage}
|
||||||
|
}
|
||||||
|
\fancypagestyle{fancyplainfrontmatter}{%
|
||||||
|
\renewcommand{\headrulewidth}{0pt}
|
||||||
|
\fancyfoot[C]{\thepage}
|
||||||
|
}
|
||||||
|
\fancypagestyle{fancyplain}{%
|
||||||
|
\fancyhf{}
|
||||||
|
\renewcommand{\headrulewidth}{0pt}
|
||||||
|
\fancyhead[R]{\thepage}
|
||||||
|
}
|
||||||
|
|
||||||
% Chapter formatting
|
% Chapter formatting
|
||||||
\titleformat{\chapter}[display]
|
\titleformat{\chapter}[display]
|
||||||
|
|||||||
Reference in New Issue
Block a user