feat: Add some colors and title formatting
- Hide links in glossary entries
This commit is contained in:
parent
69b607afc6
commit
1bcb211e40
|
@ -33,7 +33,7 @@
|
||||||
| segment_duplcation | segment duplication | Long stretches of DNA sequences with high identity score |
|
| segment_duplcation | segment duplication | Long stretches of DNA sequences with high identity score |
|
||||||
| retroduplication | retroduplication | Duplication of a gene through retro-transcription of its RNA transcript |
|
| retroduplication | retroduplication | Duplication of a gene through retro-transcription of its RNA transcript |
|
||||||
| autopolyploidisation | autopolyploidisation | Polyploidisation within the same species |
|
| autopolyploidisation | autopolyploidisation | Polyploidisation within the same species |
|
||||||
| allopolyploidisation | allopolyploidisation | Polyploidisation with genetic material comming from a diverged species |
|
| allopolyploidisation | allopolyploidisation | Polyploidisation with genetic material coming from a diverged species |
|
||||||
| polyspermy | polyspermy | Fertilization of an egg by more than one sperm |
|
| polyspermy | polyspermy | Fertilization of an egg by more than one sperm |
|
||||||
| segment_duplication | segment duplication | DNA sequences present in multiple locations within a genome that share high level of sequence identity |
|
| segment_duplication | segment duplication | DNA sequences present in multiple locations within a genome that share high level of sequence identity |
|
||||||
| subfunctionalization | subfunctionalization | Fate of a duplicate gene which gets a part of the original gene function, the function being shared among multiple duplicates |
|
| subfunctionalization | subfunctionalization | Fate of a duplicate gene which gets a part of the original gene function, the function being shared among multiple duplicates |
|
||||||
|
|
BIN
report.pdf (Stored with Git LFS)
BIN
report.pdf (Stored with Git LFS)
Binary file not shown.
|
@ -12,9 +12,17 @@
|
||||||
\RequirePackage{float}
|
\RequirePackage{float}
|
||||||
\RequirePackage{caption}
|
\RequirePackage{caption}
|
||||||
\RequirePackage{subcaption}
|
\RequirePackage{subcaption}
|
||||||
\RequirePackage{xcolor}
|
|
||||||
\RequirePackage{csquotes}
|
\RequirePackage{csquotes}
|
||||||
\RequirePackage[english]{babel}
|
\RequirePackage[english]{babel}
|
||||||
|
|
||||||
|
% Colors
|
||||||
|
\RequirePackage{xcolor}
|
||||||
|
\definecolor{lamme2024-blue}{HTML}{008682}
|
||||||
|
\colorlet{primary}{lamme2024-blue}
|
||||||
|
\colorlet{primaryLink}{primary!60!blue}
|
||||||
|
\colorlet{primaryCite}{red!70!primary}
|
||||||
|
|
||||||
|
|
||||||
% Math
|
% Math
|
||||||
\RequirePackage{amsmath}
|
\RequirePackage{amsmath}
|
||||||
\RequirePackage{amsthm}
|
\RequirePackage{amsthm}
|
||||||
|
@ -50,6 +58,7 @@
|
||||||
]{cleveref}
|
]{cleveref}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
\usepackage[
|
\usepackage[
|
||||||
abbreviations, % create "abbreviations" glossary
|
abbreviations, % create "abbreviations" glossary
|
||||||
%nomain, % don't create "main" glossary
|
%nomain, % don't create "main" glossary
|
||||||
|
@ -59,16 +68,41 @@
|
||||||
\setabbreviationstyle[acronym]{long-short}
|
\setabbreviationstyle[acronym]{long-short}
|
||||||
|
|
||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
|
\hypersetup{
|
||||||
|
colorlinks=true,
|
||||||
|
urlcolor=primaryLink,
|
||||||
|
linkcolor=primaryLink,
|
||||||
|
anchorcolor=primaryLink,
|
||||||
|
citecolor=primaryCite
|
||||||
|
}
|
||||||
|
\newcommand*{\glsplainhyperlink}[2]{%
|
||||||
|
\begingroup%
|
||||||
|
\hypersetup{hidelinks}%
|
||||||
|
\hyperlink{#1}{#2}%
|
||||||
|
\endgroup%
|
||||||
|
}
|
||||||
|
|
||||||
|
\let\oldgls=\gls
|
||||||
|
\renewcommand{\gls}[1]{{\hypersetup{hidelinks}%
|
||||||
|
\oldgls{#1}}}%
|
||||||
|
|
||||||
|
\let\oldGls=\Gls
|
||||||
|
\renewcommand{\Gls}[1]{{\hypersetup{hidelinks}%
|
||||||
|
\oldGls{#1}}}%
|
||||||
|
|
||||||
|
|
||||||
|
%\renewcommand*{\glstextformat}[1]{\begingroup\hypersetup{hidelinks}#1\endgroup}
|
||||||
|
%\renewcommand*{\glsdohyperlink}[2]{%
|
||||||
|
% {\hypersetup{hidelinks=true}\hyperlink{#1}{#2}}}
|
||||||
|
\renewcommand*{\glsentryfmt}{%
|
||||||
|
\hypersetup{hidelinks}\glshyperlink[\glsgenentryfmt]{\glslabel}%
|
||||||
|
}
|
||||||
|
|
||||||
% Force text on right side, float on left side (does not work well)
|
% Force text on right side, float on left side (does not work well)
|
||||||
\usepackage{sty/floatlefttextright}
|
\usepackage{sty/floatlefttextright}
|
||||||
|
|
||||||
\renewcommand\maketitle{\include{titlepage}}
|
\renewcommand\maketitle{\include{titlepage}}
|
||||||
|
|
||||||
\hypersetup{
|
|
||||||
hidelinks
|
|
||||||
}
|
|
||||||
|
|
||||||
\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
|
\renewcommand*{\mkbibnamefamily}[1]{\textsc{#1}}
|
||||||
\renewcommand*{\mkbibnameprefix}[1]{\textsc{#1}}
|
\renewcommand*{\mkbibnameprefix}[1]{\textsc{#1}}
|
||||||
|
|
||||||
|
@ -83,3 +117,36 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
\usepackage{scrhack}
|
\usepackage{scrhack}
|
||||||
|
% From S. Ivanov hdr preamble
|
||||||
|
\iffalse
|
||||||
|
\titleformat{\chapter}[frame]
|
||||||
|
{\itshape\color{primary}}
|
||||||
|
{\filright
|
||||||
|
\normalsize
|
||||||
|
\enspace Chapter \thechapter\enspace}
|
||||||
|
{10mm}
|
||||||
|
{\fontsize{35}{20}\selectfont\normalfont\bfseries\filright\hspace{1ex}}
|
||||||
|
\titleformat{\section}{\Large\normalfont\bfseries\color{primary}}{\thesection \hspace{1ex}}{1ex}{}
|
||||||
|
\titleformat{\subsection}{\large\normalfont\bfseries\color{primary}}{\thesubsection \hspace{1ex}}{1ex}{}
|
||||||
|
\titleformat{\subsubsection}{\normalsize\normalfont\bfseries\color{primary}}{}{1ex}{}
|
||||||
|
|
||||||
|
\newcommand{\changelocaltocdepth}[1]{%
|
||||||
|
\addtocontents{toc}{\protect\setcounter{tocdepth}{#1}}%
|
||||||
|
\setcounter{tocdepth}{#1}%
|
||||||
|
}
|
||||||
|
% Adapted to KOMA-Script (and to my preferences):
|
||||||
|
\renewcommand*{\sectionformat}{\thesection\filright\hspace{1ex}}
|
||||||
|
\addtokomafont{subsection}{\color{primary}}
|
||||||
|
\fi
|
||||||
|
|
||||||
|
\usepackage{titlesec}
|
||||||
|
\titleformat{\chapter}[frame]
|
||||||
|
{\itshape\color{primary}}
|
||||||
|
{\filright
|
||||||
|
\normalsize
|
||||||
|
\enspace Chapter \thechapter\enspace}
|
||||||
|
{10mm}
|
||||||
|
{\fontsize{35}{20}\selectfont\normalfont\bfseries\filright\hspace{1ex}}
|
||||||
|
\titleformat{\section}{\Large\normalfont\bfseries\color{primary}}{\thesection \hspace{1ex}}{1ex}{}
|
||||||
|
\titleformat{\subsection}{\large\normalfont\bfseries\color{primary}}{\thesubsection \hspace{1ex}}{1ex}{}
|
||||||
|
\titleformat{\subsubsection}{\normalsize\normalfont\bfseries\color{primary}}{}{1ex}{}
|
||||||
|
|
Loading…
Reference in New Issue