Commits

Jason McKesson  committed 1b5f0db

Issue #45: Left justify MathML equations.

  • Participants
  • Parent commits 5f2ec4e

Comments (0)

Files changed (26)

File Documents/Basics/VectorMathProperties.mathml

 <?xml version="1.0" encoding="utf-8"?>
 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
   <mrow>
-  <mtable>
+  <mtable columnalign="left">
     <mtr>
-      <mtd>
-        <mtext>Commutative</mtext>
+      <mtd columnalign="right">
+        <mtext>Commutative:</mtext>
       </mtd>
       <mtd>
         <mover><mi>a</mi><mo>&#x21C0;</mo></mover>
       </mtd>
     </mtr>
     <mtr>
-      <mtd>
-        <mtext>Associative</mtext>
+      <mtd columnalign="right">
+        <mtext>Associative:</mtext>
       </mtd>
       <mtd>
         <mover><mi>a</mi><mo>&#x21C0;</mo></mover>
       </mtd>
     </mtr>
     <mtr>
-      <mtd>
-        <mtext>Distributive</mtext>
+      <mtd columnalign="right">
+        <mtext>Distributive:</mtext>
       </mtd>
       <mtd>
         <mover><mi>a</mi><mo>&#x21C0;</mo></mover>

File Documents/Basics/VectorMathProperties.svg

Old
Old image
New
New image

File Documents/Illumination/GaussianTerm.mathml

 <?xml version="1.0" encoding="UTF-8"?>
 <math xmlns="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
     <mrow>
-        <mtable>
+        <mtable columnalign="left">
             <mtr>
                 <mtd>
                     <mi>&#x03b1;</mi>

File Documents/Illumination/GaussianTerm.svg

Old
Old image
New
New image

File Documents/Illumination/RayEquation.mathml

 <?xml version="1.0" encoding="utf-8"?>
 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
-	<mtable>
+	<mtable columnalign="left">
 		<mtr>
 			<mtd>
 				<mover accent="true">

File Documents/Illumination/RayEquation.svg

Old
Old image
New
New image

File Documents/Illumination/RayTraceDeriv_2.mathml

 <?xml version="1.0" encoding="utf-8"?>
 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
-	<mtable>
+	<mtable columnalign="left">
 		<mtr>
 			<mtd>
 				<msup>

File Documents/Illumination/RayTraceDeriv_2.svg

Old
Old image
New
New image

File Documents/Illumination/SphereEquation.mathml

 <?xml version="1.0" encoding="utf-8"?>
 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
-	<mtable>
+	<mtable columnalign="left">
 		<mtr>
 			<mtd>
 				<mi>R</mi>

File Documents/Illumination/SphereEquation.svg

Old
Old image
New
New image

File Documents/Illumination/WindowToCameraTrans.mathml

 <?xml version="1.0" encoding="UTF-8"?>
 <math xmlns="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
     <mrow>
-        <mtable>
+        <mtable columnalign="left">
             <mtr>
                 <mtd>
                     <msub>

File Documents/Illumination/WindowToCameraTrans.svg

Old
Old image
New
New image

File Documents/Positioning/AngleAxisRotationMatrix.mathml

   <mtable>
     <mtr>
       <mtd>
-        <mtable>
+        <mtable columnalign="left">
           <mtr>
             <mtd>
               <mtext>Axis</mtext>

File Documents/Positioning/AngleAxisRotationMatrix.svg

Old
Old image
New
New image

File Documents/Positioning/AngleAxisToQuaternion.mathml

 <?xml version="1.0" encoding="utf-8"?>
 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
     <mrow>
-        <mtable>
+        <mtable columnalign="left">
             <mtr>
                 <mtd>
-                    <mtable>
-                        <mtr>
-                            <mtd>
-                                <mtext>Axis</mtext>
-                                <mo>=</mo>
-                                <mfenced open="(" close=")" separators=",">
-                                    <mrow>
-                                        <mi>x</mi>
-                                    </mrow>
-                                    <mrow>
-                                        <mi>y</mi>
-                                    </mrow>
-                                    <mrow>
-                                        <mi>z</mi>
-                                    </mrow>
-                                </mfenced>
-                            </mtd>
-                            <mtd>
-                                <mtext>Angle</mtext>
-                                <mo>=</mo>
-                                <mi>&#x03B8;</mi>
-                            </mtd>
-                        </mtr>
-                    </mtable>
+					<mtext>Axis</mtext>
+					<mo>=</mo>
+					<mfenced open="(" close=")" separators=",">
+						<mrow>
+							<mi>x</mi>
+						</mrow>
+						<mrow>
+							<mi>y</mi>
+						</mrow>
+						<mrow>
+							<mi>z</mi>
+						</mrow>
+					</mfenced>
                 </mtd>
             </mtr>
