summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/paresse/paresse.sty
blob: 9b0612cde95e624cf391782b2286f2937f63e906 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
%%
%% This is file `paresse.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% paresse.dtx  (with options: `package')
%% This is a generated file.
%% 
%% Copyright (C) 2003-2010 Y. Henel, le TeXnicien de surface
%% <le.texnicien.de.surface@wanadoo.fr>
%% 
%% This file may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License, either version 1.2 of this license
%% or (at your option) any later version.  The latest version of this
%% license is in:
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.2 or later is part of all distributions of LaTeX version
%% 1999/12/01 or later.
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\def\fileversion{v3}
\def\filedate{2010/03/21}
\def\fileinfo{fichier paresse.dtx par le TeXnicien de surface}
\ProvidesPackage{paresse}
   [\filedate\space\fileversion\space\fileinfo]
\newif\ifGA@optiontame
\newif\ifGA@optiontau
\newif\ifGA@optionvareps
\newif\ifGA@optionvartheta
\newif\ifGA@optionvarrho
\newif\ifGA@optionvarsigma
\newif\ifGA@optionvarphi
\newif\ifGA@optionvarpi
\newif\ifGA@optionlegacy
\DeclareOption{tame}{\GA@optiontametrue}
\DeclareOption{wild}{\GA@optiontamefalse}
\DeclareOption{ttau}{\GA@optiontautrue}
\DeclareOption{ttheta}{\GA@optiontaufalse}
\DeclareOption{varepsilon}{\GA@optionvarepstrue}
\DeclareOption{epsilon}{\GA@optionvarepsfalse}
\DeclareOption{vartheta}{\GA@optionvarthetatrue}
\DeclareOption{theta}{\GA@optionvarthetafalse}
\DeclareOption{varrho}{\GA@optionvarrhotrue}
\DeclareOption{rho}{\GA@optionvarrhofalse}
\DeclareOption{varpi}{\GA@optionvarpitrue}
\DeclareOption{pi}{\GA@optionvarpifalse}
\DeclareOption{varsigma}{\GA@optionvarsigmatrue}
\DeclareOption{sigma}{\GA@optionvarsigmafalse}
\DeclareOption{varphi}{\GA@optionvarphitrue}
\DeclareOption{phi}{\GA@optionvarphifalse}
\DeclareOption{legacy}{\GA@optionlegacytrue}
\DeclareOption{Levi}{\GA@optionlegacyfalse}
\DeclareOption*{\PackageError{paresse}
  {The option \CurrentOption\space is not known!\MessageBreak
    The default options are:\MessageBreak
    legacy, varepsilon, theta, pi, rho, sigma, and varphi.}%
  {Choose between `wild' (for an active Paresse in all the document)
    \MessageBreak and `tame' (so that ^^a7 prints the paragraph symbol).
    \MessageBreak See the documentation for other options.}}
\ExecuteOptions{legacy,wild,varepsilon,theta,pi,rho,sigma,varphi}
\ProcessOptions\relax
\count@=\catcode`\^^a7
\let\GA@LaVieilleParesse= ^^a7
\def\^^a7{\S}
\newcommand{\makeparesseletter}{\catcode `\^^a7=11\relax}
\newcommand{\makeparesseother}{\catcode `\^^a7=12\relax}
\newcommand{\GA@MakeParesseActive}{\catcode `\^^a7=\active}
\def\GA@ActiveLaParessexii{\catcode `\^^a7=\active}
\def\GA@ActiveLaParessexiii{\catcode `\^^a7=\active
  \def^^a7##1{\ensuremath{\csname \string^^a7##1\endcsname}}}
\ifnum\count@=12
\let\GA@ActiveLaParesse \GA@ActiveLaParessexii
\else
\let\GA@ActiveLaParesse \GA@ActiveLaParessexiii
\fi
\newcommand{\ActiveLaParesse}{\GA@ActiveLaParesse}
\newenvironment{ParesseActive}{\GA@ActiveLaParesse}{}
\ifGA@optionvareps\def\GA@epsilon{\varepsilon}\else\def\GA@epsilon{\epsilon}\fi
\ifGA@optionvartheta\def\GA@theta{\vartheta}\else\def\GA@theta{\theta}\fi
\ifGA@optionvarpi\def\GA@pi{\varpi}\else\def\GA@pi{\pi}\fi
\ifGA@optionvarrho\def\GA@rho{\varrho}\else\def\GA@rho{\rho}\fi
\ifGA@optionvarsigma\def\GA@sigma{\varsigma}\else\def\GA@sigma{\sigma}\fi
\ifGA@optionvarphi\def\GA@phi{\varphi}\else\def\GA@phi{\phi}\fi
\makeparesseletter
\def\^^a7a {\alpha}
\def\^^a7b {\beta}
\def\^^a7g {\gamma}
\def\^^a7d {\delta}
\def\^^a7e {\GA@epsilon}
\def\^^a7z {\zeta}
\def\^^a7h {\eta}
\def\^^a7i {\iota}
\def\^^a7k {\kappa}
\def\^^a7l {\lambda}
\def\^^a7m {\mu}
\def\^^a7n {\nu}
\def\^^a7x {\xi}
\def\^^a7p {\GA@pi}
\def\^^a7r {\GA@rho}
\def\^^a7s {\GA@sigma}
\def\^^a7u {\upsilon}
\def\^^a7f {\GA@phi}
\def\^^a7w {\omega}
\ifGA@optionlegacy
\def\^^a7v {\GA@theta}
\def\^^a7y {\tau}
\def\^^a7c {\chi}
\def\^^a7q {\psi}
\ifGA@optiontau \def\^^a7t {\tau}\else \def\^^a7t {\GA@theta}\fi
\else
\def\^^a7j {\GA@theta}
\def\^^a7t {\tau}
\def\^^a7q {\chi}
\def\^^a7y {\psi}
\def\^^a7c {\varsigma}
\fi
\def\^^a7G {\Gamma}
\def\^^a7D {\Delta}
\def\^^a7L {\Lambda}
\def\^^a7P {\Pi}
\def\^^a7S {\Sigma}
\def\^^a7U {\Upsilon}
\def\^^a7F {\Phi}
\def\^^a7X {\Xi}
\def\^^a7W {\Omega}
\ifGA@optionlegacy
\def\^^a7V {\Theta}
\def\^^a7T {\Theta}
\def\^^a7Q {\Psi}
\else
\def\^^a7J {\Theta}
\def\^^a7Y {\Psi}
\fi
\catcode `\^^a7=\active
\def^^a7#1{\ensuremath{\csname \string^^a7#1\endcsname}}
\ifGA@optiontame
\catcode`\^^a7=\count@
\ifnum\count@=13 \let ^^a7=\GA@LaVieilleParesse \fi
\fi
\endinput
%%
%% End of file `paresse.sty'.