You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

295 lines
13 KiB

1 year ago
%%
%% This is file `gfsdidot.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% gfsdidot.dtx (with options: `gfsdidot')
%%
%% (c) copyright 2001
%% Antonis Tsolomitis
%% Department of Mathematics, University of the Aegean
%%
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%%
%% Please report errors or suggestions for improvement to
%%
%% Dr. Antonis Tsolomitis
%% Department of Mathematics
%% University of the Aegean
%% atsol@aegean.gr
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%% Digits \0\1\2\3\4\5\6\7\8\9
%% Exclamation \! Double quote \" Hash (number) \#
%% Dollar \$ Percent \% Ampersand \&
%% Acute accent \' Left paren \( Right paren \)
%% Asterisk \* Plus \+ Comma \,
%% Minus \- Point \. Solidus \/
%% Colon \: Semicolon \; Less than \<
%% Equals \= Greater than \> Question mark \?
%% Commercial at \@ Left bracket \[ Backslash \\
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
\ProvidesFile{gfsdidot.sty}
[2001/12/15 v1.0 Package `gfsdidot.sty']
\NeedsTeXFormat{LaTeX2e}
\message{}\MessageBreak
\message{ **************************************************************** }\MessageBreak
\message{ * GFS-Didot style file by A. Tsolomitis and I. Vasilogiorgakis * }\MessageBreak
\message{ **************************************************************** }\MessageBreak
\message{}\MessageBreak
\RequirePackage{pxfonts}
\renewcommand{\rmdefault}{udidot}
\newcommand{\uishape}{\fontfamily{udidot}\fontseries{m}\fontshape{ui}\selectfont}
\newcommand{\scslshape}{\fontfamily{udidot}\fontseries{m}\fontshape{sco}\selectfont}
\newcommand{\textui}[1]{{\fontfamily{udidot}\fontseries{m}\fontshape{ui}\selectfont
#1}}
\newcommand{\textscsl}[1]{{\fontfamily{udidot}\fontseries{m}\fontshape{sco}\selectfont
#1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\tabnums}[1]{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont #1}}
\renewcommand{\textbullet}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'42}}
%\renewcommand{\star}{{\usefont{OML}{pxmi}{m}{it}\selectfont\char'77}}
\let\myst@r=\star
\renewcommand{\star}{\raise-.5ex\hbox{${}\myst@r{}$\kern-.1em}}
\newcommand{\textparagraphalt}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'265}}
\renewcommand{\textparagraph}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'266}}
\newcommand{\careof}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'13}}
\newcommand{\numero}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'5}}
\newcommand{\estimated}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'6}}
%\newcommand{\exclamdbl}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'7}}
\newcommand{\whitebullet}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'10}}
\newcommand{\textlozenge}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'4}}
\newcommand{\eurocurrency}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'12}}
\newcommand{\interrobang}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'15}}
\newcommand{\yencurrency}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'16}}
%\newcommand{\fracline}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'4}}
\newcommand{\textfrac}[2]{\hbox{{\usefont{U}{udidotnums}{m}{textnumnums}\selectfont #1/}%
{\usefont{U}{udidotnums}{m}{textdenomnums}\selectfont /#2}}}
\newcommand{\onehalf}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'100}}
\newcommand{\onethird}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'101}}
\newcommand{\twothirds}{{\usefont{U}{udidotnums}{m}{tabnums}\selectfont\char'102}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%% double lambda for Olga %%%%%%%%%%%%%%%%%%%
\newcommand{\lambdadbl}{{\usefont{LGR}{udidot}{m}{it}\selectfont\char"15}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\def\stigma{st}
\DeclareTextCommand{\anwtonos}{LGR}{\char'047\relax}
%\let\katwtonos\relax
%\let\qoppa\relax
%\let\sampi\relax
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareTextAccent{\`}{OT1}{30}
\DeclareTextAccent{\'}{OT1}{180}
\DeclareTextAccent{\^}{OT1}{25}
\DeclareTextAccent{\~}{OT1}{152}
%\DeclareTextAccent{\"}{OT1}{168}
%\def\"#1{\accent168#1}
\@ifpackagewith{fontenc}{T1}{}{\def\"#1{\accent168#1}}
\DeclareTextAccent{\H}{OT1}{5}
\DeclareTextAccent{\r}{OT1}{9}
\DeclareTextAccent{\t}{OT1}{10}
\DeclareTextAccent{\v}{OT1}{16}
\DeclareTextAccent{\u}{OT1}{11}
\DeclareTextAccent{\=}{OT1}{175}
\DeclareTextAccent{\.}{OT1}{1}
\DeclareTextCommand{\b}{OT1}[1]
{{\o@lign{\relax#1\crcr\hidewidth\sh@ft{29}%
\vbox to.2ex{\hbox{\char175}\vss}\hidewidth}}} %%% error
\DeclareTextCommand{\c}{OT1}[1]
{\leavevmode\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1%
\else{\ooalign{\hidewidth\char184\hidewidth
\crcr\unhbox\z@}}\fi}
\DeclareTextCommand{\d}{OT1}[1]
{{\o@lign{\relax#1\crcr\hidewidth\sh@ft{10}.\hidewidth}}}
\DeclareTextCommand{\t}{OT1}[1]
{\leavevmode\setbox\z@\hbox{#1}%
{\ooalign{\hidewidth\char10\hidewidth
\crcr\unhbox\z@}}}
\DeclareTextCommand{\k}{OT1}[1]
{\leavevmode\setbox\z@\hbox{#1}\ifdim\ht\z@=1ex\accent11 #1%
\else{\ooalign{\hidewidth\char8\hidewidth
\crcr\unhbox\z@}}\fi}
\DeclareTextSymbol{\textperthousand}{OT1}{137}
\DeclareTextSymbol{\textsterling}{OT1}{163}
\DeclareTextSymbol{\L}{OT1}{6}
\DeclareTextSymbol{\i}{OT1}{17}
\DeclareTextSymbol{\j}{OT1}{18}
\DeclareTextSymbol{\l}{OT1}{7}
\DeclareTextSymbol{\textexclamdown}{OT1}{161}
\DeclareTextSymbol{\textgreater}{OT1}{`\>}
\DeclareTextSymbol{\textless}{OT1}{`\<}
\DeclareTextSymbol{\textquestiondown}{OT1}{191}
\DeclareTextSymbol{\textasciicircum}{OT1}{94}
\DeclareTextComposite{\'}{OT1}{!}{161}
\DeclareTextComposite{\'}{OT1}{?}{191}
\DeclareTextComposite{\"}{OT1}{e}{235}
\DeclareTextComposite{\"}{OT1}{o}{246}
\DeclareTextSymbol{\trademark}{OT1}{153}
\DeclareTextSymbol{\textregistered}{OT1}{174}
\DeclareTextSymbol{\AA}{OT1}{197}
\DeclareTextSymbol{\aa}{OT1}{229}
\DeclareTextSymbol{\AE}{OT1}{198}
\DeclareTextSymbol{\ae}{OT1}{230}
\DeclareTextSymbol{\O}{OT1}{216}
\DeclareTextSymbol{\o}{OT1}{248}
\DeclareTextSymbol{\OE}{OT1}{140}
\DeclareTextSymbol{\oe}{OT1}{156}
\DeclareTextSymbol{\ss}{OT1}{223}
\DeclareTextSymbol{\textcopyright}{OT1}{169}
\DeclareTextSymbol{\textdagger}{OT1}{134}
\DeclareTextSymbol{\textdaggerdbl}{OT1}{135}
%\DeclareTextSymbol{\textparagraph}{OT1}{182}
\DeclareTextSymbol{\textsection}{OT1}{167}
\DeclareTextSymbolDefault{\textbackslash}{OT1}
\DeclareTextSymbol{\textbackslash}{OT1}{92}
\DeclareTextCommandDefault{\textvisiblespace}{%
\mbox{\kern.06em\vrule \@height.3ex}%
\vbox{\hrule \@width.3em}%
\hbox{\vrule \@height.3ex}}
\DeclareTextSymbolDefault{\textbraceleft}{OT1}
\DeclareTextSymbol{\textbraceleft}{OT1}{123}
\DeclareTextSymbolDefault{\textbraceright}{OT1}
\DeclareTextSymbol{\textbraceright}{OT1}{125}
\DeclareTextAccentDefault{\textcircled}{OT1}
\DeclareTextSymbolDefault{\textunderscore}{OT1}
\DeclareTextSymbol{\textunderscore}{OT1}{95}
\DeclareTextCommand{\textcircled}{OT1}[1]{{%
\ooalign{%
\hfil \raise .24ex\hbox {\upshape#1}\hfil \crcr
\char 136 % "0D
}%
}}
%%%%%%%%%%% C-S %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\@ifpackagewith{inputenc}{iso-8859-7}{%
\DeclareInputText{242}{c}
}{}
\@ifpackagewith{babel}{greek}{%
%%%% from grsymb package %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareTextCommand{\Digamma}{LGR}{\char"C3\relax}
\DeclareTextCommand{\ddigamma}{LGR}{\char"93\relax}
\DeclareTextCommand{\tao}{LGR}{\char"01\relax}
\DeclareTextCommand{\Qoppa}{LGR}{\char"14\relax}
\DeclareTextCommand{\varqoppa}{LGR}{\char"13\relax}
\DeclareTextCommand{\Sampi}{LGR}{\char"13\relax}
\DeclareTextCommand{\sampi}{LGR}{\char"13\relax}
\DeclareTextCommand{\vardigamma}{LGR}{\char"07\relax}
\DeclareTextCommand{\Stigma}{LGR}{\textlatin{\char"43\relax}}
\DeclareTextCommand{\VarQoppa}{LGR}{\textlatin{\char"47\relax}}
\DeclareTextCommand{\euro}{LGR}{\char"18\relax}
\DeclareTextCommand{\Euro}{LGR}{\char"18\relax}
%\DeclareTextCommand{\permill}{LGR}{\char"19\relax}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}{%
\@ifpackagewith{babel}{polutonikogreek}{
%%%% from grsymb package %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareTextCommand{\Digamma}{LGR}{\char"C3\relax}
\DeclareTextCommand{\ddigamma}{LGR}{\char"93\relax}
\DeclareTextCommand{\tao}{LGR}{\char"01\relax}
\DeclareTextCommand{\Qoppa}{LGR}{\char"14\relax}
\DeclareTextCommand{\varqoppa}{LGR}{\char"13\relax}
\DeclareTextCommand{\Sampi}{LGR}{\char"13\relax}
\DeclareTextCommand{\sampi}{LGR}{\char"13\relax}
\DeclareTextCommand{\vardigamma}{LGR}{\char"07\relax}
\DeclareTextCommand{\Stigma}{LGR}{\textlatin{\char"43\relax}}
\DeclareTextCommand{\VarQoppa}{LGR}{\textlatin{\char"47\relax}}
\DeclareTextCommand{\euro}{LGR}{\char"18\relax}
\DeclareTextCommand{\Euro}{LGR}{\char"18\relax}
%\DeclareTextCommand{\permill}{LGR}{\char"19\relax}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}{}}
%% Fix LaTeX logos %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% We need LGR to typeset e at the end of \LaTeXe
\InputIfFileExists{lgrenc.def}{%
\message{Loading the definitions for the Greek font encoding}}{%
\errhelp{I can't find the lgrenc.def file for the Greek fonts}%
\errmessage{Since I do not know what the LGR encoding means^^J
I can't typeset Greek.^^J
I stop here, while you get a suitable lgrenc.def file}\@@end
}
\renewcommand{\TeX}{T\kern -.1667em\lower .55ex\hbox {E}\kern -.125emX}
\renewcommand{\LaTeXe}{\hbox{\fontencoding{OT1}\fontfamily{udidot}\selectfont L\kern-.29em%
\raisebox{.5ex}{\textsc{a}}\kern-.1em\hbox{\TeX}\kern-.0em\hbox{2}\kern-.05em%
\raisebox{-.4ex}{\fontencoding{LGR}\fontfamily{udidot}\selectfont\textsl{e}}}}
\renewcommand{\LaTeX}{\hbox{\fontencoding{OT1}\fontfamily{udidot}\selectfont L\kern-.29em%
\raisebox{.5ex}{\textsc{a}}\kern-.1em\hbox{\TeX}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%% Math %%%%%%%
\let\s@ved@info\@font@info
\let\@font@info\@gobble
\renewcommand{\rmdefault}{udidot}
\DeclareSymbolFont{operators} {OT1}{udidot}{m}{n}
\DeclareSymbolFont{letters} {OML}{udidot}{m}{it}
\DeclareMathAlphabet{\mathbf} {OT1}{udidot}{b}{n}
\DeclareMathAlphabet{\mathit} {OT1}{udidot}{m}{it}
\SetSymbolFont{operators}{bold}{OT1}{udidot}{b}{n}
%\SetSymbolFont{letters}{bold}{OML}{udidot}{b}{it}
\SetMathAlphabet\mathit{bold}{OT1}{udidot}{b}{it}
\def\defaultscriptratio{.75}
\def\defaultscriptscriptratio{.65}
\DeclareMathSizes{10}{10}{7.5}{6.5}
\DeclareMathSizes{11}{11}{8}{7}
\DeclareMathSizes{12}{12}{9}{8}
\DeclareMathSymbol{\Gamma}{\mathalpha}{letters}{0}
\DeclareMathSymbol{\Delta}{\mathalpha}{letters}{1}
\DeclareMathSymbol{\Theta}{\mathalpha}{letters}{2}
\DeclareMathSymbol{\Lambda}{\mathalpha}{letters}{3}
\DeclareMathSymbol{\Xi}{\mathalpha}{letters}{4}
\DeclareMathSymbol{\Pi}{\mathalpha}{letters}{5}
\DeclareMathSymbol{\Sigma}{\mathalpha}{letters}{6}
\DeclareMathSymbol{\Upsilon}{\mathalpha}{letters}{7}
\DeclareMathSymbol{\Phi}{\mathalpha}{letters}{8}
\DeclareMathSymbol{\Psi}{\mathalpha}{letters}{9}
\DeclareMathSymbol{\Omega}{\mathalpha}{letters}{10}
%
\DeclareMathSymbol{\alpha}{\mathalpha}{letters}{11}
\DeclareMathSymbol{\beta}{\mathalpha}{letters}{12}
\DeclareMathSymbol{\gamma}{\mathalpha}{letters}{13}
\DeclareMathSymbol{\delta}{\mathalpha}{letters}{14}
\DeclareMathSymbol{\epsilon}{\mathalpha}{letters}{15}
\DeclareMathSymbol{\zeta}{\mathalpha}{letters}{16}
\DeclareMathSymbol{\eta}{\mathalpha}{letters}{17}
\DeclareMathSymbol{\theta}{\mathalpha}{letters}{18}
\DeclareMathSymbol{\iota}{\mathalpha}{letters}{19}
\DeclareMathSymbol{\kappa}{\mathalpha}{letters}{20}
\DeclareMathSymbol{\lambda}{\mathalpha}{letters}{21}
\DeclareMathSymbol{\mu}{\mathalpha}{letters}{22}
\DeclareMathSymbol{\nu}{\mathalpha}{letters}{23}
\DeclareMathSymbol{\xi}{\mathalpha}{letters}{24}
\DeclareMathSymbol{\pi}{\mathalpha}{letters}{25}
\DeclareMathSymbol{\rho}{\mathalpha}{letters}{26}
\DeclareMathSymbol{\sigma}{\mathalpha}{letters}{27}
\DeclareMathSymbol{\tau}{\mathalpha}{letters}{28}
\DeclareMathSymbol{\upsilon}{\mathalpha}{letters}{29}
\DeclareMathSymbol{\phi}{\mathalpha}{letters}{30}
\DeclareMathSymbol{\chi}{\mathalpha}{letters}{31}
\DeclareMathSymbol{\psi}{\mathalpha}{letters}{32}
\DeclareMathSymbol{\omega}{\mathalpha}{letters}{33}
\DeclareMathSymbol{\varepsilon}{\mathalpha}{letters}{34}
\DeclareMathSymbol{\vartheta}{\mathalpha}{letters}{35}
\DeclareMathSymbol{\varpi}{\mathalpha}{letters}{36}
\DeclareMathSymbol{\varrho}{\mathalpha}{letters}{37}
\DeclareMathSymbol{\varsigma}{\mathalpha}{letters}{38}
\DeclareMathSymbol{\varphi}{\mathalpha}{letters}{39}
\DeclareMathAccent{\vec}{\mathord}{letters}{'176}
\let\didotvec=\vec
\renewcommand{\vec}[1]{\kern-.65em{\didotvec{\hspace*{.65em} #1}}}
\endinput
%%
%% End of file `gfsdidot.sty'.