Revois les exergues
This commit is contained in:
parent
90d6a26a2d
commit
f01c276084
16
lolipop.cls
16
lolipop.cls
@ -164,18 +164,10 @@
|
|||||||
\renewcommand{\emph}[1]{{\it#1}}
|
\renewcommand{\emph}[1]{{\it#1}}
|
||||||
\newcommand{\strong}[1]{{\bf\magenta#1}}
|
\newcommand{\strong}[1]{{\bf\magenta#1}}
|
||||||
% Ainsi que pour les exergues, que nous définirons comme un paragraphe centré
|
% Ainsi que pour les exergues, que nous définirons comme un paragraphe centré
|
||||||
% dans la marge.
|
\newcommand{\exergue}[1]{
|
||||||
\NewEnviron{exergue}{
|
\vskip 20\p@
|
||||||
\let\href\fnhref
|
{\centering\bf\large\magenta #1}
|
||||||
\marginpar{
|
\vskip 20\p@
|
||||||
\checkoddpage\ifoddpage\raggedright\else\raggedleft\fi
|
|
||||||
\begin{minipage}{4.0cm}
|
|
||||||
\centering
|
|
||||||
\bf\large\magenta
|
|
||||||
\BODY
|
|
||||||
\end{minipage}
|
|
||||||
}
|
|
||||||
\let\href\mphref
|
|
||||||
}
|
}
|
||||||
|
|
||||||
%%% Hyperliens %%%
|
%%% Hyperliens %%%
|
||||||
|
@ -23,6 +23,7 @@ s/<references *\/>//g
|
|||||||
s/'''\([^\('''\)]*\)'''/\\strong{\1}/g
|
s/'''\([^\('''\)]*\)'''/\\strong{\1}/g
|
||||||
s/''\([^\(''\)]*\)''/\\emph{\1}/g
|
s/''\([^\(''\)]*\)''/\\emph{\1}/g
|
||||||
s/<em>\([^<]*\)<\/em>/\\emph{\1}/g
|
s/<em>\([^<]*\)<\/em>/\\emph{\1}/g
|
||||||
|
s/{{Exergue|\(.*\)}}/\\exergue{\1}/g
|
||||||
|
|
||||||
# buggy ...
|
# buggy ...
|
||||||
s/<ref>\([^\(<\/ref>\)]*\)<\/ref>/\\emph{\1}/g
|
s/<ref>\([^\(<\/ref>\)]*\)<\/ref>/\\emph{\1}/g
|
||||||
|
Loading…
Reference in New Issue
Block a user