summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gfsartemisia/gfsartemisia-euler.sty
blob: 0860a065e2ec057e8fa6e4103c14cd2116a75a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
%%
%% This is file `gfsartemisia-euler.sty'.
%%
%%  (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{gfsartemisia-euler.sty}
[2007/10/07 v1.0 Package `gfsartemisia-euler.sty']
\NeedsTeXFormat{LaTeX2e}
\message{}\MessageBreak
\message{*****************************************************************}\MessageBreak
\message{  GFS-Artemisia-Euler style file by A. Tsolomitis and I. Vasilogiorgakis  }\MessageBreak
\message{*****************************************************************}\MessageBreak
\RequirePackage{euler}
\renewcommand{\rmdefault}{artemisiaeuler}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\textscsl}[1]{{\fontfamily{artemisiaeuler}\fontseries{m}\fontshape{sco}\selectfont #1}}
\renewcommand{\oldstylenums}{\textsc}
\newcommand{\scslshape}{\fontfamily{artemisiaeuler}\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}{artemisiaeulernums}{m}{tabnums}\selectfont #1}}
\renewcommand{\textbullet}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'42}}
\newcommand{\artemisiatextparagraph}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'266}}
\newcommand{\artemisiatextparagraphalt}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'265}}
\newcommand{\textparagraphalt}{\artemisiatextparagraphalt}
\newcommand{\careof}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'13}}
\newcommand{\numero}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'5}}
\newcommand{\estimated}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'6}}
\newcommand{\whitebullet}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'10}}
\newcommand{\textlozenge}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'4}}
\newcommand{\eurocurrency}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'12}}
\newcommand{\interrobang}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'15}}
\newcommand{\yencurrency}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'16}}
\newcommand{\stirling}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'17}}
\newcommand{\stirlingoldstyle}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'20}}
\newcommand{\textfrac}[2]{\hbox{{\usefont{U}{artemisiaeulernums}{m}{textnumnums}\selectfont #1/}%
                         {\usefont{U}{artemisiaeulernums}{m}{textdenomnums}\selectfont /#2}}}
\newcommand{\onehalf}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'100}}
\newcommand{\onethird}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'101}}
\newcommand{\twothirds}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'102}}
\newcommand{\onefifth}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'103}}
\newcommand{\twofifths}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'104}}
\newcommand{\threefifths}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'105}}
\newcommand{\fourfifths}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'106}}
\newcommand{\onesixth}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'107}}
\newcommand{\fivesixths}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'110}}
\newcommand{\oneeighth}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'111}}
\newcommand{\threeeighths}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'112}}
\newcommand{\fiveeighths}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'113}}
\newcommand{\seveneighths}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'114}}
\newcommand{\artemisiaeulertextdagger}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'21}}
\newcommand{\artemisiaeulertextdaggerdbl}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'22}}
\newcommand{\greekfemfirst}{{\usefont{U}{artemisiaeulernums}{m}{tabnums}\selectfont\char'156}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\DeclareSymbolFont{artemisiaeulernumbers}{OT1}{artemisiaeuler}{m}{n}
\DeclareMathSymbol{0}{\mathalpha}{artemisiaeulernumbers}{`0}
\DeclareMathSymbol{1}{\mathalpha}{artemisiaeulernumbers}{`1}
\DeclareMathSymbol{2}{\mathalpha}{artemisiaeulernumbers}{`2}
\DeclareMathSymbol{3}{\mathalpha}{artemisiaeulernumbers}{`3}
\DeclareMathSymbol{4}{\mathalpha}{artemisiaeulernumbers}{`4}
\DeclareMathSymbol{5}{\mathalpha}{artemisiaeulernumbers}{`5}
\DeclareMathSymbol{6}{\mathalpha}{artemisiaeulernumbers}{`6}
\DeclareMathSymbol{7}{\mathalpha}{artemisiaeulernumbers}{`7}
\DeclareMathSymbol{8}{\mathalpha}{artemisiaeulernumbers}{`8}
\DeclareMathSymbol{9}{\mathalpha}{artemisiaeulernumbers}{`9}
\SetMathAlphabet{\mathrm}{normal}{\encodingdefault}{\rmdefault}{m}{n}
\SetMathAlphabet{\mathbf}{normal}{\encodingdefault}{\rmdefault}{b}{n}
\SetMathAlphabet{\mathit}{normal}{\encodingdefault}{\rmdefault}{m}{it}
\SetMathAlphabet{\mathsf}{normal}{\encodingdefault}{\sfdefault}{m}{n}
\SetMathAlphabet{\mathtt}{normal}{\encodingdefault}{\ttdefault}{m}{n}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}{%
\@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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}{}}            

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Fix LaTeX logos %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\TeX}{{\fontencoding{OT1}\fontfamily{artemisiaeuler}\selectfont T\kern -.1667em\lower .55ex\hbox {E}\kern -.125emX}}
\renewcommand{\LaTeXe}{\hbox{\fontencoding{OT1}\fontfamily{artemisiaeuler}\selectfont L\kern-.29em%
\raisebox{.5ex}{\textsc{a}}\kern-.1em\hbox{\TeX}\kern-.0em\hbox{2}\kern-.05em%
\raisebox{-.4ex}{\fontencoding{LGR}\fontfamily{artemisiaeuler}\selectfont\textit{e}}}}      
\renewcommand{\LaTeX}{\hbox{\fontencoding{OT1}\fontfamily{artemisiaeuler}\selectfont L\kern-.29em%
\raisebox{.5ex}{\textsc{a}}\kern-.1em\hbox{\TeX}}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\endinput
%%
%% End of file `gfsartemisia-euler.sty'.