ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: ishamid <ishamid@lamar.colostate.edu>
Subject: Typescript for Times New Toman and Arial
Date: Thu, 17 Mar 2005 10:51:16 -0700	[thread overview]
Message-ID: <423BBF75@webmail.colostate.edu> (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

                 reply	other threads:[~2005-03-17 17:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=423BBF75@webmail.colostate.edu \
    --to=ishamid@lamar.colostate.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).