ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Randall Skelton <randall.skelton@gmail.com>
Subject: Re: Math typescript question
Date: Tue, 22 Nov 2005 20:16:44 -0500	[thread overview]
Message-ID: <ba4316d30511221716x51d2ee01w7105945f9ed5594a@mail.gmail.com> (raw)
In-Reply-To: <ba4316d30511212119i18824a51la2eb3cdc3e67c371@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1849 bytes --]

It turns out that this isn't related to my typescript but to the use of
'amsl' package with the Fourier font.  Is there a quick fix for this?  A
short example follows.  Note the bracket sizes as well as the the \hat and
\dot symbols

Cheers,
Randall

% Example
\usetypescript[fourier]
\setupbodyfont[fourier,14pt]

%
% Comment the 'amsl' module to see the difference
%
\usemodule[amsl]

\starttext

My first test reads:
\startformula
  F=ma.
\stopformula

A good second test is:
\startformula
  \left( a^2 + b^2 = c^2 \right).
\stopformula

Sometimes hats are funny:
\startformula
  \hat x = r \text{d} \dot r.
\stopformula

The final test is:
\startformula
  \theta = \sin^{-1} \left( \frac{a}{c} \right).
\stopformula

All done!

\stoptext


On 11/22/05, Randall Skelton <randall.skelton@gmail.com> wrote:
>
> Hi all,
>
> I have created a typescript for one of that defines the Utopia expert font
> along with a few others and tries to make use of the Fourier math font.  The
> use of my own 'Utopia' typescript is largely historical but it is also that
> the default one with ConTeXt seems a little off (missing headline/display
> but defines some variants that Linotype is unaware of?).  In any case, below
> is what I have to define the math section but I'm getting some rather
> strange results with it.  In particular, I'm not getting the correct sized
> parantheses when using '\left(' or '\biggl(' and math accent characters (
> i.e. '\hat' and '\dot') are not above the character, but in the middle of
> it.  I don't really know if this is the best way to define a math font
> within a typescript but it seems to get me most of the way there.  NB, it is
> based on some of Adam's Euler typescript.
>
> Any and all help is greatly appreciated.
>
> Cheers,
> Randall
>
>
>

[-- Attachment #1.2: Type: text/html, Size: 2250 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2005-11-23  1:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-22  5:19 Randall Skelton
2005-11-23  1:16 ` Randall Skelton [this message]
2005-11-23  2:31   ` Randall Skelton
2005-11-23  6:45     ` Taco Hoekwater

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=ba4316d30511221716x51d2ee01w7105945f9ed5594a@mail.gmail.com \
    --to=randall.skelton@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).