Skip to content

Commit

Permalink
:array
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle committed Nov 11, 2024
1 parent 801b9f7 commit ab52388
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
16 changes: 16 additions & 0 deletions intent-examples/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -1902,6 +1902,22 @@ <h1>Intent Examples</h1>
<mo>]</mo>
</mrow>
</math>
<math display='block'>
<mrow intent='$m'>
<mo>[</mo>
<mtable arg='m' intent=':array'>
<mtr>
<mtd><mi>a</mi></mtd>
<mtd><mi>b</mi></mtd>
</mtr>
<mtr>
<mtd><mi>x</mi></mtd>
<mtd><mi>y</mi></mtd>
</mtr>
</mtable>
<mo>]</mo>
</mrow>
</math>
</td>
<td>\begin{bmatrix} a&amp;b\\ x&amp;y \end{bmatrix}</td>
<td>bmatrix</td>
Expand Down
20 changes: 20 additions & 0 deletions intent-examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3671,6 +3671,26 @@ <h1>Intent Examples</h1><h2>MathCAT Version: 0.6.7</h2>
</pre>

<div class="mathcat">the 2 by 2 matrix; row 1; eigh, b; row 2; x, y; end matrix</div>
<pre id='id-0-a2c7e4ad7047e767411f9e5511f06f02'><a class='self' href='#id-0-a2c7e4ad7047e767411f9e5511f06f02'>&#xa7;</a>
&lt;math display='block'>
&lt;mrow <b>intent='$m'</b>>
&lt;mo>[&lt;/mo>
&lt;mtable <b>arg='m'</b> <b>intent=':array'</b>>
&lt;mtr>
&lt;mtd>&lt;mi>a&lt;/mi>&lt;/mtd>
&lt;mtd>&lt;mi>b&lt;/mi>&lt;/mtd>
&lt;/mtr>
&lt;mtr>
&lt;mtd>&lt;mi>x&lt;/mi>&lt;/mtd>
&lt;mtd>&lt;mi>y&lt;/mi>&lt;/mtd>
&lt;/mtr>
&lt;/mtable>
&lt;mo>]&lt;/mo>
&lt;/mrow>
&lt;/math>
</pre>

<div class="mathcat">array of, row 1; <br/>column 1; eigh, <br/>column 2; b; comma, row 2; <br/>column 1; x, <br/>column 2; y;</div>
</td>

<td class="pad">\begin{bmatrix} a&amp;b\\ x&amp;y \end{bmatrix}</td>
Expand Down

0 comments on commit ab52388

Please sign in to comment.