blob: fb98c5706d7f4c5d56b09e9cbf514f07c4c04419 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
\newlength{\notesep}
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist
\ifdefinedcolor{backsidecolor}{%
\backgroundcolor{c[1]}{backsidecolor}
}{}
\setlength{\columnseprule}{0.2pt}
% Une commande dédiée pour les notes de marge
\newcommand{\DUsidebar}[1]{%
\switchcolumn[1]
\begin{changemargin}{0.5cm}{0.0cm}
\small
\ifdefinedcolor{textsidecolor}{\color{textsidecolor}}{}
#1
\end{changemargin}
\vspace{\notesep}
\switchcolumn
\ifdefinedcolor{textsidecolor}{\color{black}}{}
}
\AtEndDocument{%
% Make the column go to the bottom
\flushpage
\end{paracol}
}
|