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.

229 lines
10 KiB

1 year ago
%%
%% This is file `gfsbodoni.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% gfsbodoni.dtx (with options: `gfsbodoni')
%%
%% (c) copyright 2006
%% 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{gfsbodoni.sty}
[2001/12/15 v1.0 Package `gfsbodoni.sty']
\NeedsTeXFormat{LaTeX2e}
\message{}\MessageBreak
\message{*****************************************************************}\MessageBreak
\message{ GFS-Bodoni style file by A. Tsolomitis and I. Vasilogiorgakis }\MessageBreak
\message{*****************************************************************}\MessageBreak
\DeclareOption{default}{%
\renewcommand{\rmdefault}{bodoni}}
\ProcessOptions
\newenvironment{bodoni}{\fontfamily{bodoni}\selectfont}{}
\newcommand{\textbodoni}[1]{{\fontfamily{bodoni}\selectfont #1}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\textscsl}[1]{{\fontfamily{bodoni}\fontseries{m}\fontshape{sco}\selectfont #1}}
\renewcommand{\oldstylenums}{\textsc}
\newcommand{\scslshape}{\fontfamily{bodoni}\fontseries{m}\fontshape{sco}\selectfont}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\def\stigma{st}
%\DeclareTextCommand{\anwtonos}{LGR}{\char'047\relax}
%\let\katwtonos\relax
%\let\qoppa\relax
%\let\sampi\relax
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\tabnums}[1]{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont #1}}
\renewcommand{\textbullet}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'42}}
\newcommand{\bodonitextparagraph}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'266}}
\newcommand{\careof}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'13}}
\newcommand{\numero}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'5}}
\newcommand{\estimated}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'6}}
\newcommand{\whitebullet}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'10}}
\newcommand{\textlozenge}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'4}}
\newcommand{\eurocurrency}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'12}}
\newcommand{\interrobang}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'15}}
\newcommand{\yencurrency}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'16}}
\newcommand{\stirling}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'17}}
\newcommand{\stirlingoldstyle}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'20}}
\newcommand{\textfrac}[2]{\hbox{{\usefont{U}{bodoninums}{m}{textnumnums}\selectfont #1/}%
{\usefont{U}{bodoninums}{m}{textdenomnums}\selectfont /#2}}}
\newcommand{\onehalf}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'100}}
\newcommand{\onethird}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'101}}
\newcommand{\twothirds}{{\usefont{U}{bodoninums}{m}{tabnums}\selectfont\char'102}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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}{{\fontencoding{OT1}\fontfamily{bodoni}\selectfont T\kern -.1667em\lower .55ex\hbox {E}\kern -.125emX}}
\renewcommand{\LaTeXe}{\hbox{\fontencoding{OT1}\fontfamily{bodoni}\selectfont L\kern-.29em%
\raisebox{.5ex}{\textsc{a}}\kern-.1em\hbox{\TeX}\kern-.0em\hbox{2}\kern-.05em%
\raisebox{-.4ex}{\fontencoding{LGR}\fontfamily{bodoni}\selectfont\textit{e}}}}
\renewcommand{\LaTeX}{\hbox{\fontencoding{OT1}\fontfamily{bodoni}\selectfont L\kern-.29em%
\raisebox{.5ex}{\textsc{a}}\kern-.1em\hbox{\TeX}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\endinput
%%
%% End of file `gfsbodoni.sty'.