summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/epigrafica/epigrafica.sty
blob: 215950985cb604a83bc10b6095c775f6f2a8f43a (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
%%
%% This is file `epigrafica.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% epigrafica.dtx  (with options: `epigrafica')
%%
%%  (c) copyright  2004-2009
%% 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{epigrafica.sty}
[2009/10/03 v1.01 Package `epigrafica.sty']
\NeedsTeXFormat{LaTeX2e}
\message{}\MessageBreak
\message{(Epigrafica style file by A. Tsolomitis)}\MessageBreak
\message{}\MessageBreak
\RequirePackage{pxfonts}
\renewcommand{\rmdefault}{epigrafica}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\def\stigma{st}
%\DeclareTextCommand{\anwtonos}{LGR}{\char'047\relax}
%\let\katwtonos\relax
%\let\qoppa\relax
%\let\sampi\relax
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\textbullet}{{\fontencoding{OT1}\selectfont\symbol{'225}}}
\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"1A\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{\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"1A\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{\permill}{LGR}{\char"19\relax}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}{}}            

%%% Fix LaTeX logos %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\DeclareRobustCommand{\LaTeX}{L\kern-.36em%
%        {\sbox\z@ T%
%         \vbox to\ht\z@{\hbox{\check@mathfonts
%                              \fontsize\sf@size\z@
%                              \math@fontsfalse\selectfont
%                              \kern.25em A\kern.15em}%
%                        \vss}%
%        }%
%        \kern-.15em%
%        \TeX}
\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
  }
\DeclareRobustCommand{\LaTeX}{L\kern-.36em%
\kern.15em\raise.5ex\hbox{%
\check@mathfonts
                             \fontsize\sf@size\z@
                             \math@fontsfalse\selectfont
                             \kern.05em A\kern-.05em
}%
        \TeX}
\newsavebox{\theeinlatexlogo}
\savebox{\theeinlatexlogo}{\hbox{\usefont{LGR}{epigrafica}{m}{it}e}}
\DeclareRobustCommand{\LaTeXe}{\LaTeX\kern.06em2%
\kern-.05em$_{\hbox{\fontencoding{LGR}\fontfamily{epigrafica}\fontshape{it}%
\selectfont e}}$}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\endinput
%%
%% End of file `epigrafica.sty'.