Skip to content

Commit fc68615

Browse files
ElBi21ElBi21
ElBi21
authored and
ElBi21
committed
Slight changes to the class + addition of fancyhdr
1 parent de75216 commit fc68615

File tree

2 files changed

+28
-5
lines changed

2 files changed

+28
-5
lines changed

main.pdf

4 Bytes
Binary file not shown.

notex.cls

+28-5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
\RequirePackage{tikz} % Package for drawings
3131
\RequirePackage{array} % Package for better tables options
3232
\RequirePackage{titlesec} % Package for customizing titles
33+
\RequirePackage{fancyhdr}
3334

3435
\RequirePackage[T1]{fontenc} % Package for font encoding
3536
\RequirePackage{fouriernc} % Package with the font
@@ -45,6 +46,7 @@
4546
\RequirePackage{graphicx} % Package for images
4647
\RequirePackage{multirow} % Package for multirows
4748
\RequirePackage{nicefrac} % Package for better text fractions
49+
\RequirePackage{makecell} % Package for better cell formatting
4850

4951
\tcbuselibrary{most} % Loads tcolorbox options
5052
\DeclareMathAlphabet{\mathcal}{OMS}{zplm}{m}{n}
@@ -452,14 +454,35 @@
452454

453455
%% --- TitleSec options
454456

455-
\titleformat{\chapter}[display]{\vspace{-40pt}\fontsize{20pt}{20pt}\selectfont}{\textsc{\textcolor{gray!20}{\raisebox{43pt}{Chapter}\fontsize{120pt}{120pt}\selectfont{\thechapter}}}}{0pt}{\vspace{-47pt}\fontsize{24pt}{24pt}\selectfont\quad}
457+
\titleformat{\chapter}[display]{\vspace{-40pt}\fontsize{20pt}{20pt}\selectfont}{\textsc{\textcolor{gray!30}{\raisebox{43pt}{Chapter}\fontsize{120pt}{120pt}\selectfont{\thechapter}}}}{0pt}{\vspace{-47pt}\fontsize{24pt}{24pt}\selectfont\quad}
456458

457459

460+
%% --- FancyHDR options
461+
462+
\fancypagestyle{fancy}{%
463+
\fancyhf{}
464+
%\fancyfoot[C]{\footnotesize Made by \href{https://www.leonardobiason.com}{Leonardo Biason} \copyright 2022-2024 - Please refer to the \hyperref[chap:introduction]{introduction} if you want to share this material \normalsize}
465+
%\fancyhead[R]{\nouppercase{\rightmark}}
466+
\fancyfoot[R]{Page \textbf{\thepage}}
467+
%\renewcommand{\footrulewidth}{0.4pt}
468+
\renewcommand{\headrulewidth}{0pt}
469+
}
470+
471+
\fancypagestyle{plain}{%
472+
\fancyhf{}
473+
%\fancyfoot[C]{\footnotesize Made by \href{https://www.leonardobiason.com}{Leonardo Biason} \copyright 2022-2024 - Please refer to the \hyperref[chap:introduction]{introduction} if you want to share this material \normalsize}
474+
%\fancyhead[R]{\nouppercase{\rightmark}}
475+
\fancyfoot[R]{Page \textbf{\thepage}}
476+
%\renewcommand{\footrulewidth}{0.4pt}
477+
}
478+
458479

459480
%% --- Post-Load setups
460481
\geometry{
461-
left=\marleft ,
462-
right=\marright ,
463-
top=\martop ,
482+
left=\marleft,
483+
right=\marright,
484+
top=\martop,
464485
bottom=\marbottom
465-
}
486+
}
487+
488+
\pagestyle{fancy}

0 commit comments

Comments
 (0)