Update config

This commit is contained in:
2023-01-26 09:35:16 +01:00
parent 67611045ed
commit 7a0ab2ac5b
8 changed files with 447 additions and 312 deletions

View File

@@ -27,6 +27,10 @@
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{tabularx}
\usepackage{floatrow}
\floatsetup[table]{font={footnotesize,sf},capposition=top}
\usepackage[binary-units=true]{siunitx}
@@ -70,15 +74,13 @@
\setkomafont{caption}{\small}
\setkomafont{captionlabel}{\usekomafont{caption}}
% Large number for chapter
\renewcommand*{\chapterformat}{%
\fontsize{50}{55}\selectfont\thechapter\autodot\enskip
}
\setcounter{secnumdepth}{\subsubsectionnumdepth}
\makeatletter
\renewcommand*{\chapterformat}{ \mbox{\chapappifchapterprefix{\nobreakspace}{\color{BrickRed}\fontsize{40}{45}\selectfont\thechapter}\autodot\enskip}}
\renewcommand\@seccntformat[1]{\color{BrickRed} {\csname the#1\endcsname}\hspace{0.3em}}
% Section with color
% \renewcommand\@seccntformat[1]{\color{BrickRed} {\csname the#1\endcsname}\hspace{0.3em}}
\renewcommand\@seccntformat[1]{{\csname the#1\endcsname}\hspace{0.3em}}
\makeatother
\renewcommand{\floatpagefraction}{.8}%
@@ -97,6 +99,7 @@
\bookmarksetup{depth=2}
\usepackage{xpatch} % Recommanded for biblatex
\usepackage[ % use biblatex for bibliography
backend=biber, % use biber backend (bibtex replacement) or bibtex
style=ieee, % bib style
@@ -114,7 +117,15 @@
mincitenames=1 %
]{biblatex}
\addbibresource{ref.bib}
\defbibenvironment{mypubs}
{\list
{}
{\setlength{\leftmargin}{\bibhang}%
\setlength{\itemindent}{-\leftmargin}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}
\AtEveryBibitem{%
\clearfield{urlyear}
@@ -131,9 +142,16 @@
\renewcommand*{\bibfont}{\footnotesize}
\usepackage[sf, scaled=0.9]{quattrocento}
\usepackage{minitoc}
% Change section font
\renewcommand{\mtcSfont}{\small}
% Change indentation
\setlength{\mtcindent}{0pt}
% \usepackage[nottoc]{tocbibind}
\usepackage{crimson}
\usepackage[lf]{ebgaramond}
% \usepackage{crimson}
\usepackage[oldstyle, scale=0.7]{sourcecodepro}
@@ -155,9 +173,6 @@
\setparsizes{0em}{0.1\baselineskip plus .1\baselineskip}{1em plus 1fil}
\usepackage{floatrow}
\floatsetup[table]{font={footnotesize,sf},capposition=top}
\numberwithin{equation}{chapter}
\usepackage{listings}