OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] Equation alignment

> -----Original Message-----
> From: Nelson, Dean 

> Mauritz
> Thanks for the template. But I am a bit confused about how to 
> apply the implementation.
> The code in my doc is like this:
> <equation><title>Z-R Relation</title>
>       <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; 
> href="e5-math-zr-basic.xml"/>
> </equation>

> However, the formula shows up left aligned and I need it 
> centered. So how do I specify the "alignment" when using your 
> template?

I'm sorry if I was unclear. The customization I sent only applies to MathML
content in imagedata, because that element has align and valign attributes.

The equation, inlineequation, and informalequation elements don't have any
alignment attributes. Therefore the customization does not work if you have
MathML as a direct child of any of these elements. 

You can have mediaobject/imageobject/imagedata inside equation. This should

	<imagedata align="center">
	  <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML";


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]