Skip to content

Commit

Permalink
Merge pull request #33 from gjtorikian/flippin-mathbf
Browse files Browse the repository at this point in the history
Flippin mathbf
  • Loading branch information
gjtorikian committed Jun 2, 2015
2 parents 17cc5f9 + 428a944 commit 6494e84
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 8 deletions.
6 changes: 5 additions & 1 deletion src/mtex2MML.y
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,11 @@ mbox: MBOX closedTerm {
};

bold: BOLD closedTerm {
$$ = mtex2MML_copy3("<mi mathvariant=\"bold\">", $2, "</mi>");
/* TODO: stupid hack to get bold mover working */
char * b = str_replace($2, "<mi>", "<mi mathvariant=\"bold\">");

$$ = mtex2MML_copy3("<mstyle mathvariant=\"bold\">", b, "</mstyle>");
mtex2MML_free_string(b);
mtex2MML_free_string($2);
};

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mi mathvariant="bold"><mi>x</mi></mi></mrow><annotation encoding='application/x-tex'>
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mstyle mathvariant="bold"><mi mathvariant="bold">x</mi></mstyle></mrow><annotation encoding='application/x-tex'>
\bf x
</annotation></semantics></math>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mi mathvariant="bold"><mi>a</mi></mi><mi>b</mi><mi mathvariant="bold"><mn>1</mn></mi><mn>2</mn><mi mathvariant="bold"><mo>+</mo></mi><mo lspace="verythinmathspace" rspace="0em">&minus;</mo><mi mathvariant="bold"><mfrac><mi>c</mi><mn>3</mn></mfrac></mi></mrow><annotation encoding='application/x-tex'>
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mstyle mathvariant="bold"><mi mathvariant="bold">a</mi></mstyle><mi>b</mi><mstyle mathvariant="bold"><mn>1</mn></mstyle><mn>2</mn><mstyle mathvariant="bold"><mo>+</mo></mstyle><mo lspace="verythinmathspace" rspace="0em">&minus;</mo><mstyle mathvariant="bold"><mfrac><mi mathvariant="bold">c</mi><mn>3</mn></mfrac></mstyle></mrow><annotation encoding='application/x-tex'>
\boldsymbol a
b
\boldsymbol 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mi mathvariant="bold"><mover><mi>u</mi><mo stretchy="false">&#x5E;</mo></mover></mi></mrow><annotation encoding='application/x-tex'>
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mstyle mathvariant="bold"><mover><mi mathvariant="bold">u</mi><mo stretchy="false">&#x5E;</mo></mover></mstyle></mrow><annotation encoding='application/x-tex'>
\mathbf{\hat u}
</annotation></semantics></math>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mi mathvariant="bold"><mover><mi>u</mi><mo stretchy="false">&#x5E;</mo></mover></mi></mrow><annotation encoding='application/x-tex'>
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mstyle mathvariant="bold"><mover><mi mathvariant="bold">u</mi><mo stretchy="false">&#x5E;</mo></mover></mstyle></mrow><annotation encoding='application/x-tex'>
\bf{\hat u}
</annotation></semantics></math>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mi mathvariant="bold"><mi>x</mi></mi></mrow><annotation encoding='application/x-tex'>
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mstyle mathvariant="bold"><mi mathvariant="bold">x</mi></mstyle></mrow><annotation encoding='application/x-tex'>
\mathbf x
</annotation></semantics></math>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mi mathvariant="bold"><mi>x</mi></mi></mrow><annotation encoding='application/x-tex'>
<math xmlns='http://www.w3.org/1998/Math/MathML' display='inline'><semantics><mrow><mstyle mathvariant="bold"><mi mathvariant="bold">x</mi></mstyle></mrow><annotation encoding='application/x-tex'>
\textbf x
</annotation></semantics></math>
2 changes: 1 addition & 1 deletion tests/fixtures/cornercases/some_crazy_alignment.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><mrow><mtable displaystyle="true" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" columnalign="right left right left right left right left right left" rowspacing="0.5ex" rowlines="none none"><mtr><mtd><mo stretchy="false">(</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>11</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo stretchy="false">)</mo><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>x</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>12</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>y</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>13</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>z</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center" columnlines="none"><mtr><mtd><msub><mi>v</mi> <mrow><mi>e</mi><mo>,</mo><mi>g</mi></mrow></msub><msub><mi>q</mi> <mn>14</mn></msub><mo>+</mo><msub><mi>q</mi> <mn>15</mn></msub></mtd></mtr> <mtr><mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo>+</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>b</mi> <mi>x</mi></msub><mo>=</mo><mn>0</mn></mtd></mtr> <mtr><mtd><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>12</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>x</mi></mrow></msub><mo>+</mo><mo stretchy="false">(</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>22</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo stretchy="false">)</mo><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>y</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>23</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>z</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center" columnlines="none"><mtr><mtd><msub><mi>v</mi> <mrow><mi>e</mi><mo>,</mo><mi>g</mi></mrow></msub><msub><mi>q</mi> <mn>24</mn></msub><mo>+</mo><msub><mi>q</mi> <mn>25</mn></msub></mtd></mtr> <mtr><mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo>+</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>b</mi> <mi>y</mi></msub><mo>=</mo><mn>0</mn></mtd></mtr> <mtr><mtd><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>13</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>x</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>23</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>y</mi></mrow></msub><mo>+</mo><mo stretchy="false">(</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>33</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo stretchy="false">)</mo><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>z</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center" columnlines="none"><mtr><mtd><msub><mi>v</mi> <mrow><mi>e</mi><mo>,</mo><mi>g</mi></mrow></msub><msub><mi>q</mi> <mn>34</mn></msub><mo>+</mo><msub><mi>q</mi> <mn>35</mn></msub></mtd></mtr> <mtr><mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo>+</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>b</mi> <mi>z</mi></msub><mo>=</mo><mn>0</mn></mtd></mtr> <mtr><mtd><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>14</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>x</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>24</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>y</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>34</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mi mathvariant="bold"><mi>v</mi></mi> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>z</mi></mrow></msub><mo>+</mo><msub><mi>q</mi> <mn>44</mn></msub><msub><mi>v</mi> <mrow><mi>e</mi><mo>,</mo><mi>g</mi></mrow></msub><mo>+</mo><msub><mi>q</mi> <mn>45</mn></msub><mo>=</mo><mn>0</mn></mtd></mtr></mtable></mrow></mrow><annotation encoding='application/x-tex'>
<math xmlns='http://www.w3.org/1998/Math/MathML' display='block'><semantics><mrow><mrow><mtable displaystyle="true" columnspacing="0em 2em 0em 2em 0em 2em 0em 2em 0em 2em 0em" columnalign="right left right left right left right left right left" rowspacing="0.5ex" rowlines="none none"><mtr><mtd><mo stretchy="false">(</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>11</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo stretchy="false">)</mo><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>x</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>12</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>y</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>13</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>z</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center" columnlines="none"><mtr><mtd><msub><mi>v</mi> <mrow><mi>e</mi><mo>,</mo><mi>g</mi></mrow></msub><msub><mi>q</mi> <mn>14</mn></msub><mo>+</mo><msub><mi>q</mi> <mn>15</mn></msub></mtd></mtr> <mtr><mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo>+</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>b</mi> <mi>x</mi></msub><mo>=</mo><mn>0</mn></mtd></mtr> <mtr><mtd><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>12</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>x</mi></mrow></msub><mo>+</mo><mo stretchy="false">(</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>22</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo stretchy="false">)</mo><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>y</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>23</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>z</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center" columnlines="none"><mtr><mtd><msub><mi>v</mi> <mrow><mi>e</mi><mo>,</mo><mi>g</mi></mrow></msub><msub><mi>q</mi> <mn>24</mn></msub><mo>+</mo><msub><mi>q</mi> <mn>25</mn></msub></mtd></mtr> <mtr><mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo>+</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>b</mi> <mi>y</mi></msub><mo>=</mo><mn>0</mn></mtd></mtr> <mtr><mtd><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>13</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>x</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>23</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>y</mi></mrow></msub><mo>+</mo><mo stretchy="false">(</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>33</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr> <mtr><mtd><mn>0</mn></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo stretchy="false">)</mo><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>z</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center" columnlines="none"><mtr><mtd><msub><mi>v</mi> <mrow><mi>e</mi><mo>,</mo><mi>g</mi></mrow></msub><msub><mi>q</mi> <mn>34</mn></msub><mo>+</mo><msub><mi>q</mi> <mn>35</mn></msub></mtd></mtr> <mtr><mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><mo>+</mo><msubsup><mi>L</mi> <mrow><mi>i</mi><mi>j</mi><mi>r</mi></mrow> <mi>T</mi></msubsup><msub><mi>b</mi> <mi>z</mi></msub><mo>=</mo><mn>0</mn></mtd></mtr> <mtr><mtd><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>14</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>x</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>24</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>y</mi></mrow></msub><mo>+</mo><mrow><mo>[</mo><mtable displaystyle="false" rowspacing="0.5ex" rowlines="none" columnalign="center center" columnlines="none"><mtr><mtd><msub><mi>q</mi> <mn>34</mn></msub></mtd> <mtd><mn>0</mn></mtd></mtr></mtable><mo>]</mo></mrow><msub><mstyle mathvariant="bold"><mi mathvariant="bold">v</mi></mstyle> <mrow><mi>e</mi><mi>r</mi><mo>,</mo><mi>z</mi></mrow></msub><mo>+</mo><msub><mi>q</mi> <mn>44</mn></msub><msub><mi>v</mi> <mrow><mi>e</mi><mo>,</mo><mi>g</mi></mrow></msub><mo>+</mo><msub><mi>q</mi> <mn>45</mn></msub><mo>=</mo><mn>0</mn></mtd></mtr></mtable></mrow></mrow><annotation encoding='application/x-tex'>
\begin{aligned}
(L_{ijr}^{T}L_{ijr}+\left[\begin{array}{cc}q_{11} &amp; 0\\0 &amp; 0 \end{array}\right])\mathbf{v}_{er,x}
+\left[\begin{array}{cc}q_{12} &amp; 0\\0 &amp; 0 \end{array}\right]\mathbf{v}_{er,y}
Expand Down

0 comments on commit 6494e84

Please sign in to comment.