diff options
Diffstat (limited to 'style/style.tex')
| -rw-r--r-- | style/style.tex | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/style/style.tex b/style/style.tex index a2184ad..a95f558 100644 --- a/style/style.tex +++ b/style/style.tex @@ -4,17 +4,37 @@ \usepackage[many]{tcolorbox} \tcbuselibrary{skins, breakable} \usetikzlibrary{calc} +% Specified separately in case margins need to be changed. +\usepackage{geometry} -\usepackage{xspace,hyperref, lipsum, booktabs, caption, fancyhdr, footmisc, nomencl, rotating, setspace, subfigure,tocbibind, vmargin, watermark, graphicx, pifont, float, array, ipsum, circledsteps, inconsolata, listings} +% For a nice table of contents. +\usepackage{tocloft} +% For the font. +\usepackage{fouriernc} -\hypersetup { - hidelinks=false, - colorlinks=true, - citecolor=Red, - linkcolor=Red, -} +% For beautiful appendices +\usepackage[page,toc,titletoc,title]{appendix} + +% This removes the self-reference to toc in the toc. +\usepackage[nottoc]{tocbibind} + +\usepackage{xspace, lipsum, booktabs, caption, setspace, vmargin, graphicx, pifont, float, array, ipsum, circledsteps, inconsolata, listings} + +% Must be separately in case hidelinks=true option is needed. +\usepackage[hidelinks]{hyperref} + +% Makes the TOC title font and number in a sans serif font. +\renewcommand\cftchapfont{\bfseries\sffamily} +\renewcommand\cftchappagefont{\bfseries\sffamily} +% Makes the chapter spacing in the TOC less. +\setlength{\cftbeforechapskip}{5pt} + +% Specifies the spacing between the lines. +\renewcommand\baselinestretch{1.1} % Glossaries loads amsmath \usepackage[acronym, toc]{glossaries} + +% For better references. Must be loaded the last. \usepackage{cleveref} \textwidth 15cm \textheight 22cm @@ -64,13 +84,6 @@ \lstset{style=mystyle} - - -\definecolor{ChapterBackground}{HTML}{101010} -\definecolor{ChapterForeground}{HTML}{e93820} -\definecolor{CoverForeground}{HTML}{ee0000} - -%borderline west = {0.5cm}{0pt}{yellow!50!black}, \newtcolorbox{mynote}{% enhanced, breakable, @@ -92,4 +105,3 @@ }, } -\renewcommand\baselinestretch{1.1} |
