On Sun, 2012-11-25 at 22:17 +0100, Wolfgang Schuster wrote:
> You have to define a typeface and enable it but Latin Modern as text font 
> with patella etc.
> for math doesn’t look very nice.
> 
> \definetypeface[mainface][rm][serif][modern] [default][designsize=auto]
> \definetypeface[mainface][ss][sans] [modern] [default][designsize=auto]
> \definetypeface[mainface][tt][mono] [modern] [default][designsize=auto]
> \definetypeface[mainface][mm][math] [pagella]
> 
> \setupbodyfont[mainface]

So that would define a typeface for Latin Modern as the main body text
and Pagella for math? So any time one typesets formulas or uses \math,
it will automatically come out as Pagella? If that is the case, it
didn't seem to work. I added the following to my environment, but the
typesetting of formulae did not change:

...
    % Font to use for math...
    \definetypeface[mainface][mm][math][pagella]
...

> >>> In addition, the following formula does not typeset correctly. There is
> >>> no arrow linking 't' to infinity symbol:
> >>> 
> >>> \placeformula[formula:Limit of Verhulst equation]
> >>> \startformula
> >>> \math{\lim_{t\to\infty} P(t) = K.\,}
> >>> \stopformula
> >> 
> >> Works for me (Version 2012.11.23).
> > 
> > It's probably the font I am using.
> > 
> >> BTW: Why do you use \math inside of \startformula because it’s the command 
> >> for inline math in normal text?
> > 
> > I haven't any explanation. I just thought that that was how you were
> > suppose to do it from reading the manuals. How should it be?
> 
> \setupbodyfont[pagella]
> 
> \starttext
> 
> left \math{1 + 2 = 3} middle \m{\Eulerconst} right % \math and \m are synonyms
> 
> \blank
> 
> before
> \startformula
> 1 + 2 = 3release a new 
> \stopformula
> after
> 
> \stoptext
> 
> Wolfgang

Sorry Wolfgang, you lost me. What should the following have been written as?

        \placeformula[formula:Limit of Verhulst equation]
        \startformula
        \math{\lim_{t\to\infty} P(t) = K.\,}
        \stopformula

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com

Attachment: signature.asc
Description: This is a digitally signed message part

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to