%% (c) copyright 2006, 2007 %% Antonis Tsolomitis %% Department of Mathematics, University of the Aegean %% %% This document 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. %% \documentclass{article} \usepackage[polutonikogreek,english]{babel} \usepackage[iso-8859-7]{inputenc} \usepackage{cmbright} \usepackage[default]{gfsneohellenic} \usepackage{latexsym,amsfonts} %\renewcommand{\ttdefault}{hlst} %%%%% Theorems and friends \newtheorem{theorem}{Θεώρημα}[section] \newtheorem{lemma}[theorem]{Λήμμα} \newtheorem{proposition}[theorem]{Πρόταση} \newtheorem{corollary}[theorem]{Πόρισμα} \newtheorem{definition}[theorem]{Ορισμός} \newtheorem{remark}[theorem]{Παρατήρηση} \newtheorem{axiom}[theorem]{Αξίωμα} \newtheorem{exercise}[theorem]{Άσκηση} %%%%% Environment ``proof'' \newenvironment{proof}[1]{{\textit{Απόδειξη:}}}{\ \hfill$\Box$} \newenvironment{hint}[1]{{\textit{Υπόδειξη:}}}{\ \hfill$\Box$} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \title{The \textsc{gfsneohellenic} font family} \author{Antonis Tsolomitis\\ Laboratory of Digital Typography\\ and Mathematical Software\\ Department of Mathematics\\ University of the Aegean} \date {\textsc{12} May \textsc{2006}} \begin{document} \maketitle \section{Introduction} The NeoHellenic family of the Greek Font Society was made available for free during the winter of 2006. This font existed with a commercial license for many years before. Support for \LaTeX\ and the babel package was prepared several years ago by the author and I.\ Vasilogiorgakis. With the free availability of the fonts I have modified the original package so that it reflects the changes occured in the latest releases by \textsc{gfs}. The package supports three encodings: OT1, T1 and LGR to the extend that the font themselves cover these. OT1 and LGR should be fairly complete. The greek part is to be used with the greek option of the Babel package. The fonts are loaded with \verb|\usepackage{gfsneohellenic}| or \verb|\usepackage[default]{gfsneohellenic}|. The latter one sets NeoHellenic as the default document font. The former defines the environment \verb|neohellenic| and the command \verb|\textneohellenic|. For example, while in Greek language \verb|\textneohellenic{dokim'h}| produces \textgreek{\textneohellenic{dokim'h}}. x-height is adjusted so that it matches with the x-height of the \verb|cmbright| package. This is done to help with documents requiring mathematics. In this case load \verb|cmbright| \textit{but before} \verb|gfsneohellenic.sty|. \section{Installation} Copy the contents of the subdirectory afm in texmf/fonts/afm/GFS/NeoHellenic/ \medskip \noindent Copy the contents of the subdirectory doc in texmf/doc/latex/GFS/NeoHellenic/ \medskip \noindent Copy the contents of the subdirectory enc in texmf/fonts/enc/dvips/GFS/NeoHellenic/ \medskip \noindent Copy the contents of the subdirectory map in texmf/fonts/map/dvips/GFS/NeoHellenic/ \medskip \noindent Copy the contents of the subdirectory tex in texmf/tex/latex/GFS/NeoHellenic/ \medskip \noindent Copy the contents of the subdirectory tfm in texmf/fonts/tfm/GFS/NeoHellenic/ \medskip \noindent Copy the contents of the subdirectory type1 in texmf/fonts/type1/GFS/NeoHellenic/ \medskip \noindent Copy the contents of the subdirectory vf in texmf/fonts/vf/GFS/NeoHellenic/ \medskip \noindent In your installation's updmap.cfg file add the line \medskip \noindent Map gfsneohellenic.map \medskip Refresh your filename database and the map file database (for example, on Unix systems run mktexlsr and then run the updmap-sys (or updmap on older systems) script as root). You are now ready to use the fonts. \section{Usage} As said in the introduction the package covers both english and greek. Greek covers polytonic too through babel (read the documentation of the babel package and its greek option). For example, the preample \begin{verbatim} \documentclass{article} \usepackage[english,greek]{babel} \usepackage[iso-8859-7]{inputenc} \usepackage{cmbright} \usepackage[default]{gfsneohellenic} \end{verbatim} will be the correct setup for articles in Greek using NeoHellenic for the main font. \bigskip \subsection{Transformations by \texttt{dvips}} Other than the shapes provided by the fonts themselves, this package provides a slanted small caps shape using the standard mechanism provided by dvips. Get slanted small caps with \verb|\scslshape|. For example, the code \begin{verbatim} \textsc{small caps \textgreek{πεζοκεφαλαία} 0123456789} {\scslshape \textgreek{πεζοκεφαλαία 0123456789}} \end{verbatim} will give \textsc{small caps \textgreek{πεζοκεφαλαία} 0123456789} {\scslshape \textgreek{πεζοκεφαλαία 0123456789}} \noindent The command \verb|\textscsl{}| are also provided. \subsection{Alternative characters} There are alternative designs for delta, Epsilon, zeta, Xi and Omega. Xi has two alternatives. These glyphs are accessed with the following commands: \begin{center} \begin{tabular}{|c|c|c|}\hline Default design & Alternative design & Command\\ \hline \textgreek{d}& \textgreek{\deltaalt} & \verb|\deltaatl|\\ \hline \textgreek{E}& \textgreek{\Epsilonalt} & \verb|\Epsilonalt|\\ \hline \textgreek{z}& \textgreek{\zetaalt} & \verb|\zetaalt|\\ \hline \textgreek{X}& \textgreek{\Xionealt} & \verb|\Xionealt|\\ \hline \textgreek{X}& \textgreek{\Xitwoalt} & \verb|\Xitwoalt|\\ \hline \textgreek{W}& \textgreek{\Omegaalt} & \verb|\Omegaalt|\\ \hline \end{tabular} \end{center} \subsection{Tabular numbers} Tabular numbers (of fixed width) are accessed with the command \verb|\tabnums{}|. Compare \begin{tabular}{ll} \verb+|0|1|2|3|4|5|6|7|8|9|+ & |0|1|2|3|4|5|6|7|8|9|\\ \verb+\tabnums{|0|1|2|3|4|5|6|7|8|9|}+ & \tabnums{|0|1|2|3|4|5|6|7|8|9|} \end{tabular} \subsection{Text fractions} Text fractions are composed using the lower and upper numerals provided by the fonts, and are accessed with the command \verb|\textfrac{}{}|. For example, \verb|\textfrac{-22}{7}| gives \textfrac{-22}{7}. Precomposed fractions are provided too by \verb|\onehalf|, \verb|\onethird|, etc. \subsection{Additional characters} \begin{center} \begin{tabular}{|c|c|}\hline \verb|\textbullet| &\textbullet \\ \hline \verb|\textparagraph| &\textparagraph \\ \hline %\verb|\textparagraphalt| & \textparagraphalt\\ \hline %\verb|\careof| & \careof\\ \hline \verb|\numero| & \numero\\ \hline \verb|\estimated| & \estimated\\ \hline %\verb|\whitebullet| & \whitebullet\\ \hline \verb|\textlozenge| & \textlozenge\\ \hline \verb|\eurocurrency| & \eurocurrency\\ \hline %\verb|\interrobang| & \interrobang\\ \hline \verb|\textdagger| & \textdagger\\ \hline \verb|\textdaggerdbl| & \textdaggerdbl\\ \hline \verb|\yencurrency| & \yencurrency\\ \hline \end{tabular} \end{center} Euro is also available in LGR enconding. \verb|\textgreek{\euro}| gives \textgreek{\euro}. \section{Problems} The accents of the capital letters should hang in the left margin when such a letter starts a line. \TeX\ and \LaTeX\ do not provide the tools for such a feature. However, this seems to be possible with \textlatin{pdf\TeX} As this is work in progress, please be patient\ldots \section{Samples} The next two pages provide samples in english and greek with math. \newpage Adding up these inequalities with respect to $i$, we get \begin{equation} \sum c_i d_i \leq \frac1{p} +\frac1{q} =1\label{10}\end{equation} since $\sum c_i^p =\sum d_i^q =1$.\hfill$\Box$ In the case $p=q=2$ the above inequality is also called the \textit{Cauchy-Schwartz inequality}. Notice, also, that by formally defining $\left( \sum |b_k|^q\right)^{1/q}$ to be $\sup |b_k|$ for $q=\infty$, we give sense to (9) for all $1\leq p\leq\infty$. A similar inequality is true for functions instead of sequences with the sums being substituted by integrals. \medskip \textbf{Theorem} {\itshape Let $1