Skip to content
Snippets Groups Projects
Commit e772c995 authored by Tomáš Nováček's avatar Tomáš Nováček
Browse files

Merge branch 'master' into novacek/paragraph-section

parents daad6fbf df130dc6
No related branches found
No related tags found
1 merge request!30[v1.3.4] Paragraph heading via documentclass option
Pipeline #419197 passed
...@@ -58,9 +58,13 @@ ...@@ -58,9 +58,13 @@
\ProcessOptions\relax \ProcessOptions\relax
   
% main declarations, loading files % main declarations, loading files
\LoadClass[a4paper]{book}[2020/04/10] \LoadClass[a4paper,11pt]{book}[2020/04/10]
\RequirePackage{babel}[2021/03/03] \RequirePackage{babel}[2021/03/03]
\RequirePackage[bottom=4cm,footskip=4em]{geometry}[2020/01/02] %page layout \if@twoside
\RequirePackage[bottom=4cm,footskip=4em]{geometry}[2020/01/02] %page layout
\else
\RequirePackage[left=3.95cm,right=4.0cm,top=4.6cm,bottom=4cm,footskip=4em]{geometry}[2020/01/02] %page layout
\fi
\RequirePackage{setspace}[2011/12/19] %line spacing in title page \RequirePackage{setspace}[2011/12/19] %line spacing in title page
\RequirePackage{xcolor}[2016/05/11] \RequirePackage{xcolor}[2016/05/11]
\RequirePackage[labelsep=space,singlelinecheck=false,font={up,small},labelfont={sf,bf}]{caption}[2020/05/30] \RequirePackage[labelsep=space,singlelinecheck=false,font={up,small},labelfont={sf,bf}]{caption}[2020/05/30]
...@@ -315,13 +319,13 @@ ...@@ -315,13 +319,13 @@
\pagestyle{fancy} \pagestyle{fancy}
\fancyhf{} \fancyhf{}
\if@twoside \if@twoside
\fancyhead[LE]{\leavevmode\smash{\llap{\color{headgray} \bfseries \thepage \hspace*{4em}}}} \fancyhead[LE]{\leavevmode\smash{\llap{\color{headgray} \bfseries \thepage \hspace*{0em}}}}
\fancyhead[RE]{\color{headgray}\bfseries\nouppercase{\leftmark}} \fancyhead[RE]{\color{headgray}\bfseries\nouppercase{\leftmark}}
\else \else
\fancyhead[L]{\leavevmode\smash{\llap{\color{headgray} \bfseries \thepage \hspace*{4em}}}} \fancyhead[L]{\leavevmode\smash{\llap{\color{headgray} \bfseries \thepage \hspace*{4em}}}}
\fancyhead[R]{\color{headgray}\bfseries\nouppercase{\leftmark}} \fancyhead[R]{\color{headgray}\bfseries\nouppercase{\leftmark}}
\fi \fi
\fancyhead[RO]{\leavevmode\smash{\rlap{\hspace*{4em}\color{headgray}\bfseries\thepage}}} \fancyhead[RO]{\leavevmode\smash{\rlap{\hspace*{0em}\color{headgray}\bfseries\thepage}}}
\fancyhead[LO]{\color{headgray}\bfseries\nouppercase{\rightmark}} \fancyhead[LO]{\color{headgray}\bfseries\nouppercase{\rightmark}}
\renewcommand{\headrulewidth}{0pt} \renewcommand{\headrulewidth}{0pt}
% headers and footers end % headers and footers end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment