diff options
Diffstat (limited to 'model_4/resources')
-rwxr-xr-x | model_4/resources/00_preamble.tex | 1 | ||||
-rwxr-xr-x | model_4/resources/10_fonts.tex | 10 | ||||
-rwxr-xr-x | model_4/resources/99_sidebar.tex | 28 |
3 files changed, 5 insertions, 34 deletions
diff --git a/model_4/resources/00_preamble.tex b/model_4/resources/00_preamble.tex index c92dc33..d6d7875 100755 --- a/model_4/resources/00_preamble.tex +++ b/model_4/resources/00_preamble.tex @@ -23,3 +23,4 @@ \input{../common/10_lists.tex} \input{../common/10_nowidows.tex} \input{../common/10_levels.tex} +\input{../common/99_sidebar.tex} diff --git a/model_4/resources/10_fonts.tex b/model_4/resources/10_fonts.tex index 424bb0e..164d136 100755 --- a/model_4/resources/10_fonts.tex +++ b/model_4/resources/10_fonts.tex @@ -1,15 +1,11 @@ \usepackage{fontspec}
-\newfontfamily\AltFont[Mapping=tex-text]{Linux Libertine O}
-\newfontfamily\CaviarDreamsFont[Path=../fonts/, Mapping=tex-text]{CaviarDreams}
-\newfontfamily\CaviarDreamsBoldFont[Path=../fonts/, Mapping=tex-text]{CaviarDreams_Bold}
\newfontfamily\BeatrixFont[Path=../fonts/,Mapping=tex-text]{Beatrix}
\defaultfontfeatures{Ligatures={Common, Required, Contextual}}
\setmainfont{EB Garamond}
-
-% Change the font for bold text
-\let\bf\textbf
-\renewcommand{\textbf}[1]{{\AltFont\selectfont\bf{#1}}}
+ [ BoldFont = {Linux Libertine O Bold}]
\setmonofont{Latin Modern Mono Light}
+\input{../common/10_fonts.tex}
+\let\AltFont\LibertineFont
diff --git a/model_4/resources/99_sidebar.tex b/model_4/resources/99_sidebar.tex index 36bc102..6f3d42f 100755 --- a/model_4/resources/99_sidebar.tex +++ b/model_4/resources/99_sidebar.tex @@ -1,30 +1,4 @@ -\newlength{\notesep} - -\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]} -\let\endchangemargin=\endlist - \ifdefinedcolor{backsidecolor}{% \backgroundcolor{c[1]}{backsidecolor} + \backgroundcolor{c[0]}{white} }{} - -% Une commande dédiée pour les notes de marge -\newcommand{\DUsidebar}[1]{% - \switchcolumn[0] - \begin{changemargin}{0.5cm}{1cm} - \AltFont\selectfont - \ifdefinedcolor{textsidecolor}{\color{textsidecolor}}{} - #1 - \end{changemargin} - \vspace{\notesep} - \switchcolumn - \ifdefinedcolor{textsidecolor}{\color{black}}{} -} - -\AtBeginDocument{% - \begin{paracol}{2} -} -\AtEndDocument{% - % Make the column go to the bottom - \flushpage - \end{paracol} -} |