-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (22 loc) · 1.1 KB
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% Typographie anglaise ou française %
% %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newif\ifFrenchText
\FrenchTexttrue
\catcode`\@=11
\catcode`\;=\active
\def;{\ifFrenchText\relax\ifhmode\ifdim\lastskip>\z@\unskip\fi
\kern.2em\fi\string;\else\string;\fi}
\catcode`\:=\active
\def:{\ifFrenchText\relax\ifhmode\ifdim\lastskip>\z@\unskip\fi
\penalty\@M\ \fi\string:\else\string:\fi}
\catcode`\!=\active
\def!{\ifFrenchText\relax\ifhmode\ifdim\lastskip>\z@\unskip\fi
\kern.2em\fi\string!\else\string!\fi}
\catcode`\?=\active
\def?{\ifFrenchText\relax\ifhmode\ifdim\lastskip>\z@\unskip\fi
\kern.2em\fi\string?\else\string?\fi}
\catcode`\@=12
\endinput