| 1 |
%% LyX 1.3 created this file. For more info, see http://www.lyx.org/. |
| 2 |
%% Do not edit unless you really know what you are doing. |
| 3 |
\documentclass[english]{article} |
| 4 |
\usepackage[T1]{fontenc} |
| 5 |
\usepackage[latin1]{inputenc} |
| 6 |
\usepackage{array} |
| 7 |
\usepackage{amssymb} |
| 8 |
|
| 9 |
\makeatletter |
| 10 |
|
| 11 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands. |
| 12 |
%% Bold symbol macro for standard LaTeX users |
| 13 |
\newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}} |
| 14 |
|
| 15 |
%% Because html converters don't know tabularnewline |
| 16 |
\providecommand{\tabularnewline}{\\} |
| 17 |
|
| 18 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands. |
| 19 |
|
| 20 |
\usepackage{fullpage} |
| 21 |
\usepackage{bera} |
| 22 |
\usepackage{arevmath} |
| 23 |
|
| 24 |
\fboxsep=.25in |
| 25 |
|
| 26 |
\usepackage[pdftex]{graphicx} |
| 27 |
\usepackage{epstopdf} |
| 28 |
|
| 29 |
\usepackage{hyperref} |
| 30 |
\hypersetup{ |
| 31 |
pdfauthor = {Stephen G. Hartke}, |
| 32 |
pdftitle = {Arev Sans for TeX and LaTeX}, |
| 33 |
pdfview = FitBH, |
| 34 |
pdfstartview = FitBH, |
| 35 |
colorlinks = false |
| 36 |
} |
| 37 |
|
| 38 |
\newcommand{\pic}[3][] |
| 39 |
{\begin{center}\framebox{\scalebox{#2}{\includegraphics[#1]{#3.eps}}}\end{center}} |
| 40 |
|
| 41 |
\usepackage{babel} |
| 42 |
\makeatother |
| 43 |
\begin{document} |
| 44 |
|
| 45 |
\title{Arev Sans for \TeX{} and \LaTeX{}} |
| 46 |
|
| 47 |
|
| 48 |
\author{Stephen G.\ Hartke% |
| 49 |
\footnote{\emph{email}: lastname at gmail dot com.% |
| 50 |
}} |
| 51 |
|
| 52 |
|
| 53 |
\date{May 30, 2006} |
| 54 |
|
| 55 |
\maketitle |
| 56 |
|
| 57 |
\section{Introduction} |
| 58 |
|
| 59 |
Bitstream Vera was designed by Jim Lyles of Bitstream, Inc., in cooperation |
| 60 |
with the Gnome Foundation as a high quality scalable free font for |
| 61 |
use with free open-source software \cite{vera}. The Bitstream Vera |
| 62 |
family includes serif, sans serif, and monospaced fonts,% |
| 63 |
\footnote{The text of this document is set in Bera Serif and Mono~\cite{bera}, |
| 64 |
a repackaging of Bitstream Vera for \TeX{}.% |
| 65 |
} and all three fonts have normal, oblique, bold, and bold oblique |
| 66 |
faces. Bitstream Vera is primarily intended as a screen font (though |
| 67 |
it also works well as a print font) and has hinting for display on |
| 68 |
low-resolution devices such as computer monitors and projectors. All |
| 69 |
three fonts have large \emph{x} height, wide letters and spacing, |
| 70 |
and {}``open'' letters,% |
| 71 |
\footnote{For instance, compare the lowercase {}``e'' of Arev Sans with that |
| 72 |
of Helvetica.% |
| 73 |
} resulting in fonts that are extremely easy to read at small sizes |
| 74 |
or on projected displays. |
| 75 |
|
| 76 |
Tavmjong Bah created Arev Sans% |
| 77 |
\footnote{Per the license for Bitstream Vera, any derivative fonts must have |
| 78 |
a different name.% |
| 79 |
} by extending Bitstream Vera Sans to include Greek, Cyrillic, and |
| 80 |
many mathematical symbols \cite{arev}. The new glyphs added by Bah |
| 81 |
accurately capture the feel of the Latin letters and so seamlessly |
| 82 |
integrate into the font. Bah's intention was to add symbols that are |
| 83 |
useful for technical writing, and hence the Greek letters are typical |
| 84 |
of those used in mathematics and science and not of the letters used |
| 85 |
in writing the Greek language.% |
| 86 |
\footnote{Specifically, alpha is not the same as lowercase {}``a,'' nu is |
| 87 |
not the same as lowercase {}``v,'' and Upsilon is not the same as |
| 88 |
uppercase {}``Y.''% |
| 89 |
} At the author's request, Bah also added several alternate glyphs |
| 90 |
for some of the Latin and Greek letters. This was mainly done so that |
| 91 |
all of the letters can be clearly distinguished when in mathematics |
| 92 |
and not surrounded by other letters or even aligned with the baseline.% |
| 93 |
\footnote{The lowercase {}``l'' and the uppercase {}``I'' in particular |
| 94 |
are almost identical in Bitstream Vera Sans. The lowercase phi and |
| 95 |
original uppercase Phi in Arev Sans are also difficult to distinguish |
| 96 |
without a baseline.% |
| 97 |
} Additionally, several alternate glyphs were added that are {}``warmer'' |
| 98 |
or more {}``humanist'' than the strict {}``geometric'' glyphs.% |
| 99 |
\footnote{The extra glyphs include {}``a,'' {}``i,'' {}``l,'' {}``u,'' |
| 100 |
{}``v,'' {}``w,'' {}``x,'' and uppercase Gamma, Pi, Xi, Sigma, |
| 101 |
and Phi. The florin is used as an alternate {}``f.''% |
| 102 |
} These extra glyphs add a degree of warmth to mathematics written |
| 103 |
in Arev Sans that is not achieved with other sans serif fonts. |
| 104 |
|
| 105 |
% |
| 106 |
\begin{figure*} |
| 107 |
\begin{center}\pic[viewport=96 0 527 198]{1}{fontsample}\end{center} |
| 108 |
|
| 109 |
|
| 110 |
\caption{\label{cap:fontsample}Font sample of Arev Sans text and math.} |
| 111 |
\end{figure*} |
| 112 |
Figure~\ref{cap:fontsample} shows a sample of Arev Sans being used |
| 113 |
for text and mathematics. The primary use that the author sees for |
| 114 |
Arev Sans in \LaTeX{} is for presentations, and especially for those |
| 115 |
that are displayed with a computer projector. The attributes of Bitstream |
| 116 |
Vera and Arev mentioned above make Arev particularly suited for this |
| 117 |
purpose. Besides Arev, there are only a few other options for sans |
| 118 |
serif fonts in \LaTeX{}, and none of them are entirely satisfactory. |
| 119 |
Computer Modern sans serif and the Sli\TeX{} sans serif% |
| 120 |
\footnote{Arev Sans is actually very similar to Sli\TeX{} sans serif (\texttt{lcmss}) |
| 121 |
in that both have large \emph{x} height, have wide letters and spacing, |
| 122 |
and have {}``open'' letters. Arev Sans is heavier than Sli\TeX{} |
| 123 |
sans serif though, which makes it more suitable for computer projectors.% |
| 124 |
} fonts can be used for text, but Computer Modern roman is still used |
| 125 |
for mathematics. Walter Schmidt's Computer Modern Bright% |
| 126 |
\footnote{Harald Halders created Type 1 Postcript font versions of the \texttt{cmbright} |
| 127 |
fonts called \texttt{hfbright}. The fonts were created by tracing |
| 128 |
high resolution bitmaps, and so are not perfect. However, scalable |
| 129 |
Type 1 fonts greatly improve the quality of Postscript and \texttt{.pdf} |
| 130 |
files on computer screens and projectors.% |
| 131 |
} (\texttt{cmbright}\cite{cmbright}) is a sans serif family that includes |
| 132 |
both text and mathematics, but is very thin and does not display well |
| 133 |
on a computer projector. Kerkis Sans\cite{kerkis} is based on Avant |
| 134 |
Garde and includes Greek sans serif glyphs, but is also very thin. |
| 135 |
Helvetica and other PostScript sans serif fonts can be used for text |
| 136 |
and for Latin letters in mathematics, but they do not have matching |
| 137 |
Greek letters or the proper weight for geometric mathematical symbols. |
| 138 |
|
| 139 |
The \texttt{arev} package works well with the \LaTeX{} package \texttt{beamer} |
| 140 |
\cite{beamer} with the \texttt{professionalfonts} option. Figures~\ref{cap:ArevSans}-\ref{cap:Helvetica} |
| 141 |
show examples of \texttt{beamer} with the font options mentioned above |
| 142 |
where each slide is scaled to 90\% of its default size, and % |
| 143 |
\begin{figure} |
| 144 |
\begin{center}\begin{tabular}{cc} |
| 145 |
\begin{minipage}[c]{0.45\columnwidth}% |
| 146 |
\pic{.5}{prosper-arev} |
| 147 |
|
| 148 |
|
| 149 |
\vspace*{-0.5em} |
| 150 |
\caption{\label{cap:Arev}Arev Sans}\vspace*{\bigskipamount} |
| 151 |
\end{minipage}% |
| 152 |
& |
| 153 |
\begin{minipage}[c]{0.45\columnwidth}% |
| 154 |
\pic{.5}{prosper-helvetica} |
| 155 |
|
| 156 |
|
| 157 |
\vspace*{-0.5em} |
| 158 |
\caption{Helvetica}\vspace*{\bigskipamount} |
| 159 |
\end{minipage}% |
| 160 |
\tabularnewline |
| 161 |
\begin{minipage}[c]{0.45\columnwidth}% |
| 162 |
\pic{.5}{prosper-lcmss} |
| 163 |
|
| 164 |
|
| 165 |
\vspace*{-0.5em} |
| 166 |
\caption{Sli\TeX{} font (\texttt{lcmss})}\vspace*{\bigskipamount} |
| 167 |
\end{minipage}% |
| 168 |
& |
| 169 |
\begin{minipage}[c]{0.45\columnwidth}% |
| 170 |
\pic{.5}{prosper-kerkis} |
| 171 |
|
| 172 |
|
| 173 |
\vspace*{-0.5em} |
| 174 |
\caption{Kerkis Sans}\vspace*{\bigskipamount} |
| 175 |
\end{minipage}% |
| 176 |
\tabularnewline |
| 177 |
\begin{minipage}[c]{0.45\columnwidth}% |
| 178 |
\pic{.5}{prosper-cmss} |
| 179 |
|
| 180 |
|
| 181 |
\vspace*{-0.5em} |
| 182 |
\caption{Computer Modern sans serif (\texttt{cmss})}\vspace*{\bigskipamount} |
| 183 |
\end{minipage}% |
| 184 |
& |
| 185 |
\begin{minipage}[c]{0.45\columnwidth}% |
| 186 |
\pic{.5}{prosper-cmbright} |
| 187 |
|
| 188 |
|
| 189 |
\vspace*{-0.5em} |
| 190 |
\caption{\label{cap:CM-Bright}CM Bright}\vspace*{\bigskipamount} |
| 191 |
\end{minipage}% |
| 192 |
\tabularnewline |
| 193 |
\end{tabular}\end{center} |
| 194 |
\end{figure} |
| 195 |
Figures~\ref{cap:Arev}-\ref{cap:CM-Bright} show side-by-side examples |
| 196 |
scaled to 50\%. Sli\TeX{} sans serif is loaded into \texttt{beamer} |
| 197 |
using \TeX{}Power's \texttt{tpslifonts.sty}~\cite{texpower}.% |
| 198 |
\begin{figure} |
| 199 |
\begin{center}\pic{.9}{prosper-arev}\end{center} |
| 200 |
|
| 201 |
|
| 202 |
\vspace*{-1.75em} |
| 203 |
\caption{\label{cap:ArevSans}Arev Sans} |
| 204 |
\end{figure} |
| 205 |
% |
| 206 |
\begin{figure} |
| 207 |
\begin{center}\pic{.9}{prosper-lcmss}\end{center} |
| 208 |
|
| 209 |
|
| 210 |
\vspace*{-1.75em} |
| 211 |
\caption{Sli\TeX{} font (\texttt{lcmss})} |
| 212 |
\end{figure} |
| 213 |
% |
| 214 |
\begin{figure} |
| 215 |
\begin{center}\pic{.9}{prosper-cmss}\end{center} |
| 216 |
|
| 217 |
|
| 218 |
\vspace*{-1.75em} |
| 219 |
\caption{Computer Modern sans serif (\texttt{cmss})} |
| 220 |
\end{figure} |
| 221 |
% |
| 222 |
\begin{figure} |
| 223 |
\begin{center}\pic{.9}{prosper-cmbright}\end{center} |
| 224 |
|
| 225 |
|
| 226 |
\vspace*{-1.75em} |
| 227 |
\caption{CM Bright} |
| 228 |
\end{figure} |
| 229 |
% |
| 230 |
\begin{figure} |
| 231 |
\begin{center}\pic{.9}{prosper-kerkis}\end{center} |
| 232 |
|
| 233 |
|
| 234 |
\vspace*{-1.75em} |
| 235 |
\caption{Kerkis Sans} |
| 236 |
\end{figure} |
| 237 |
% |
| 238 |
\begin{figure} |
| 239 |
\begin{center}\pic{.9}{prosper-helvetica}\end{center} |
| 240 |
|
| 241 |
|
| 242 |
\vspace*{-1.75em} |
| 243 |
\caption{\label{cap:Helvetica}Helvetica} |
| 244 |
\end{figure} |
| 245 |
|
| 246 |
|
| 247 |
|
| 248 |
\section{Implementation} |
| 249 |
|
| 250 |
With internationalization of computer software and the growing use |
| 251 |
of Unicode, many free scalable fonts are available that include both |
| 252 |
Latin and Greek letters. However, making use of these fonts for mathematics |
| 253 |
in \LaTeX{} is a nontrivial task: not only are there many subtleties |
| 254 |
to using fonts in \LaTeX{}, but the documentation is scattered among |
| 255 |
many sources and there are few examples to consult. The author hopes |
| 256 |
that the \texttt{arev} package can serve as a template for others |
| 257 |
who wish to create new math font packages for \LaTeX{}. |
| 258 |
|
| 259 |
The excellent GPLed font editor FontForge~\cite{fontforge} was used |
| 260 |
by Bah to create Arev Sans and was used by the author for creating |
| 261 |
PostScript \texttt{pfb}, \texttt{afm} , and \TeX{} \texttt{tfm} files. |
| 262 |
Version 0.21a of Arev Sans contains a considerable number of glyphs; |
| 263 |
\texttt{fontinst} exhausted \TeX{}'s memory trying to process the |
| 264 |
\texttt{afm} files. Thus, when creating the Type~1 versions of Arev |
| 265 |
Sans, most of the glyphs unused by \TeX{} were removed. The Bash shell |
| 266 |
script \texttt{afmtoglyphlist} was used to extract the glyph names |
| 267 |
from the \texttt{afm} file into a list that a \texttt{fontinst} script |
| 268 |
used for renaming glyphs. The magic of \texttt{fontinst} was used |
| 269 |
to create virtual fonts and font metrics, \LaTeX{} font definition |
| 270 |
files, and the \texttt{dvips} map file. |
| 271 |
|
| 272 |
The vertical placement of math accents requires the accents to be |
| 273 |
appropriately placed for characters 1 ex high. The accents also need |
| 274 |
to have a zero depth, which is set by the file \texttt{fixot1accents.mtx} |
| 275 |
(based on their bounding boxes, the accents naturally have negative |
| 276 |
depths). Horizontal placement of math accents is done by centering |
| 277 |
the accent over the character, and then adjusting the position by |
| 278 |
the kern between the character on the left and a special character |
| 279 |
called the \emph{skewchar}. Bah has accent placement information in |
| 280 |
his FontForge sfd files, so the scripts \texttt{createkerndata}, \texttt{fonttokernsfd.ff}, |
| 281 |
and \texttt{sfdtokernaccent} extract this kern information from the |
| 282 |
\texttt{sfd} file and create \texttt{mtx} files that calculate the |
| 283 |
appropriate kern. The one difficulty in implementing this in \texttt{fontinst} |
| 284 |
is that the kerning data must be reglyphed before being applied to |
| 285 |
the font metrics. |
| 286 |
|
| 287 |
In mathematics, Arev Sans is used for all letter-like symbols, including |
| 288 |
Latin and Greek letters. Arev Sans includes many mathematical symbols, |
| 289 |
but not the full range of symbols included in Computer Modern or the |
| 290 |
AMS symbol fonts. The Math Design Bitstream Charter~\cite{mdch} |
| 291 |
bold math font comes very close to the weight of Arev Sans, and so |
| 292 |
is used for the majority of geometric symbols% |
| 293 |
\footnote{The Math Design Bitstream Charter math fonts have a few minor flaws: |
| 294 |
for instance, in the formation of square root symbols and overbraces. |
| 295 |
However, most of the symbols are of fine quality, and the range of |
| 296 |
symbols is impressive.% |
| 297 |
}. Computer Modern is used for the default calligraphic font, Fourier-GUTenberg~\cite{fourier} |
| 298 |
for blackboard bold (since the letters are sans serif), Ralph Smith |
| 299 |
Formal Script for script, and the AMS font for fraktur. One disadvantage |
| 300 |
of using so many different fonts for mathematics is that \TeX{} can |
| 301 |
only have sixteen simultaneously loaded fonts, and the Arev package |
| 302 |
comes very close to this limit. |
| 303 |
|
| 304 |
The file \texttt{mathtesty.tex} is a combination of the file \texttt{mathtestx.tex} |
| 305 |
from the \texttt{mathptmx} package~\cite{mathptmx} and the \texttt{symbols.tex} |
| 306 |
file of David Carlisle. It is very useful for testing all of the math |
| 307 |
styles and symbols for a given font setup. |
| 308 |
|
| 309 |
There are three \LaTeX{} packages for use with Arev Sans: \texttt{arev}, |
| 310 |
\texttt{arevtext}, and \texttt{arevmath}. The \texttt{arev} package |
| 311 |
simply loads both \texttt{arevtext} and \texttt{arevmath}. \texttt{arevtext} |
| 312 |
changes the default text font (both roman and sans serif) to Arev |
| 313 |
Sans. \texttt{arevtext} also changes the default typewriter font to |
| 314 |
Bera Mono, a repackaging of Bitstream Vera Sans Mono for \TeX{}. Since |
| 315 |
Bera Mono is a sans serif font and very close in appearance to Arev, |
| 316 |
Luxi Mono~\cite{luximono} might be a better choice for the typewriter |
| 317 |
font. \texttt{arevmath} sets the math fonts as described above. In |
| 318 |
addition to the normal styles, the \texttt{\textbackslash{}mathbm} |
| 319 |
command changes the math font to bold italic. |
| 320 |
|
| 321 |
Variant letters defined by \texttt{arevmath}: |
| 322 |
|
| 323 |
\begin{center}\begin{tabular}{lllllp{0.5in}lllll} |
| 324 |
$\origa$& |
| 325 |
\texttt{\textbackslash{}origa}& |
| 326 |
& |
| 327 |
$\vara$& |
| 328 |
\texttt{\textbackslash{}vara}& |
| 329 |
& |
| 330 |
$\origI$& |
| 331 |
\texttt{\textbackslash{}origI}& |
| 332 |
& |
| 333 |
$\varI$& |
| 334 |
\texttt{\textbackslash{}varI}\tabularnewline |
| 335 |
$\origi$& |
| 336 |
\texttt{\textbackslash{}origi}& |
| 337 |
& |
| 338 |
$\vari$& |
| 339 |
\texttt{\textbackslash{}vari}& |
| 340 |
& |
| 341 |
$\origIota$& |
| 342 |
\texttt{\textbackslash{}origIota}& |
| 343 |
& |
| 344 |
$\varIota$& |
| 345 |
\texttt{\textbackslash{}varIota}\tabularnewline |
| 346 |
$\origimath$& |
| 347 |
\texttt{\textbackslash{}origimath}& |
| 348 |
& |
| 349 |
$\varimath$& |
| 350 |
\texttt{\textbackslash{}varimath}& |
| 351 |
& |
| 352 |
$\origGamma$& |
| 353 |
\texttt{\textbackslash{}origGamma}& |
| 354 |
& |
| 355 |
$\varGamma$& |
| 356 |
\texttt{\textbackslash{}varGamma}\tabularnewline |
| 357 |
$\origf$& |
| 358 |
\texttt{\textbackslash{}origf}& |
| 359 |
& |
| 360 |
$\varf$& |
| 361 |
\texttt{\textbackslash{}varf}& |
| 362 |
& |
| 363 |
$\origXi$& |
| 364 |
\texttt{\textbackslash{}origXi}& |
| 365 |
& |
| 366 |
$\varXi$& |
| 367 |
\texttt{\textbackslash{}varXi}\tabularnewline |
| 368 |
$\origl$& |
| 369 |
\texttt{\textbackslash{}origl}& |
| 370 |
& |
| 371 |
$\varl$& |
| 372 |
\texttt{\textbackslash{}varl}& |
| 373 |
& |
| 374 |
$\origPi$& |
| 375 |
\texttt{\textbackslash{}origPi}& |
| 376 |
& |
| 377 |
$\varPi$& |
| 378 |
\texttt{\textbackslash{}varPi}\tabularnewline |
| 379 |
$\origu$& |
| 380 |
\texttt{\textbackslash{}origu}& |
| 381 |
& |
| 382 |
$\varu$& |
| 383 |
\texttt{\textbackslash{}varu}& |
| 384 |
& |
| 385 |
$\origSigma$& |
| 386 |
\texttt{\textbackslash{}origSigma}& |
| 387 |
& |
| 388 |
$\varSigma$& |
| 389 |
\texttt{\textbackslash{}varSigma}\tabularnewline |
| 390 |
$\origv$& |
| 391 |
\texttt{\textbackslash{}origv}& |
| 392 |
& |
| 393 |
$\varv$& |
| 394 |
\texttt{\textbackslash{}varv}& |
| 395 |
& |
| 396 |
$\origPhi$& |
| 397 |
\texttt{\textbackslash{}origPhi}& |
| 398 |
& |
| 399 |
$\varPhi$& |
| 400 |
\texttt{\textbackslash{}varPhi}\tabularnewline |
| 401 |
$\origw$& |
| 402 |
\texttt{\textbackslash{}origw}& |
| 403 |
& |
| 404 |
$\varw$& |
| 405 |
\texttt{\textbackslash{}varw}& |
| 406 |
& |
| 407 |
& |
| 408 |
& |
| 409 |
& |
| 410 |
& |
| 411 |
\tabularnewline |
| 412 |
$\origx$& |
| 413 |
\texttt{\textbackslash{}origx}& |
| 414 |
& |
| 415 |
$\varx$& |
| 416 |
\texttt{\textbackslash{}varx}& |
| 417 |
& |
| 418 |
& |
| 419 |
& |
| 420 |
& |
| 421 |
& |
| 422 |
\tabularnewline |
| 423 |
\end{tabular}\end{center} |
| 424 |
|
| 425 |
All of the variant letters are selected by default. The user can choose |
| 426 |
which variants to use by selecting the package option \texttt{origletters}, |
| 427 |
and then choosing the variants from the options \texttt{vara}, \texttt{vari}, |
| 428 |
\texttt{varf}, \texttt{varl}, \texttt{varu}, \texttt{varv}, \texttt{varw}, |
| 429 |
\texttt{varx}, \texttt{varI}, \texttt{varGamma}, \texttt{varXi}, \texttt{varPi}, |
| 430 |
\texttt{varSigma}, and \texttt{varPhi}. Note that there is no \texttt{varimath} |
| 431 |
option, which follows the \texttt{vari} selection, or \texttt{varIota} |
| 432 |
option, since Iota is treated the same as {}``I.'' For example, |
| 433 |
if a user selected |
| 434 |
|
| 435 |
\begin{quote} |
| 436 |
\texttt{\textbackslash{}usepackage{[}origletters,vara,varf,varGamma,varPi{]}\{arevmath\}} |
| 437 |
\end{quote} |
| 438 |
the following letters would be used: |
| 439 |
|
| 440 |
\begin{center}\begin{tabular}{lll} |
| 441 |
$a\origi\origimath\varf\origl\origu\origv\origw\origx\origI\Gamma\origXi\Pi\Sigma\origPhi$& |
| 442 |
& |
| 443 |
\texttt{\$ai\textbackslash{}imath fluvwxI\textbackslash{}Gamma\textbackslash{}Xi\textbackslash{}Pi\textbackslash{}Sigma\textbackslash{}Phi\$}\tabularnewline |
| 444 |
\end{tabular}\end{center} |
| 445 |
|
| 446 |
Extra symbols defined by \texttt{arevmath}: |
| 447 |
|
| 448 |
\begin{center}\begin{tabular}{ll>{\raggedright}p{0.5in}llp{0.5in}ll} |
| 449 |
$\varspade$& |
| 450 |
\texttt{\textbackslash{}varspade}& |
| 451 |
& |
| 452 |
$\quarternote$& |
| 453 |
\texttt{\textbackslash{}quarternote}& |
| 454 |
& |
| 455 |
$\yinyang$& |
| 456 |
\texttt{\textbackslash{}yinyang}\tabularnewline |
| 457 |
$\varheart$& |
| 458 |
\texttt{\textbackslash{}varheart}& |
| 459 |
& |
| 460 |
$\eighthnote$& |
| 461 |
\texttt{\textbackslash{}eighthnote}& |
| 462 |
& |
| 463 |
$\smileface$& |
| 464 |
\texttt{\textbackslash{}smileface}\tabularnewline |
| 465 |
$\vardiamond$& |
| 466 |
\texttt{\textbackslash{}vardiamond}& |
| 467 |
& |
| 468 |
$\sixteenthnote$& |
| 469 |
\texttt{\textbackslash{}sixteenthnote}& |
| 470 |
& |
| 471 |
$\invsmileface$& |
| 472 |
\texttt{\textbackslash{}invsmileface}\tabularnewline |
| 473 |
$\varclub$& |
| 474 |
\texttt{\textbackslash{}varclub}& |
| 475 |
& |
| 476 |
$\steaming$& |
| 477 |
\texttt{\textbackslash{}steaming}& |
| 478 |
& |
| 479 |
$\sadface$& |
| 480 |
\texttt{\textbackslash{}sadface}\tabularnewline |
| 481 |
$\hbar$& |
| 482 |
\texttt{\textbackslash{}hbar}& |
| 483 |
& |
| 484 |
$\westcross$& |
| 485 |
\texttt{\textbackslash{}westcross}& |
| 486 |
& |
| 487 |
$\eth$& |
| 488 |
\texttt{\textbackslash{}eth}\tabularnewline |
| 489 |
$\hslash$& |
| 490 |
\texttt{\textbackslash{}hslash}& |
| 491 |
& |
| 492 |
$\eastcross$& |
| 493 |
\texttt{\textbackslash{}eastcross}& |
| 494 |
& |
| 495 |
$\mho$& |
| 496 |
\texttt{\textbackslash{}mho}\tabularnewline |
| 497 |
$\skull$& |
| 498 |
\texttt{\textbackslash{}skull}& |
| 499 |
& |
| 500 |
$\anchor$& |
| 501 |
\texttt{\textbackslash{}anchor}& |
| 502 |
& |
| 503 |
$\pointright$& |
| 504 |
\texttt{\textbackslash{}pointright}\tabularnewline |
| 505 |
$\radiation$& |
| 506 |
\texttt{\textbackslash{}radiation}& |
| 507 |
& |
| 508 |
$\recycle$& |
| 509 |
\texttt{\textbackslash{}recycle}& |
| 510 |
& |
| 511 |
$\pencil$& |
| 512 |
\texttt{\textbackslash{}pencil}\tabularnewline |
| 513 |
$\biohazard$& |
| 514 |
\texttt{\textbackslash{}biohazard}& |
| 515 |
& |
| 516 |
$\heavyqtleft$& |
| 517 |
\texttt{\textbackslash{}heavyqtleft}& |
| 518 |
& |
| 519 |
$\arrowbullet$& |
| 520 |
\texttt{\textbackslash{}arrowbullet}\tabularnewline |
| 521 |
$\swords$& |
| 522 |
\texttt{\textbackslash{}swords}& |
| 523 |
& |
| 524 |
$\heavyqtright$& |
| 525 |
\texttt{\textbackslash{}heavyqtright}& |
| 526 |
& |
| 527 |
$\ballotcheck$& |
| 528 |
\texttt{\textbackslash{}ballotcheck}\tabularnewline |
| 529 |
$\warning$& |
| 530 |
\texttt{\textbackslash{}warning}& |
| 531 |
& |
| 532 |
& |
| 533 |
& |
| 534 |
& |
| 535 |
$\ballotx$& |
| 536 |
\texttt{\textbackslash{}ballotx}\tabularnewline |
| 537 |
\end{tabular}\end{center} |
| 538 |
|
| 539 |
\texttt{arevmath} also has support for several variant and ancient |
| 540 |
Greek characters. All characters necessary for writing ordinal numbers |
| 541 |
as {}``alphabetic'' Greek numerals (which is similar in usage to |
| 542 |
Roman numerals---see~\cite{GreekNumerals}) are available. |
| 543 |
|
| 544 |
\begin{center}\begin{tabular}{llp{0.5in}ll>{\raggedright}p{0.5in}ll} |
| 545 |
$\varbeta$& |
| 546 |
\texttt{\textbackslash{}varbeta}& |
| 547 |
& |
| 548 |
$\Qoppa$& |
| 549 |
\texttt{\textbackslash{}Qoppa}& |
| 550 |
& |
| 551 |
$\Sampi$& |
| 552 |
\texttt{\textbackslash{}Sampi}\tabularnewline |
| 553 |
$\varkappa$& |
| 554 |
\texttt{\textbackslash{}varkappa}& |
| 555 |
& |
| 556 |
$\qoppa$& |
| 557 |
\texttt{\textbackslash{}qoppa}& |
| 558 |
& |
| 559 |
$\sampi$& |
| 560 |
\texttt{\textbackslash{}sampi}\tabularnewline |
| 561 |
$\digamma$& |
| 562 |
\texttt{\textbackslash{}digamma}& |
| 563 |
& |
| 564 |
$\Koppa$& |
| 565 |
\texttt{\textbackslash{}Koppa}& |
| 566 |
& |
| 567 |
$\Stigma$& |
| 568 |
\texttt{\textbackslash{}Stigma}\tabularnewline |
| 569 |
& |
| 570 |
& |
| 571 |
& |
| 572 |
$\koppa$& |
| 573 |
\texttt{\textbackslash{}koppa}& |
| 574 |
& |
| 575 |
$\stigma$& |
| 576 |
\texttt{\textbackslash{}stigma}\tabularnewline |
| 577 |
\end{tabular}\end{center} |
| 578 |
|
| 579 |
A possible future capability of the \texttt{arevmath} package is the |
| 580 |
ability to choose either italic or upright Greek letters. This would |
| 581 |
require modification of the variant letters code as well. |
| 582 |
|
| 583 |
|
| 584 |
\section{Installation} |
| 585 |
|
| 586 |
These directions assume that your \TeX{} installation is TDS-compliant. |
| 587 |
I've tested these directions on te\TeX{} 3.0, but other distributions |
| 588 |
should be similar. |
| 589 |
|
| 590 |
|
| 591 |
\paragraph{te\TeX{}:} |
| 592 |
|
| 593 |
\begin{enumerate} |
| 594 |
\item Copy \texttt{doc}, \texttt{fonts}, \texttt{source}, and \texttt{tex} |
| 595 |
directories to your \texttt{texmf} directory (either your local or |
| 596 |
global \texttt{texmf} directory). |
| 597 |
\item Run {}``\texttt{mktexlsr}'' to refresh the filename database and |
| 598 |
make \TeX{} aware of the new files. |
| 599 |
\item Run {}``\texttt{updmap -{}-enable Map arev.map}'' to make \texttt{dvips}, |
| 600 |
\texttt{xdvi}, \texttt{dvipdfm}, and \texttt{pdflatex} aware of the |
| 601 |
fonts. |
| 602 |
\end{enumerate} |
| 603 |
|
| 604 |
\paragraph{Mik\TeX{}:} |
| 605 |
|
| 606 |
\begin{enumerate} |
| 607 |
\item Copy \texttt{doc}, \texttt{fonts}, \texttt{source}, and \texttt{tex} |
| 608 |
directories to your local \texttt{texmf} directory (most likely \texttt{C:\textbackslash{}localtexmf}). |
| 609 |
\item Add the line {}``\texttt{Map arev.map}'' to the file \texttt{updmap.cfg} |
| 610 |
in your local \texttt{texmf/config} directory (most likely \texttt{C:\textbackslash{}localtexmf\textbackslash{}miktex\textbackslash{}config\textbackslash{}updmap.cfg}). |
| 611 |
If the file does not exist, then create it with just the line above. |
| 612 |
\item Refresh the filename database either through the graphical interface |
| 613 |
or by running {}``\texttt{initexmf -u}''. |
| 614 |
\item Run {}``\texttt{initexmf -{}-mkmaps}'' to make \texttt{dvips}, \texttt{yap}, |
| 615 |
\texttt{dvipdfm(x)}, and \texttt{pdflatex} aware of the fonts. |
| 616 |
\end{enumerate} |
| 617 |
The \texttt{arev} package relies on the following font packages: Math |
| 618 |
Design (geometric symbols), Fourier (blackboard bold), Ralph Smith |
| 619 |
Formal Script (script), and Bera (typewriter text). |
| 620 |
|
| 621 |
|
| 622 |
\section{Licenses} |
| 623 |
|
| 624 |
Bitstream Vera is released under a special license that allows free |
| 625 |
distribution. The fonts may also be modified and extended, as long |
| 626 |
as the resulting fonts are released under a different name. Arev Sans |
| 627 |
is released under the same license as Bitstream Vera. However, Arev's |
| 628 |
creator Tavmjong Bah requests that TrueType versions of Arev be obtained |
| 629 |
from his website at \cite{arev} instead of being converted from the |
| 630 |
Postscript fonts included with the \LaTeX{} package. The TrueType |
| 631 |
versions are also complete, while the Type~1 Postscript versions |
| 632 |
have a reduced gylph set. FontForge source files may also be obtained |
| 633 |
at Bah's website. |
| 634 |
|
| 635 |
The virtual fonts, font definitions, \LaTeX{} packages and other supporting |
| 636 |
files of the \texttt{arev} package are released under the \LaTeX{} |
| 637 |
Project Public License (LPPL), version~1.2. The one exception is |
| 638 |
the file \texttt{ams-mdbch.sty}, which was taken from the Math Design |
| 639 |
Bitstream Charter package. This file is released under the GNU General |
| 640 |
Public License (GPL), version~2. |
| 641 |
|
| 642 |
|
| 643 |
\section{Acknowledgments} |
| 644 |
|
| 645 |
The author would like to thank Tavmjong Bah for his willingness to |
| 646 |
add characters to Arev Sans; George Williams for a prompt response |
| 647 |
and patch on the FontForge mailing list; and Lars Hellstr\"om for |
| 648 |
help with math accents and \texttt{fontinst} on the \texttt{tex-fonts} |
| 649 |
and \texttt{fontinst} mailing lists. Thanks also to L.~Dwynn Lafleur |
| 650 |
for requesting $\hbar$ and $\hslash$ and discussions about their |
| 651 |
use; and to Rafael Villaroel for pointing out an error in \texttt{arev.map} |
| 652 |
in versions up through 2005 Aug 8. Thanks to Krzysztof C. Kiwiel for |
| 653 |
testing the installation of the \texttt{arev} package under Mik\TeX{} |
| 654 |
and providing suggestions for the instructions. |
| 655 |
|
| 656 |
\begin{thebibliography}{10} |
| 657 |
\bibitem{arev}Arev Sans by Tavmjong Bah, \texttt{http://tavmjong.free.fr/FONTS}. |
| 658 |
\bibitem{beamer}\LaTeX{} class \texttt{beamer} by Till Tantau, \texttt{http://latex-beamer.sourceforge.net}. |
| 659 |
\bibitem{bera}Bera Postscript Type 1 fonts by Malte Rosenau (converted from Bitstream |
| 660 |
Vera fonts, which necessitated the name change) and \LaTeX{} support |
| 661 |
files by Walter Schmidt, CTAN:\texttt{/fonts/bera}. |
| 662 |
\bibitem{vera}Bitstream Vera by Jim Lyles of Bitstream, Inc., released in cooperation |
| 663 |
with the Gnome Foundation, \texttt{http://www.gnome.org/fonts}. |
| 664 |
\bibitem{cmbright}Computer Modern Bright fonts and \texttt{cmbright} \LaTeX{} package |
| 665 |
by Walter Schmidt, CTAN:\texttt{/fonts/cmbright}. |
| 666 |
\bibitem{fontforge}FontForge font editor by George Williams, \texttt{http://fontforge.sourceforge.net}. |
| 667 |
\bibitem{fontinst}\texttt{fontinst} \TeX{} font installation utility by Alan Jeffrey, |
| 668 |
Sebastian Rahtz, Ulrik Vieth, Lars Hellstr\"om, and Rowland McDonnell, |
| 669 |
CTAN:\texttt{/fonts/utilities/fontinst}. |
| 670 |
\bibitem{fourier}Fourier-GUTenberg fonts and \LaTeX{} package by Michel Bovani, CTAN:\texttt{/fonts/fourier-GUT}. |
| 671 |
\bibitem{kerkis}Kerkis font by Antonis Tsolomitis, CTAN:\texttt{/fonts/greek/kerkis}. |
| 672 |
\bibitem{luximono}Luxi Mono by Bigelow and Holmes, CTAN:\texttt{/fonts/greek/kerkis}. |
| 673 |
\bibitem{mdch}Math Design fonts for Bitstream Charter by Paul Pichaureau, CTAN:\texttt{/fonts/mathdesign}. |
| 674 |
\bibitem{mathptmx}\texttt{mathptmx} by Walter Schmidt, part of the \texttt{psnfss} package, |
| 675 |
CTAN:\texttt{/fonts/psfonts/psnfss-source}. |
| 676 |
\bibitem{rsfs}Ralph Smith Formal Script (\texttt{rsfs}) font by Ralph Smith, Postscript |
| 677 |
Type 1 version by Taco Hoekwater, CTAN:\texttt{/fonts/rsfs}. |
| 678 |
\bibitem{texpower}\TeX{}Power \LaTeX{} style files by Stephan Lehmke, \texttt{http://texpower.sourceforge.net}. |
| 679 |
\bibitem{GreekNumerals}Wikipedia artical on Greek numerals, \texttt{http://en.wikipedia.org/wiki/Greek\_numerals}.\end{thebibliography} |
| 680 |
|
| 681 |
\end{document} |