ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \setupMMLappearance
@ 2005-05-04  9:11 Duncan Hothersall
  2005-05-05 11:18 ` \setupMMLappearance Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Duncan Hothersall @ 2005-05-04  9:11 UTC (permalink / raw)


Hello MathMLers.

I just discovered the very promising \setupMMLappearance command, which
looked like it held the answer to one of my most niggling of problems
with display MathML processing - the fact that in a tabular layout using
<mtable> I couldn't make the left-hand-side right-aligned, the middle
(equals sign) centred and the right-hand-side left-aligned. The default
layout has all columns centred.

So having looked through the sources I tried
\setupMMLappearance[mtable][alternative=b] and to my joy the horizontal
alignment seemed to be perfect. But... the vertical spacing seems to
have changed as well. There is now just a bit more vertical space
between the rows, which throws my existing pagination out of whack, and
also looks ugly.

I think I reached my limit on understanding the sources, so I wonder if
someone could help by telling me if there are any other options for the
magical \setupMMLappearance command which might help, or indeed any
other fine-tuning commands for MathML layout.

One other thing I'd really like to be able to do is have the entire
equation aligned on the left rather than centred in the text flow. Is
there an option for that?

Thanks very much to anyone who can help.

Duncan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: \setupMMLappearance
  2005-05-04  9:11 \setupMMLappearance Duncan Hothersall
@ 2005-05-05 11:18 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2005-05-05 11:18 UTC (permalink / raw)


Duncan Hothersall wrote:
> Hello MathMLers.
> 
> I just discovered the very promising \setupMMLappearance command, which
> looked like it held the answer to one of my most niggling of problems
> with display MathML processing - the fact that in a tabular layout using
> <mtable> I couldn't make the left-hand-side right-aligned, the middle
> (equals sign) centred and the right-hand-side left-aligned. The default
> layout has all columns centred.
> 
> So having looked through the sources I tried
> \setupMMLappearance[mtable][alternative=b] and to my joy the horizontal
> alignment seemed to be perfect. But... the vertical spacing seems to
> have changed as well. There is now just a bit more vertical space
> between the rows, which throws my existing pagination out of whack, and
> also looks ugly.
> 
> I think I reached my limit on understanding the sources, so I wonder if
> someone could help by telling me if there are any other options for the
> magical \setupMMLappearance command which might help, or indeed any
> other fine-tuning commands for MathML layout.
> 
> One other thing I'd really like to be able to do is have the entire
> equation aligned on the left rather than centred in the text flow. Is
> there an option for that?

can you prepare a test file?

Hans

btw, sometime ago i rewrote the mml code in a more readable way but i could not 
find time to integrate it yet



-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-05 11:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-04  9:11 \setupMMLappearance Duncan Hothersall
2005-05-05 11:18 ` \setupMMLappearance Hans Hagen

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).