prev  ( testsuite > Topics > BiDi > Complex > Maghreb1  )  next

Alternatives: (mml file)  (full) (simple) (plain) (form) (slideshow)
File:Topics/BiDi/Complex/Maghreb1
CVS-ID:
Author:Azzeddine Lazrek, Bruce Miller
Description:A complex example of BiDirectional MathML in a style that would be typical of the Maghreb (North Africa). It contains several MathML constructs in an overall RTL directionality, and containing Arabic (RTL) text.

Sample Rendering:

Created by: Dadzilla

Your browser's rendering:

د ( س ) = { ٮ = 1 ص س ٮ إذاكان  س > 0 1 ص س ٮ ء س إذاكان  س م طا π غيرذلك  ( مع π 3,141 )

Source Code:

<math xmlns="http://www.w3.org/1998/Math/MathML" dir="rtl" display="block">
      <mrow>
	<mrow>
	  <mi>د</mi>
	  <mo>⁡</mo>
	  <mrow>
	    <mo>(</mo>
	    <mi>س</mi>
	    <mo>)</mo>
	  </mrow>
	</mrow>
	<mo>=</mo>
	<mrow>
	  <mo>{</mo>
	  <mtable>
	    <mtr>
	      <mtd>
		<mrow>
		  <munderover>
		    <mo movablelimits="false">∑</mo>
		    <mrow>
		      <mi>ٮ</mi>
		      <mo>=</mo>
		      <mn>1</mn>
		    </mrow>
		    <mi>ص</mi>
		  </munderover>
		  <mo>⁡</mo>
		  <msup>
		    <mi>س</mi>
		    <mi>ٮ</mi>
		  </msup>
		</mrow>
	      </mtd>
	      <mtd>
		<mrow>
		  <mtext>إذاكان </mtext>
		  <mi>س</mi>
		  <mo>&gt;</mo>
		  <mn>0</mn>
		</mrow>
	      </mtd>
	    </mtr>
	    <mtr>
	      <mtd>
		<mrow>
		  <msubsup>
		    <mo>∫</mo>
		    <mn>1</mn>
		    <mi>ص</mi>
		  </msubsup>
		  <mo>⁡</mo>
		  <mrow>
		    <msup>
		      <mi>س</mi>
		      <mi>ٮ</mi>
		    </msup>
		    <mo>⁢</mo>
		    <mi>ء</mi>
		    <mo>⁡</mo>
		    <mi>س</mi>
		  </mrow>
		</mrow>
	      </mtd>
	      <mtd>
		<mrow>
		  <mtext>إذاكان </mtext>
		  <mi>س</mi>
		  <mo>∈</mo>
		  <mi>م</mi>
		</mrow>
	      </mtd>
	    </mtr>
	    <mtr>
	      <mtd>
		<mrow>
		  <mi>طا</mi>
		  <mo>⁡</mo>
		  <mi>π</mi>
		</mrow>
	      </mtd>
	      <mtd>
		<mrow>
		  <mtext>غيرذلك </mtext>
		  <mrow>
		    <mo>(</mo>
		    <mtext>مع</mtext>
		    <mi>π</mi>
		    <mo>≃</mo>
		    <mn>3,141</mn>
		    <mo>)</mo>
		  </mrow>
		</mrow>
	      </mtd>
	    </mtr>
	  </mtable>
	</mrow>
      </mrow>
    </math>