+			<mtr>
+				<mtd>
+					<mtext>Angle</mtext>
+					<mo>=</mo>
+					<mi>&#x03B8;</mi>
+				</mtd>
+			</mtr>
             <mtr>
                 <mtd>
                     <mtext>Quaternion</mtext>

File Documents/Positioning/AngleAxisToQuaternion.svg

Old
Old image
New
New image

File Documents/Positioning/AxialRotationMatrices.mathml

 <?xml version="1.0" encoding="utf-8"?>
 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
 <mrow>
-  <mtable>
+  <mtable columnalign="left">
     <mtr>
       <mtd>
         <mtext>Rotation Angle</mtext>
         <mo>=</mo>
-        <mi>&#x03D1;</mi>
+        <mi>&#x03B8;</mi>
       </mtd>
     </mtr>
     <mtr>
                         <mi>cos</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>sin</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>sin</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>cos</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>cos</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>sin</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>sin</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>cos</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>cos</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>sin</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>sin</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>
                         <mi>cos</mi><mo>&#x2061;</mo>
                         <mfenced open="(" close=")" separators=",">
                           <mrow>
-                            <mi>&#x03D1;</mi>
+                            <mi>&#x03B8;</mi>
                           </mrow>
                         </mfenced>
                       </mtd>

File Documents/Positioning/AxialRotationMatrices.svg

Old
Old image
New
New image

File Documents/Positioning/FullCoordinateEquation.mathml

 <?xml version="1.0" encoding="utf-8"?>
 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
-	<mtable>
+	<mtable columnalign="left">
 		<mtr>
-			<mtd>
+			<mtd columnalign="right">
 				<mtext>Basis Vectors:</mtext>
 			</mtd>
 			<mtd>
 			</mtd>
 		</mtr>
 		<mtr>
-			<mtd>
+			<mtd columnalign="right">
 				<mtext>Origin Vectors:</mtext>
 			</mtd>
 			<mtd>
 			</mtd>
 		</mtr>
 		<mtr>
-			<mtd>
+			<mtd columnalign="right">
 				<mtext>Coordinate Equation:</mtext>
 			</mtd>
 			<mtd>

File Documents/Positioning/FullCoordinateEquation.svg

Old
Old image
New
New image

File Documents/Positioning/ScaledCoordEquation.mathml

 <?xml version="1.0" encoding="utf-8"?>
 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
-	<mtable>
+	<mtable columnalign="left">
 		<mtr>
 			<mtd>
 				<mfenced open="[" close="]" separators=",">

File Documents/Positioning/ScaledCoordEquation.svg

Old
Old image
New
New image

File Documents/Positioning/TransformOrder.mathml

 <?xml version="1.0" encoding="utf-8"?>
 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
 <mrow>
-  <mtable>
+  <mtable columnalign="left">
     <mtr>
-      <mtd>
+      <mtd columnalign="right">
         <mi>S</mi>
       </mtd>
       <mtd>
       </mtd>
     </mtr>
     <mtr>
-      <mtd>
+      <mtd columnalign="right">
         <mi>T</mi>
       </mtd>
       <mtd>
       </mtd>
     </mtr>
     <mtr>
-      <mtd>
+      <mtd columnalign="right">
         <mi>S</mi>
         <mo>&#x00D7;</mo>
         <mi>T</mi>
       </mtd>
     </mtr>
     <mtr>
-      <mtd>
+      <mtd columnalign="right">
         <mi>T</mi>
         <mo>&#x00D7;</mo>
         <mi>S</mi>

File Documents/Positioning/TransformOrder.svg

Old
Old image
New
New image

File Documents/Positioning/ZValueFunc.mathml

 <?xml version="1.0" encoding="utf-8"?>
 <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
 <mrow>
-  <mtable>
+  <mtable columnalign="left">
     <mtr>
-      <mtd>
+      <mtd columnalign="right">
         <mi>N</mi>
       </mtd>
       <mtd>
       </mtd>
     </mtr>
     <mtr>
-      <mtd>
+      <mtd columnalign="right">
         <mi>F</mi>
       </mtd>
       <mtd>
       </mtd>
     </mtr>
     <mtr>
-      <mtd>
+      <mtd columnalign="right">
         <msub>
                 <mi>Z</mi>
               <mtext>clip</mtext>

File Documents/Positioning/ZValueFunc.svg

Old
Old image
New
New image