I'm a bit confused about font sizes. I had a bunch of missing \Delta symbols in inline math (e.g. $\Delta x$), which I tracked down to \setupbodyfont[10.5pt] The non-integral point size works for text but not for math (the \Delta turned into a backquote). How to fix that? type-siz.tex has several sections to which I could add \definebodyfontenvironment or \definebodyfont lines. Which sections would I add to? Or can I put the additions outside of that file? And, most crucially, what are the magic lines :-) Thanks for suggestions, which I'll wikify. -Sanjoy
Sanjoy Mahajan wrote:
I'm a bit confused about font sizes. I had a bunch of missing \Delta symbols in inline math (e.g. $\Delta x$), which I tracked down to
\setupbodyfont[10.5pt]
The non-integral point size works for text but not for math (the \Delta turned into a backquote). How to fix that?
type-siz.tex has several sections to which I could add \definebodyfontenvironment or \definebodyfont lines. Which sections would I add to? Or can I put the additions outside of that file? And, most crucially, what are the magic lines :-)
Thanks for suggestions, which I'll wikify.
you need to define a bodyfont environment Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
you need to define a bodyfont environment
Can I get away with the following, which just does \definebodyfont for math? It worked but maybe I'm missing a bodyfont type? Sans serif work even without adding anything else (tested by adding "\ss \input tufte" after \stopformula). Too much works correctly and automatically, so I'm worried! \definebodyfont [10.5pt] [mm] [mr=xcmr10 at 10.5pt, ex=cmex10 at 10.5pt, mi=cmmi10 at 10.5pt, sy=cmsy10 at 10.5pt] \setupbodyfont[10.5pt] \starttext \startformula \Delta x \stopformula \stoptext -Sanjoy `Not all those who wander are lost.' (J.R.R. Tolkien)
participants (2)
-
Hans Hagen
-
Sanjoy Mahajan