# [OS X TeX] Advice sought re Electra font

Luci Ellis luci at verbeia.com
Tue Oct 30 19:04:35 EDT 2007

Dear David

On 30/10/07 11:34 PM, "David R. Derbes" <loki at uchicago.edu> wrote:

> Hello, everyone.
>
> I have retyped an old book which is to be republished. Originally the book
> appeared in a sans serif font, so I made my LaTeX'ed version look as much
> as possible like the original. This was accomplished with Donald
> Arseneau's sansmath, and my thanks to him.
>
> The publisher would like the font changed, in particular, to Electra. I am
> willing to pay the \$70 or so for a font family (I am really fond of this
> book) from Linotype, but will I be able to use this as the default font by
> some particular voodoo? I should purchase the PostScript versions, no?
>
PostScript is easiest, but OpenType works if you are willing to mess about
with fondu and mapfiles.
You will need the TFM files for Electra from here:
http://www.tug.org/yandy/LY1/E.htm
Additionally you will need .fd files and map files. The best way to update
map files comes up on this list quite regularly.

> What about the mathematical parts? Does that stay with the standard font?

Based on http://www.linotype.com/363/electra-family.html, I think you should
be able to Frankenfont the Electra letters and numbers into normal Computer
Modern math and it will look ok. Once you have gotten the Electra font
installed in your TeX setup, create a document with Electra as the default
font, and THEN try loading the following as a package called textmath.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% textmath.sty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  textmath is a cut-down version of Thierry.Bouche's package mathfont.sty
% It doesn't try to do as much so it doesn't get into trouble with math
accents
\def\fileversion{0.1}%
\def\filedate{207/09/02}%
\NeedsTeXFormat{LaTeX2e}%
\ProvidesPackage{textmath}[\filedate{} math package  for
using Text Font as Maths fonts]
\typeout{^^JMathfont : Warning -- non standard math fonts used!}%
\DeclareSymbolFont{textletters}{\encodingdefault}{\rmdefault}{\mddefault}{it
}%
\SetSymbolFont{textletters}{normal}{\encodingdefault}{\rmdefault}{\mddefault
}{it}%
%\SetSymbolFont{textletters}{\mathrm}{\encodingdefault}{\rmdefault}{\mddefau
lt}{it}%
\SetSymbolFont{textletters}{bold}{\encodingdefault}{\rmdefault}{\bfdefault}{
it}%
\DeclareSymbolFont{textoperators}{\encodingdefault}{\rmdefault}{\mddefault}{
n}%
\SetSymbolFont{textoperators}{normal}{\encodingdefault}{\rmdefault}{\mddefau
lt}{n}%
\SetSymbolFont{textoperators}{bold}{\encodingdefault}{\rmdefault}{\bfdefault
}{n}%

\DeclareMathSymbol{0}{\mathalpha}{textoperators}{0}%
\DeclareMathSymbol{1}{\mathalpha}{textoperators}{1}%
\DeclareMathSymbol{2}{\mathalpha}{textoperators}{2}%
\DeclareMathSymbol{3}{\mathalpha}{textoperators}{3}%
\DeclareMathSymbol{4}{\mathalpha}{textoperators}{4}%
\DeclareMathSymbol{5}{\mathalpha}{textoperators}{5}%
\DeclareMathSymbol{6}{\mathalpha}{textoperators}{6}%
\DeclareMathSymbol{7}{\mathalpha}{textoperators}{7}%
\DeclareMathSymbol{8}{\mathalpha}{textoperators}{8}%
\DeclareMathSymbol{9}{\mathalpha}{textoperators}{9}%

