1 % \iffalse meta-comment
3 % Copyright 1989-2008 Johannes L. Braams and any individual authors
4 % listed elsewhere in this file. All rights reserved.
6 % This file is part of the Babel system.
7 % --------------------------------------
9 % It may be distributed and/or modified under the
10 % conditions of the LaTeX Project Public License, either version 1.3
11 % of this license or (at your option) any later version.
12 % The latest version of this license is in
13 % http://www.latex-project.org/lppl.txt
14 % and version 1.3 or later is part of all distributions of LaTeX
15 % version 2003/12/01 or later.
17 % This work has the LPPL maintenance status "maintained".
19 % The Current Maintainer of this work is Johannes Braams.
21 % The list of all files belonging to the Babel system is
22 % given in the file `manifest.bbl. See also `legal.bbl' for additional
25 % The list of derived (unpacked) files belonging to the distribution
26 % and covered by LPPL is defined by the unpacking scripts (with
27 % extension .ins) which are part of the distribution.
33 %% This is file `grsymb.sty'
34 %% (c) 1997-2005 Apostolos Syropoulos.
35 %% All rights reserved.
36 % You are allowed to modify this file as long the initial copyright notice
37 % appears in the modified file.
39 % Please report errors or suggestions for improvement to
41 % Apostolos Syropoulos
42 % 366, 28th October Str.
43 % GR-671 00 Xanthi, GREECE
45 % apostolo at platon.ee.duth.gr or apostolo at obelix.ee.duth.gr
51 \documentclass{ltxdoc}
52 \GetFileInfo{grsymb.drv}
60 % \title{Greek Symbols}
61 % \author{Apostolos Syropoulos\\
62 % 366, 28th October Str.\\
63 % GR-671 00 Xanthi, HELLAS\\
64 % E-mail: \texttt{apostolo@platon.ee.duth.gr}}
69 % \section{Introduction}
71 % There are certain symbols which were in use in ancient Greece and which
72 % are of use to scholars even today. These symbols are various forms of
73 % qoppa and stigma, and the letter digamma. These special symbols are
74 % provided by the \texttt{cb} fonts which are now the official fonts for
75 % the \texttt{greek} option of the \texttt{babel} package. Moreover, these
76 % fonts provide a few more symbols such as a symbol for Euro, etc. The `tao'
77 % symbol although is not a greek symbol, survives mainly for reasons of
78 % compatibility. This little package provides access commands for these
79 % symbols. The package can be used only in conjunction with the |greek|
80 % option of the |babel| package.
84 % \section{The Implementation}
86 % First comes the identification part.
90 \ProvidesPackage{grsymb}[1997/09/21\space v1.0]
91 \typeout{Package: `grsymb' v1.0\space <1997/09/21> (A. Syropoulos)}
94 % Next we check to see if the |babel| package is loaded with at least
95 % the |greek| option. In case it isn't, we opt to produce an error message.
97 \@ifpackagewith{babel}{greek}{}{%
98 \PackageError{grsymb}{%
99 `greek' option of the `babel'\MessageBreak
100 package hasn't been loaded}{%
101 The commands provided by this package\MessageBreak
102 are specially designed for greek language\MessageBreak
103 typesetting with the `babel' package. Load\MessageBreak
104 it with at least the `greek' option.}\relax
107 % Now, we proceed with the definitions of the various symbols. Please note
108 % that |\ddigamma| is intensionally spelled erroneously, in order to avoid
109 % conflicts with the command |\digamma| that is defined by the package
110 % |amssymb|. Although the tao symbol is not a greek symbol, it is included
111 % mainly for reasons of compatibility.
113 \DeclareTextCommand{\Digamma}{LGR}{\char"C3\relax}
114 \DeclareTextCommand{\ddigamma}{LGR}{\char"93\relax}
115 \DeclareTextCommand{\tao}{LGR}{\char"01\relax}
116 \DeclareTextCommand{\Qoppa}{LGR}{\char"14\relax}
117 \DeclareTextCommand{\varqoppa}{LGR}{\char"13\relax}
118 \DeclareTextCommand{\Sampi}{LGR}{\char"1A\relax}
119 \DeclareTextCommand{\vardigamma}{LGR}{\char"07\relax}
120 \DeclareTextCommand{\Stigma}{LGR}{\char"08\relax}
121 \DeclareTextCommand{\VarQoppa}{LGR}{\char"15\relax}
122 \DeclareTextCommand{\euro}{LGR}{\char"18\relax}
123 \DeclareTextCommand{\permill}{LGR}{\char"19\relax}
127 % \section*{Dedication}
128 % I would like to dedicate this piece of work to my son
129 % \begin{center}Demetrios-Georgios.\end{center}