ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Typescript for Times New Toman and Arial
@ 2005-03-17 17:51 ishamid
  0 siblings, 0 replies; only message in thread
From: ishamid @ 2005-03-17 17:51 UTC (permalink / raw)


Dear consortium,

Below is a working typescript for times new roman and arial (I'm told that on 
mac the equivalent of arial is helvetica, so this may be os-specific;-<)
This combination is required by Springer-Verlag in many of their books.

I have to typeset an article for a Springer volume (their editor could not 
handle my transliteration accents) that will fit in seamlessly with the 
editors' preparation of the rest of the volume. When I am done, I will gladly 
contribute the resulting style so that others who need to prepare something 
for Springer will have something to go on. Maybe this could even be developed 
into a full 
m-spring.tex module.

Anyway, here is the times new roman/arial typescript. Please make 
suggestions/improvements. Also, I'm not sure which math collection works best 
with tnr/arial.

Best
Idris

PS. Yes, I did finally get tnr/arial working, though I've hosed my entire 
TeX/ConTeXt system in the process: in other words, victorious but wounded;-)

=================type-tnr================
%Names

\starttypescript [serif] [timesnewroman] [name]

\setups[font:fallback:serif]

\definefontsynonym[Serif]          [TimesNewRoman]
\definefontsynonym[SerifBold]      [TimesNewRoman-Bold]
\definefontsynonym[SerifItalic]    [TimesNewRoman-Italic]
\definefontsynonym[SerifBoldItalic][TimesNewRoman-BoldItalic]

\stoptypescript

\starttypescript [sans] [arial] [name]

\setups[font:fallback:sans]

\definefontsynonym[Sans]          [Arial]
\definefontsynonym[SansBold]      [Arial-Bold]
\definefontsynonym[SansItalic]    [Arial-Italic]
\definefontsynonym[SansBoldItalic][Arial-BoldItalic]

\stoptypescript


%Synonyms

\starttypescript [serif] [timesnewroman] [texnansi]

\definefontsynonym [TimesNewRoman]
[\typescriptthree-Times]
[encoding=\typescriptthree]

\definefontsynonym [TimesNewRoman-Bold]
[\typescriptthree-Timesbd]
[encoding=\typescriptthree]

\definefontsynonym [TimesNewRoman-Italic]
[\typescriptthree-Timesi]
[encoding=\typescriptthree]

\definefontsynonym [TimesNewRoman-BoldItalic]
[\typescriptthree-Timesbi]
[encoding=\typescriptthree]

\stoptypescript

\starttypescript [sans] [arial] [texnansi]

\definefontsynonym [Arial]
[\typescriptthree-Arial]
[encoding=\typescriptthree]

\definefontsynonym [Arial-Bold]
[\typescriptthree-Arialbd]
[encoding=\typescriptthree]

\definefontsynonym [Arial-Italic]
[\typescriptthree-Ariali]
[encoding=\typescriptthree]

\definefontsynonym [Arial-BoldItalic]
[\typescriptthree-Arialbi]
[encoding=\typescriptthree]

\stoptypescript


% maps

\starttypescript [map] [timesnewroman] [texnansi]

\loadmapfile[texnansi-microsoft-timesnewroman.map]

\stoptypescript

\starttypescript [map] [arial] [texnansi]

\loadmapfile[texnansi-microsoft-arial.map]

\stoptypescript


% typefaces

\starttypescript [TimesNR]

\definebodyfontenvironment
  [timesnr]
  [default]
  [interlinespace=2.8ex]

\definetypeface [timesnr]
[rm] [serif] [timesnewroman] [default]
[encoding=texnansi]

\definetypeface [timesnr]
[ss] [sans] [arial] [default]
[encoding=texnansi]

\definetypeface [timesnr]
[mm] [math] [palatino] [default]
[encoding=texnansi]

\definetypeface [timesnr]
[tt] [mono] [modern] [default]
[encoding=texnansi]

\stoptypescript

=========================================

Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-17 17:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-17 17:51 Typescript for Times New Toman and Arial ishamid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).