\DeclareMathSymbol{a}{\mathalpha}{textletters}{a}%
\DeclareMathSymbol{b}{\mathalpha}{textletters}{b}%
\DeclareMathSymbol{c}{\mathalpha}{textletters}{c}%
\DeclareMathSymbol{d}{\mathalpha}{textletters}{d}%
\DeclareMathSymbol{e}{\mathalpha}{textletters}{e}%
\DeclareMathSymbol{f}{\mathalpha}{textletters}{f}%
\DeclareMathSymbol{g}{\mathalpha}{textletters}{g}%
\DeclareMathSymbol{h}{\mathalpha}{textletters}{h}%
\DeclareMathSymbol{i}{\mathalpha}{textletters}{i}%
\DeclareMathSymbol{j}{\mathalpha}{textletters}{j}%
\DeclareMathSymbol{k}{\mathalpha}{textletters}{k}%
\DeclareMathSymbol{l}{\mathalpha}{textletters}{l}%
\DeclareMathSymbol{m}{\mathalpha}{textletters}{m}%
\DeclareMathSymbol{n}{\mathalpha}{textletters}{n}%
\DeclareMathSymbol{o}{\mathalpha}{textletters}{o}%
\DeclareMathSymbol{p}{\mathalpha}{textletters}{p}%
\DeclareMathSymbol{q}{\mathalpha}{textletters}{q}%
\DeclareMathSymbol{r}{\mathalpha}{textletters}{r}%
\DeclareMathSymbol{s}{\mathalpha}{textletters}{s}%
\DeclareMathSymbol{t}{\mathalpha}{textletters}{t}%
\DeclareMathSymbol{u}{\mathalpha}{textletters}{u}%
\DeclareMathSymbol{v}{\mathalpha}{textletters}{v}%
\DeclareMathSymbol{w}{\mathalpha}{textletters}{w}%
\DeclareMathSymbol{x}{\mathalpha}{textletters}{x}%
\DeclareMathSymbol{y}{\mathalpha}{textletters}{y}%
\DeclareMathSymbol{z}{\mathalpha}{textletters}{z}%

\DeclareMathSymbol{A}{\mathalpha}{textletters}{A}%
\DeclareMathSymbol{B}{\mathalpha}{textletters}{B}%
\DeclareMathSymbol{C}{\mathalpha}{textletters}{C}%
\DeclareMathSymbol{D}{\mathalpha}{textletters}{D}%
\DeclareMathSymbol{E}{\mathalpha}{textletters}{E}%
\DeclareMathSymbol{F}{\mathalpha}{textletters}{F}%
\DeclareMathSymbol{G}{\mathalpha}{textletters}{G}%
\DeclareMathSymbol{H}{\mathalpha}{textletters}{H}%
\DeclareMathSymbol{I}{\mathalpha}{textletters}{I}%
\DeclareMathSymbol{J}{\mathalpha}{textletters}{J}%
\DeclareMathSymbol{K}{\mathalpha}{textletters}{K}%
\DeclareMathSymbol{L}{\mathalpha}{textletters}{L}%
\DeclareMathSymbol{M}{\mathalpha}{textletters}{M}%
\DeclareMathSymbol{N}{\mathalpha}{textletters}{N}%
\DeclareMathSymbol{O}{\mathalpha}{textletters}{O}%
\DeclareMathSymbol{P}{\mathalpha}{textletters}{P}%
\DeclareMathSymbol{Q}{\mathalpha}{textletters}{Q}%
\DeclareMathSymbol{R}{\mathalpha}{textletters}{R}%
\DeclareMathSymbol{S}{\mathalpha}{textletters}{S}%
\DeclareMathSymbol{T}{\mathalpha}{textletters}{T}%
\DeclareMathSymbol{U}{\mathalpha}{textletters}{U}%
\DeclareMathSymbol{V}{\mathalpha}{textletters}{V}%
\DeclareMathSymbol{W}{\mathalpha}{textletters}{W}%
\DeclareMathSymbol{X}{\mathalpha}{textletters}{X}%
\DeclareMathSymbol{Y}{\mathalpha}{textletters}{Y}%
\DeclareMathSymbol{Z}{\mathalpha}{textletters}{Z}%

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/