ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Duncan Hothersall <dh@capdm.com>
Subject: Two further MathML queries
Date: Wed, 22 Jun 2005 11:22:46 +0100	[thread overview]
Message-ID: <42B93BF6.3060300@capdm.com> (raw)

Apologies for all the MathML queries. Here are two more, embedded in one 
test file which will run on live.contextgarden.net:

--
\usemodule[mathml]
\setupwhitespace[medium]
\starttext
\TeX{} maths aligns $x$ well.\par
MathML aligns 
\startXMLdata<imath><math><mi>x</mi></math></imath>\stopXMLdata squashed 
to the right.\par
Also:\par
\TeX{} display maths makes text go smaller for fractions inside fractions:
$${{\rm Q}\over{\rm P}}\over{\rm R}$$
I'd like the same to happen for MathML:
\startXMLdata <formula><math><mfrac><mrow>
<mfrac><mrow><mtext>Q</mtext></mrow><mrow><mtext>P</mtext></mrow></mfrac></mrow>
<mrow><mtext>R</mtext></mrow></mfrac></math></formula>\stopXMLdata
\stoptext
--

In summary:

#1 Inline MathML has a wide space before, and no space after.

#2 Display MathML doesn't reduce font size for <mtext> content such as 
fractions within fractions.

I have done a fair bit of source- and archive-surfing on both these but 
no luck. Many thanks for any help.

Duncan

             reply	other threads:[~2005-06-22 10:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-22 10:22 Duncan Hothersall [this message]
2005-06-22 18:38 ` Hans Hagen
2005-06-22 19:02 ` Hans Hagen
2005-06-22 19:43 ` Hans Hagen
2005-06-22 20:33 Duncan Hothersall
2005-06-22 20:48 ` Hans Hagen

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=42B93BF6.3060300@capdm.com \
    --to=dh@capdm.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).