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.
254 lines
12 KiB
254 lines
12 KiB
1 year ago
|
%%
|
||
|
%% This is file `gfsneohellenic.sty',
|
||
|
%% generated with the docstrip utility.
|
||
|
%%
|
||
|
%% The original source files were:
|
||
|
%%
|
||
|
%% gfsneohellenic.dtx (with options: `gfsneohellenic')
|
||
|
%%
|
||
|
%% (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{gfsneohellenic.sty}
|
||
|
[2001/12/15 v1.0 Package `gfsneohellenic.sty']
|
||
|
\NeedsTeXFormat{LaTeX2e}
|
||
|
\message{}\MessageBreak
|
||
|
\message{*****************************************************************}\MessageBreak
|
||
|
\message{ GFS-Neohellenic style file by A. Tsolomitis and I. Vassilogiorgakis }\MessageBreak
|
||
|
\message{*****************************************************************}\MessageBreak
|
||
|
%% 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
|
||
|
}
|
||
|
%%%%%%%%%%%%%%
|
||
|
\DeclareOption{default}{%
|
||
|
%\usepackage{cmbright}
|
||
|
\renewcommand{\rmdefault}{neohellenic}\renewcommand{\sfdefault}{neohellenic}
|
||
|
\DeclareSymbolFont{letters}{OML}{neohellenic}{m}{it}
|
||
|
}
|
||
|
\ProcessOptions
|
||
|
\DeclareFontFamily{LGR}{cmbr}{}
|
||
|
\DeclareFontShape{LGR}{cmbr}{m}{n}{<-> s * [1.225] gneohellenicrg6a}{}
|
||
|
\newenvironment{neohellenic}{\fontfamily{neohellenic}\selectfont}{}
|
||
|
\newcommand{\textneohellenic}[1]{{\fontfamily{neohellenic}\selectfont #1}}
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
\newcommand{\textscsl}[1]{{\fontfamily{neohellenic}\fontseries{m}\fontshape{sco}\selectfont #1}}
|
||
|
\renewcommand{\oldstylenums}{\textsc}
|
||
|
\newcommand{\scslshape}{\fontfamily{neohellenic}\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}{neohellenicnums}{m}{tabnums}\selectfont #1}}
|
||
|
\renewcommand{\textbullet}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'42}}
|
||
|
\newcommand{\neohellenictextparagraph}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'266}}
|
||
|
\newcommand{\careof}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'13}}
|
||
|
\newcommand{\numero}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'5}}
|
||
|
\newcommand{\estimated}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'6}}
|
||
|
\newcommand{\whitebullet}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'10}}
|
||
|
\newcommand{\textlozenge}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'4}}
|
||
|
\newcommand{\eurocurrency}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'12}}
|
||
|
\newcommand{\interrobang}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'15}}
|
||
|
\newcommand{\yencurrency}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'16}}
|
||
|
\newcommand{\stirling}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'17}}
|
||
|
\newcommand{\stirlingoldstyle}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'20}}
|
||
|
\newcommand{\textfrac}[2]{\hbox{{\usefont{U}{neohellenicnums}{m}{textnumnums}\selectfont #1/}%
|
||
|
{\usefont{U}{neohellenicnums}{m}{textdenomnums}\selectfont /#2}}}
|
||
|
\newcommand{\onehalf}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'100}}
|
||
|
\newcommand{\onethird}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'101}}
|
||
|
\newcommand{\twothirds}{{\usefont{U}{neohellenicnums}{m}{tabnums}\selectfont\char'102}}
|
||
|
\newcommand{\deltaalt}{\fontencoding{LGR}\fontfamily{neohellenic}\selectfont\char'15}
|
||
|
\newcommand{\Epsilonalt}{\fontencoding{LGR}\fontfamily{neohellenic}\selectfont\char'16}
|
||
|
\newcommand{\zetaalt}{\fontencoding{LGR}\fontfamily{neohellenic}\selectfont\char'17}
|
||
|
\newcommand{\Xionealt}{\fontencoding{LGR}\fontfamily{neohellenic}\selectfont\char'24}
|
||
|
\newcommand{\Xitwoalt}{\fontencoding{LGR}\fontfamily{neohellenic}\selectfont\char'25}
|
||
|
\newcommand{\Omegaalt}{\fontencoding{LGR}\fontfamily{neohellenic}\selectfont\char'26}
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
|
||
|
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
\DeclareTextAccent{\`}{OT1}{30}
|
||
|
\DeclareTextAccent{\'}{OT1}{180}
|
||
|
\DeclareTextAccent{\^}{OT1}{25}
|
||
|
\DeclareTextAccent{\~}{OT1}{152}
|
||
|
\AtBeginDocument{\DeclareTextAccent{\"}{OT1}{168}}
|
||
|
%\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 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
\renewcommand{\TeX}{{\fontencoding{OT1}\fontfamily{neohellenic}\selectfont T\kern -.1667em\lower .55ex\hbox {E}\kern -.125emX}}
|
||
|
\renewcommand{\LaTeXe}{\hbox{\fontencoding{OT1}\fontfamily{neohellenic}\selectfont L\kern-.32em%
|
||
|
\raisebox{.75ex}{\textsc{a}}\kern-.05em\hbox{\TeX}\kern-.0em\hbox{2}\kern-.05em%
|
||
|
\raisebox{-.4ex}{\fontencoding{LGR}\fontfamily{neohellenic}\selectfont\textit{e}}}}%
|
||
|
\renewcommand{\LaTeX}{\hbox{\fontencoding{OT1}\fontfamily{neohellenic}\selectfont L\kern-.32em%
|
||
|
\raisebox{.75ex}{\textsc{a}}\kern-.05em\hbox{\TeX}}}
|
||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||
|
|
||
|
|
||
|
\DeclareSymbolFont{neohellenicnumbers}{OT1}{neohellenic}{m}{n}
|
||
|
\DeclareMathSymbol{0}{\mathalpha}{neohellenicnumbers}{`0}
|
||
|
\DeclareMathSymbol{1}{\mathalpha}{neohellenicnumbers}{`1}
|
||
|
\DeclareMathSymbol{2}{\mathalpha}{neohellenicnumbers}{`2}
|
||
|
\DeclareMathSymbol{3}{\mathalpha}{neohellenicnumbers}{`3}
|
||
|
\DeclareMathSymbol{4}{\mathalpha}{neohellenicnumbers}{`4}
|
||
|
\DeclareMathSymbol{5}{\mathalpha}{neohellenicnumbers}{`5}
|
||
|
\DeclareMathSymbol{6}{\mathalpha}{neohellenicnumbers}{`6}
|
||
|
\DeclareMathSymbol{7}{\mathalpha}{neohellenicnumbers}{`7}
|
||
|
\DeclareMathSymbol{8}{\mathalpha}{neohellenicnumbers}{`8}
|
||
|
\DeclareMathSymbol{9}{\mathalpha}{neohellenicnumbers}{`9}
|
||
|
|
||
|
\endinput
|
||
|
%%
|
||
|
%% End of file `gfsneohellenic.sty'.
|