mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-10 05:01:11 -06:00
Change colors for links and hyperref (#206)
* Change colors for links and hyperref This is less in your face than what we previously had. Discussion in : https://github.com/hendricius/the-sourdough-framework/discussions/201 There might be ways to make that better (not in your face and clickable ?) https://tex.stackexchange.com/questions/555663/create-a-table-of-contents-with-links-in-all-text-and-different-colours-for-sect * Remove colors for links in To* As per @hendricius input
This commit is contained in:
@@ -13,8 +13,10 @@
|
|||||||
\titlepage
|
\titlepage
|
||||||
|
|
||||||
\frontmatter
|
\frontmatter
|
||||||
% \tableofcontents
|
{%
|
||||||
|
\hypersetup{hidelinks}
|
||||||
\ifdefined\HCode\else\tableofcontents\fi
|
\ifdefined\HCode\else\tableofcontents\fi
|
||||||
|
}
|
||||||
|
|
||||||
\input{intro/foreword}
|
\input{intro/foreword}
|
||||||
\input{intro/preface}
|
\input{intro/preface}
|
||||||
@@ -61,8 +63,11 @@
|
|||||||
|
|
||||||
\backmatter
|
\backmatter
|
||||||
\printbibliography
|
\printbibliography
|
||||||
|
{%
|
||||||
|
\hypersetup{hidelinks}
|
||||||
\listofflowcharts
|
\listofflowcharts
|
||||||
\listoftables
|
\listoftables
|
||||||
\listoffigures
|
\listoffigures
|
||||||
|
}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{booktabs}
|
\usepackage{booktabs}
|
||||||
\usepackage{longtable}
|
\usepackage{longtable}
|
||||||
\usepackage{tocbasic}
|
|
||||||
\usepackage{chemformula}
|
\usepackage{chemformula}
|
||||||
\usepackage{chemfig}
|
\usepackage{chemfig}
|
||||||
\usepackage{booktabs}
|
\usepackage{booktabs}
|
||||||
@@ -67,7 +66,10 @@
|
|||||||
\usepackage{bookmark}
|
\usepackage{bookmark}
|
||||||
\hypersetup{%
|
\hypersetup{%
|
||||||
linktoc=all,
|
linktoc=all,
|
||||||
allcolors=codeblue,
|
linkcolor = hlorange,
|
||||||
|
urlcolor = codeblue,
|
||||||
|
citecolor = hlocre,
|
||||||
|
breaklinks = true,
|
||||||
pdfinfo={%
|
pdfinfo={%
|
||||||
Title={The Sourdough Framework},
|
Title={The Sourdough Framework},
|
||||||
Author={Hendrik Kleinw\"achter},
|
Author={Hendrik Kleinw\"achter},
|
||||||
@@ -81,6 +83,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
% Folders where to search for images
|
% Folders where to search for images
|
||||||
\graphicspath{
|
\graphicspath{
|
||||||
{images/}
|
{images/}
|
||||||
|
|||||||
Reference in New Issue
Block a user