summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/txgreeks
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-03-16 22:19:27 +0000
committerKarl Berry <karl@freefriends.org>2011-03-16 22:19:27 +0000
commit87bfbbe2f2976a2f84c0ba07e94a8cc3664d70b8 (patch)
treeece880047ba5429de137124fefcbb239a84723da /Master/texmf-dist/tex/latex/txgreeks
parenta49c492fb5bcba52259d8bc8aa014d5a8c1e7bb0 (diff)
new latex package txgreeks (16mar11)
git-svn-id: svn://tug.org/texlive/trunk@21740 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/txgreeks')
-rw-r--r--Master/texmf-dist/tex/latex/txgreeks/txgreeks.sty209
1 files changed, 209 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/txgreeks/txgreeks.sty b/Master/texmf-dist/tex/latex/txgreeks/txgreeks.sty
new file mode 100644
index 00000000000..1d1705eba6b
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/txgreeks/txgreeks.sty
@@ -0,0 +1,209 @@
+%%
+%% This is file `txgreeks.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% txgreeks.dtx (with options: `code')
+%% This is a generated file.
+%%
+%% Copyright (C) 2011 by Jean-Francois Burnol
+%%
+%% Please report errors to jfbu (at) free.fr
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 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.3 or later is part of all distributions of
+%% LaTeX version 2003/12/01 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{txgreeks}
+[2011/03/16 v1.0 shape selection for the TX fonts Greek letters]
+\RequirePackage{txfonts}
+\newif\iftgs@uplower
+\newif\iftgs@itupper
+\def\tgs@Greek@sh{0}
+\DeclareOption{itgreek}{\tgs@uplowerfalse\tgs@ituppertrue}
+\DeclareOption{upgreek}{\tgs@uplowertrue\tgs@itupperfalse}
+\DeclareOption{itGreek}{\def\tgs@Greek@sh{1}}
+\DeclareOption{upGreek}{\def\tgs@Greek@sh{2}}
+\DeclareOption{TeX}{\tgs@uplowerfalse\tgs@itupperfalse} %default
+\DeclareOption{sloped}{\ExecuteOptions{TeX}}
+\DeclareOption{upright}{\ExecuteOptions{upgreek}}
+\DeclareOption{French}{\ExecuteOptions{upright}}
+\DeclareOption{ISO}{\ExecuteOptions{itgreek}}
+\DeclareOption*{\PackageWarning{txgreeks}{Unknown option `\CurrentOption'}}
+\ProcessOptions\relax
+\ifcase\tgs@Greek@sh\or\tgs@ituppertrue\or\tgs@itupperfalse\fi
+\re@DeclareMathSymbol{\Gamma}{\mathalpha}{lettersA}{0}
+\re@DeclareMathSymbol{\Delta}{\mathalpha}{lettersA}{1}
+\re@DeclareMathSymbol{\Theta}{\mathalpha}{lettersA}{2}
+\re@DeclareMathSymbol{\Lambda}{\mathalpha}{lettersA}{3}
+\re@DeclareMathSymbol{\Xi}{\mathalpha}{lettersA}{4}
+\re@DeclareMathSymbol{\Pi}{\mathalpha}{lettersA}{5}
+\re@DeclareMathSymbol{\Sigma}{\mathalpha}{lettersA}{6}
+\re@DeclareMathSymbol{\Upsilon}{\mathalpha}{lettersA}{7}
+\re@DeclareMathSymbol{\Phi}{\mathalpha}{lettersA}{8}
+\re@DeclareMathSymbol{\Psi}{\mathalpha}{lettersA}{9}
+\re@DeclareMathSymbol{\Omega}{\mathalpha}{lettersA}{10}
+\re@DeclareMathSymbol{\varGamma}{\mathalpha}{letters}{0}
+\re@DeclareMathSymbol{\varDelta}{\mathalpha}{letters}{1}
+\re@DeclareMathSymbol{\varTheta}{\mathalpha}{letters}{2}
+\re@DeclareMathSymbol{\varLambda}{\mathalpha}{letters}{3}
+\re@DeclareMathSymbol{\varXi}{\mathalpha}{letters}{4}
+\re@DeclareMathSymbol{\varPi}{\mathalpha}{letters}{5}
+\re@DeclareMathSymbol{\varSigma}{\mathalpha}{letters}{6}
+\re@DeclareMathSymbol{\varUpsilon}{\mathalpha}{letters}{7}
+\re@DeclareMathSymbol{\varPhi}{\mathalpha}{letters}{8}
+\re@DeclareMathSymbol{\varPsi}{\mathalpha}{letters}{9}
+\re@DeclareMathSymbol{\varOmega}{\mathalpha}{letters}{10}
+\re@DeclareMathSymbol{\omicron}{\mathalpha}{letters}{`o}
+\let\omicronup\undefined\newcommand{\omicronup}{\mathrm{o}}
+\iftgs@uplower % upright lowercase Greek letters
+\let\otheralpha\alpha
+\let\otherbeta\beta
+\let\othergamma\gamma
+\let\otherdelta\delta
+\let\otherepsilon\epsilon
+\let\otherzeta\zeta
+\let\othereta\eta
+\let\othertheta\theta
+\let\otheriota\iota
+\let\otherkappa\kappa
+\let\otherlambda\lambda
+\let\othermu\mu
+\let\othernu\nu
+\let\otherxi\xi
+\let\otherpi\pi
+\let\otherrho\rho
+\let\othersigma\sigma
+\let\othertau\tau
+\let\otherupsilon\upsilon
+\let\otherphi\phi
+\let\otherchi\chi
+\let\otherpsi\psi
+\let\otheromega\omega
+\let\othervarepsilon\varepsilon
+\let\othervartheta\vartheta
+\let\othervarpi\varpi
+\let\othervarrho\varrho
+\let\othervarsigma\varsigma
+\let\othervarphi\varphi
+\let\otheromicron\omicron
+%%
+\let\alpha\alphaup
+\let\beta\betaup
+\let\gamma\gammaup
+\let\delta\deltaup
+\let\epsilon\epsilonup
+\let\zeta\zetaup
+\let\eta\etaup
+\let\theta\thetaup
+\let\iota\iotaup
+\let\kappa\kappaup
+\let\lambda\lambdaup
+\let\mu\muup
+\let\nu\nuup
+\let\xi\xiup
+\let\pi\piup
+\let\rho\rhoup
+\let\sigma\sigmaup
+\let\tau\tauup
+\let\upsilon\upsilonup
+\let\phi\phiup
+\let\chi\chiup
+\let\psi\psiup
+\let\omega\omegaup
+\let\varepsilon\varepsilonup
+\let\vartheta\varthetaup
+\let\varpi\varpiup
+\let\varrho\varrhoup
+\let\varsigma\varsigmaup
+\let\varphi\varphiup
+\let\omicron\omicronup
+\else % italic lowercase Greek letters (default)
+\let\otheralpha\alphaup
+\let\otherbeta\betaup
+\let\othergamma\gammaup
+\let\otherdelta\deltaup
+\let\otherepsilon\epsilonup
+\let\otherzeta\zetaup
+\let\othereta\etaup
+\let\othertheta\thetaup
+\let\otheriota\iotaup
+\let\otherkappa\kappaup
+\let\otherlambda\lambdaup
+\let\othermu\muup
+\let\othernu\nuup
+\let\otherxi\xiup
+\let\otherpi\piup
+\let\otherrho\rhoup
+\let\othersigma\sigmaup
+\let\othertau\tauup
+\let\otherupsilon\upsilonup
+\let\otherphi\phiup
+\let\otherchi\chiup
+\let\otherpsi\psiup
+\let\otheromega\omegaup
+\let\othervarepsilon\varepsilonup
+\let\othervartheta\varthetaup
+\let\othervarpi\varpiup
+\let\othervarrho\varrhoup
+\let\othervarsigma\varsigmaup
+\let\othervarphi\varphiup
+\let\otheromicron\omicronup
+\fi
+%%
+\iftgs@itupper % italic uppercase Greek
+\let\otherGamma\Gamma
+\let\otherDelta\Delta
+\let\otherTheta\Theta
+\let\otherLambda\Lambda
+\let\otherXi\Xi
+\let\otherPi\Pi
+\let\otherSigma\Sigma
+\let\otherUpsilon\Upsilon
+\let\otherPhi\Phi
+\let\otherPsi\Psi
+\let\otherOmega\Omega
+\let\Gamma\varGamma
+\let\Delta\varDelta
+\let\Theta\varTheta
+\let\Lambda\varLambda
+\let\Xi\varXi
+\let\Pi\varPi
+\let\Sigma\varSigma
+\let\Upsilon\varUpsilon
+\let\Phi\varPhi
+\let\Psi\varPsi
+\let\Omega\varOmega
+\let\varGamma\otherGamma
+\let\varDelta\otherDelta
+\let\varTheta\otherTheta
+\let\varLambda\otherLambda
+\let\varXi\otherXi
+\let\varPi\otherPi
+\let\varSigma\otherSigma
+\let\varUpsilon\otherUpsilon
+\let\varPhi\otherPhi
+\let\varPsi\otherPsi
+\let\varOmega\otherOmega
+\else % upright uppercase Greek (default)
+\let\otherGamma\varGamma
+\let\otherDelta\varDelta
+\let\otherTheta\varTheta
+\let\otherLambda\varLambda
+\let\otherXi\varXi
+\let\otherPi\varPi
+\let\otherSigma\varSigma
+\let\otherUpsilon\varUpsilon
+\let\otherPhi\varPhi
+\let\otherPsi\varPsi
+\let\otherOmega\varOmega
+\fi
+\endinput
+%%
+%% End of file `txgreeks.sty'.