Olivier wrote:
Quoting "Adam Lindsay" :
-- was atl@comp.lancs.ac.uk on Aug 31, 2005 at 11:29:56PM --
"log" is typeset in euler, still, with the default settings.
You're perfectly right. However, I use to typeset maths functions in the text font, this is why I'm trying to replace euler a way or another.
Maths functions are typeset in the concrete maths book for instance (see p 107 or p 111 if you have one) with rm being concrete.
You must be using a different setting still.
So you're right; This one shows why log isn't typeset in euler but with the serif one
\def\mfunction#1% {\mathchoice {\hbox{\rm \tf #1}} {\hbox{\rm \tf #1}} {\hbox{\rm \tfx #1}} {\hbox{\rm \tfxx #1}}}
This was my way of getting around the above mentioned issue.
It also shows why maths functions and pure maths doesn't match anymore in scriptsize. And this is why I tried to tweak the bodyfontenvironment sizes... Now, if you get the picture and know the simple trick I missed at the very first begining...
there is an additional math scaling option built into context: copied from font-ini: %D \macros %D {mapfontsize} %D %D For special purposes, like in math, you may want to use %D slightly different sizes than the ones given. This happens %D for instance with the Math Times fonts. Mapped font sizes %D can be specified by using the \type {mo} key instead of %D \type {sa} in font definitions. %D %D \startbuffer %D \mapfontsize[10pt][11pt] %D \mapfontsize[11pt][12pt] %D \mapfontsize[12pt][13pt] %D %D \definefont[test][Serif]\test TEST \par %D \definefont[test][Serif sa 5]\test TEST \par %D \definefont[test][Serif mo 5]\test TEST \par %D \definefont[test][Serif sa d]\test TEST \par %D \definefont[test][Serif at 60pt]\test TEST \par %D \definefont[test][Serif scaled 6000]\test TEST \par %D \stopbuffer %D %D \typebuffer %D %D \startpacked %D \getbuffer %D \stoppacked ----------------------------------------------------------------- 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 -----------------------------------------------------------------