aboutsummaryrefslogtreecommitdiff
path: root/model_4/resources/99_sidebar.tex
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2020-12-01 21:32:20 +0100
committerSébastien Dailly <sebastien@chimrod.com>2020-12-03 17:33:35 +0100
commitb6bebdc03066e513efbbb5ff9424681bbcceff0c (patch)
treead58ccc072efbfdeabe4d9b4b20b79acc8fd19b3 /model_4/resources/99_sidebar.tex
parent02b663b21099cdb62cef7b363cae46a56d7aae5f (diff)
Added a new model, and did some factorisation
Diffstat (limited to 'model_4/resources/99_sidebar.tex')
-rwxr-xr-xmodel_4/resources/99_sidebar.tex7
1 files changed, 2 insertions, 5 deletions
diff --git a/model_4/resources/99_sidebar.tex b/model_4/resources/99_sidebar.tex
index 52dc735..36bc102 100755
--- a/model_4/resources/99_sidebar.tex
+++ b/model_4/resources/99_sidebar.tex
@@ -3,18 +3,15 @@
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist
-% Une commande dédiée pour les notes de marge
-%\setlength{\columnsep}{0.25cm}
-\columnratio{0.25}
-
\ifdefinedcolor{backsidecolor}{%
\backgroundcolor{c[1]}{backsidecolor}
}{}
+% Une commande dédiée pour les notes de marge
\newcommand{\DUsidebar}[1]{%
\switchcolumn[0]
\begin{changemargin}{0.5cm}{1cm}
- \LibertineFont\selectfont
+ \AltFont\selectfont
\ifdefinedcolor{textsidecolor}{\color{textsidecolor}}{}
#1
\end{changemargin}