ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: \usepackage{pslatex} equivalent for context
Date: Fri, 5 Oct 2007 01:45:51 +0200	[thread overview]
Message-ID: <6faad9f00710041645l63242f29gc60bede571a6c721@mail.gmail.com> (raw)
In-Reply-To: <20071004220002.GA24077@obiit.org>

On 10/5/07, frantisek holop wrote:
> hi there,
>
> i was wondering if there was a quick and dirty equivalent for
> latex's \usepackage{pslatex}
>
> http://ctan.org/tex-archive/macros/latex/contrib/pslatex/#jh1c2c136f7e9809d3217b77eccac957d6:
>
>         This is a small package that makes LaTeX default to `standard'
>         PostScript fonts. It is basically a hacked merger of times.sty and
>         mathptm.sty, from the psnfss suite of packages. You must have
>         installed standard LaTeX (LaTeX2e) and psnfss PostScript fonts
>         to use this package.

\usetypescript[postscript][ec] %typescript name
\setupbodyfont[postscript,10pt] % typeface name

That one is possible because of this in type-one.tex:

\starttypescript [postscript] [texnansi,ec,qx,t5,uc,8r]
    \definetypeface [postscript] [rm] [serif] [times]     [default]
[encoding=\typescripttwo]
    \definetypeface [postscript] [ss] [sans]  [helvetica] [default]
[rscale=.9,encoding=\typescripttwo]
    \definetypeface [postscript] [tt] [mono]  [courier]   [default]
[rscale=1.1,encoding=\typescripttwo]
    \definetypeface [postscript] [mm] [math]  [times]     [default]
    \usemathcollection[default]
    \quittypescriptscanning
\stoptypescript

You can combine fonts "easily" like that.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      parent reply	other threads:[~2007-10-04 23:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-04 22:00 frantisek holop
2007-10-04 22:22 ` Idris Samawi Hamid
2007-10-04 22:45   ` frantisek holop
2007-10-04 23:45 ` Mojca Miklavec [this message]

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=6faad9f00710041645l63242f29gc60bede571a6c721@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).