diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-05-08 21:59:11 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2008-05-08 21:59:11 +0000 |
commit | 7568a8a3ce78bfea1ec78e2ff6846c34b2506622 (patch) | |
tree | ec032e39bc8868863b648dfa61658ea70b81392d /Master/texmf-dist/tex/latex | |
parent | 05a10c0d3c6f5066f3a73d5a1f9a18bfa3387572 (diff) |
engrec v1.1 (2008/05/07)
git-svn-id: svn://tug.org/texlive/trunk@7953 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/engrec/engrec.sty | 148 |
1 files changed, 100 insertions, 48 deletions
diff --git a/Master/texmf-dist/tex/latex/engrec/engrec.sty b/Master/texmf-dist/tex/latex/engrec/engrec.sty index 1e751c7d182..e51707d21d0 100644 --- a/Master/texmf-dist/tex/latex/engrec/engrec.sty +++ b/Master/texmf-dist/tex/latex/engrec/engrec.sty @@ -7,8 +7,8 @@ %% engrec.dtx (with options: `package') %% This is a generated file. %% -%% Copyright (C) 2004 Y. Henel, le TeXnicien de surface -%% <Yvon.Henel@wanadoo.fr> +%% Copyright (C) 2004, 2008 by Yvon Henel +%% dit «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 @@ -19,12 +19,10 @@ %% %% and version 1.2 or later is part of all distributions of LaTeX version %% 1999/12/01 or later. -%%%% Copyright (C) 2004 by Yvon Henel <Yvon.Henel@wanadoo.fr> -%%%% -------------------------------------------------------- \NeedsTeXFormat{LaTeX2e}[1999/12/01] \def\PackageName{engrec} -\def\fileversion{v1} -\def\filedate{2004/05/20} +\def\fileversion{v1.1} +\def\filedate{2008/05/07} \def\fileinfo{fichier engrec.sty par Le TeXnicien de surface} \ProvidesPackage{engrec} [\filedate\space\fileversion\space\fileinfo] @@ -34,8 +32,8 @@ \newif\if@varrho \newif\if@varsigma \newif\if@varphi -\newif\if@upomicron % utiliser \upomicron ou bien \omicron ? -\newif\if@upgreek % toutes les minuscules grecques debout ! +\newif\if@upomicron +\newif\if@upgreek \DeclareOption{upright}{\@upomicrontrue} \DeclareOption{sloped}{\@upomicronfalse} \DeclareOption{upgreek}{\@upgreektrue} @@ -54,55 +52,109 @@ \DeclareOption{phi}{\@varphifalse} \ExecuteOptions{varepsilon,theta,pi,rho,sigma,varphi,sloped,slgreek} \ProcessOptions\relax -\RequirePackage{amsmath} +\RequirePackage{amstext} \if@upgreek \RequirePackage{upgreek}\fi -\providecommand{\Alpha}{\text{A}} -\providecommand{\Beta}{\text{B}} -\providecommand{\Epsilon}{\text{E}} -\providecommand{\Zeta}{\text{Z}} -\providecommand{\Eta}{\text{H}} -\providecommand{\Iota}{\text{I}} -\providecommand{\Kappa}{\text{K}} -\providecommand{\Mu}{\text{M}} -\providecommand{\Nu}{\text{N}} -\providecommand{\Omicron}{\text{O}} -\providecommand{\Rho}{\text{P}} -\providecommand{\Tau}{\text{T}} -\providecommand{\Chi}{\text{X}} -\providecommand{\omicron}{o} -\providecommand{\upomicron}{\textup{o}} +\providecommand{\Alpha}{\text{\rmfamily\upshape A}} +\providecommand{\Beta}{\text{\rmfamily\upshape B}} +\providecommand{\Epsilon}{\text{\rmfamily\upshape E}} +\providecommand{\Zeta}{\text{\rmfamily\upshape Z}} +\providecommand{\Eta}{\text{\rmfamily\upshape H}} +\providecommand{\Iota}{\text{\rmfamily\upshape I}} +\providecommand{\Kappa}{\text{\rmfamily\upshape K}} +\providecommand{\Mu}{\text{\rmfamily\upshape M}} +\providecommand{\Nu}{\text{\rmfamily\upshape N}} +\providecommand{\Omicron}{\text{\rmfamily\upshape O}} +\providecommand{\Rho}{\text{\rmfamily\upshape P}} +\providecommand{\Tau}{\text{\rmfamily\upshape T}} +\providecommand{\Chi}{\text{\rmfamily\upshape X}} +\providecommand{\omicron}{\text{\rmfamily\itshape o}} +\providecommand{\upomicron}{\text{\rmfamily\upshape o}} \def\engrec#1{\expandafter\@grec\csname c@#1\endcsname} \if@upgreek \def\@grec#1{% - \ifcase#1\or $\upalpha$\or $\upbeta$\or $\upgamma$\or $\updelta$\or - \if@varepsilon $\upvarepsilon$\else $\upepsilon$\fi \or $\upzeta$\or - $\upeta$\or \if@vartheta $\upvartheta$\else $\uptheta$\fi \or - $\upiota$\or $\upkappa$\or $\uplambda$\or $\upmu$\or $\upnu$\or - $\upxi$\or $\upomicron$\or \if@varpi $\upvarpi$\else $\uppi$\fi \or - \if@varrho $\upvarrho$\else $\uprho$\fi \or - \if@varsigma $\upvarsigma$\else $\upsigma$\fi \or - $\uptau$\or $\upupsilon$\or \if@varphi $\upvarphi$\else $\upphi$\fi - \or $\upchi$\or $\uppsi$\or $\upomega$\else\@ctrerr\fi} + \ifcase#1\or + \ensuremath{\upalpha}\or + \ensuremath{\upbeta}\or + \ensuremath{\upgamma}\or + \ensuremath{\updelta}\or + \if@varepsilon \ensuremath{\upvarepsilon}\else \ensuremath{\upepsilon}\fi \or + \ensuremath{\upzeta}\or + \ensuremath{\upeta}\or + \if@vartheta \ensuremath{\upvartheta}\else \ensuremath{\uptheta}\fi \or + \ensuremath{\upiota}\or + \ensuremath{\upkappa}\or + \ensuremath{\uplambda}\or + \ensuremath{\upmu}\or + \ensuremath{\upnu}\or + \ensuremath{\upxi}\or + \ensuremath{\upomicron}\or + \if@varpi \ensuremath{\upvarpi}\else \ensuremath{\uppi}\fi \or + \if@varrho \ensuremath{\upvarrho}\else \ensuremath{\uprho}\fi \or + \if@varsigma \ensuremath{\upvarsigma}\else \ensuremath{\upsigma}\fi \or + \ensuremath{\uptau}\or + \ensuremath{\upupsilon}\or + \if@varphi \ensuremath{\upvarphi}\else \ensuremath{\upphi}\fi \or + \ensuremath{\upchi}\or + \ensuremath{\uppsi}\or + \ensuremath{\upomega}\else + \@ctrerr\fi}% \else \def\@grec#1{% - \ifcase#1\or $\alpha$\or $\beta$\or $\gamma$\or $\delta$\or - \if@varepsilon $\varepsilon$\else $\epsilon$\fi \or $\zeta$\or - $\eta$\or \if@vartheta $\vartheta$\else $\theta$\fi \or - $\iota$\or $\kappa$\or $\lambda$\or $\mu$\or $\nu$\or $\xi$\or - \if@upomicron $\upomicron$\else $\omicron$\fi\or - \if@varpi $\varpi$\else $\pi$\fi \or - \if@varrho $\varrho$\else $\rho$\fi \or - \if@varsigma $\varsigma$\else $\sigma$\fi \or - $\tau$\or $\upsilon$\or \if@varphi $\varphi$\else $\phi$\fi \or - $\chi$\or $\psi$\or $\omega$\else\@ctrerr\fi} + \ifcase#1\or + \ensuremath{\alpha}\or + \ensuremath{\beta}\or + \ensuremath{\gamma}\or + \ensuremath{\delta}\or + \if@varepsilon \ensuremath{\varepsilon}\else \ensuremath{\epsilon}\fi \or + \ensuremath{\zeta}\or + \ensuremath{\eta}\or + \if@vartheta \ensuremath{\vartheta}\else \ensuremath{\theta}\fi \or + \ensuremath{\iota}\or + \ensuremath{\kappa}\or + \ensuremath{\lambda}\or + \ensuremath{\mu}\or + \ensuremath{\nu}\or + \ensuremath{\xi}\or + \if@upomicron \ensuremath{\upomicron}\else \ensuremath{\omicron}\fi\or + \if@varpi \ensuremath{\varpi}\else \ensuremath{\pi}\fi \or + \if@varrho \ensuremath{\varrho}\else \ensuremath{\rho}\fi \or + \if@varsigma \ensuremath{\varsigma}\else \ensuremath{\sigma}\fi \or + \ensuremath{\tau}\or + \ensuremath{\upsilon}\or + \if@varphi \ensuremath{\varphi}\else \ensuremath{\phi}\fi \or + \ensuremath{\chi}\or + \ensuremath{\psi}\or + \ensuremath{\omega}\else + \@ctrerr\fi} \fi \def\EnGrec#1{\expandafter\@Grec\csname c@#1\endcsname} \def\@Grec#1{% - \ifcase#1\or $\Alpha$\or $\Beta$\or $\Gamma$\or $\Delta$\or - $\Epsilon$\or $\Zeta$\or $\Eta$\or $\Theta$\or $\Iota$\or - $\Kappa$\or $\Lambda$\or $\Mu$\or $\Nu$\or $\Xi$\or - $\Omicron$\or $\Pi$\or $\Rho$\or $\Sigma$\or $\Tau$\or $\Upsilon$\or - $\Phi$\or $\Chi$\or $\Psi$\or $\Omega$\else\@ctrerr\fi} + \ifcase#1\or + \ensuremath{\Alpha}\or + \ensuremath{\Beta}\or + \ensuremath{\Gamma}\or + \ensuremath{\Delta}\or + \ensuremath{\Epsilon}\or + \ensuremath{\Zeta}\or + \ensuremath{\Eta}\or + \ensuremath{\Theta}\or + \ensuremath{\Iota}\or + \ensuremath{\Kappa}\or + \ensuremath{\Lambda}\or + \ensuremath{\Mu}\or + \ensuremath{\Nu}\or + \ensuremath{\Xi}\or + \ensuremath{\Omicron}\or + \ensuremath{\Pi}\or + \ensuremath{\Rho}\or + \ensuremath{\Sigma}\or + \ensuremath{\Tau}\or + \ensuremath{\Upsilon}\or + \ensuremath{\Phi}\or + \ensuremath{\Chi}\or + \ensuremath{\Psi}\or + \ensuremath{\Omega}\else + \@ctrerr\fi} \endinput %% %% End of file `engrec.sty'. |