- From: David Carlisle <davidc@nag.co.uk>
- Date: Wed, 01 Dec 2010 15:29:34 +0000
- To: "J.Fine" <j.fine@open.ac.uk>
- Cc: "'www-math@w3.org'" <www-math@w3.org>
On 01/12/2010 14:43, J.Fine wrote: > Hello > > Apologies if this question is already answered in an obvious place, > but can I arrange for text within mathematics to use the same font as > the ambient document? You can assume that I know ahead of time what > that font is. you can use the (deprecated but legal) <mtext fontfamily="jhf">m which might or might not work. similarly a global stylesheet declaration of mtext {font-family: kjh} might work. but on the other hand it might not. Individual math layout engines currently seem to assume certain font families, in firefox and other gecko renders the default fonts used by mathml are a user (reader) settable option, the same question came up recently for mathjax where again the answer is complicated as it depends on what mathjax is using for rendering. > Of course this isn't so much different from TeX where getting math fonts and text fonts to be compatible requires a certain amount of black art. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Received on Wednesday, 1 December 2010 15:30:06 UTC