File: array.xml

package info (click to toggle)
latexml 0.8.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 31,920 kB
  • sloc: xml: 109,048; perl: 30,224; sh: 179; javascript: 28; makefile: 13
file content (242 lines) | stat: -rw-r--r-- 8,626 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<?xml version="1.0" encoding="UTF-8"?>
<?latexml class="article"?>
<?latexml package="array"?>
<?latexml preamble="\newcolumntype{C}{>{$}c<{$}}"?>
<?latexml preamble="\newcolumntype{L}{>{$}l<{$}}"?>
<?latexml preamble="\newcolumntype{R}{>{$}r<{$}}"?>
<?latexml RelaxNGSchema="LaTeXML"?>
<document xmlns="http://dlmf.nist.gov/LaTeXML">
  <resource src="LaTeXML.css" type="text/css"/>
  <resource src="ltx-article.css" type="text/css"/>
  <section inlist="toc" xml:id="S1">
    <tags>
      <tag>1</tag>
      <tag role="refnum">1</tag>
      <tag role="typerefnum">§1</tag>
    </tags>
    <title><tag close=" ">1</tag>New Column types</title>
    <para xml:id="S1.p1">
      <tabular vattach="middle">
        <tbody>
          <tr>
            <td align="justify" border="l r t" vattach="top"><inline-block vattach="top">
                <p width="72.3pt">Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
              </inline-block></td>
            <td align="justify" border="r t" vattach="middle" width="72.3pt"><inline-block vattach="top">
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
              </inline-block></td>
            <td align="justify" border="r t" vattach="bottom" width="72.3pt"><inline-block vattach="bottom">
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
              </inline-block></td>
          </tr>
          <tr>
            <td align="justify" border="b l r t" vattach="top"><inline-block vattach="top">
                <p width="72.3pt">Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
              </inline-block></td>
            <td align="justify" border="b r t" vattach="middle" width="72.3pt"><inline-block vattach="top">
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
              </inline-block></td>
            <td align="justify" border="b r t" vattach="bottom" width="72.3pt"><inline-block vattach="bottom">
                <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit</p>
              </inline-block></td>
          </tr>
        </tbody>
      </tabular>
    </para>
    <para xml:id="S1.p2">
      <tabular vattach="middle">
        <tbody>
          <tr>
            <td align="left" border="l r">[left]</td>
            <td align="center" border="r">[center]</td>
            <td align="right" border="r">[right]</td>
          </tr>
        </tbody>
      </tabular>
    </para>
    <para xml:id="S1.p3">
      <tabular vattach="middle">
        <tbody>
          <tr>
            <td align="left">a   –</td>
            <td align="left">b</td>
          </tr>
          <tr>
            <td align="left">c   –</td>
            <td align="left">d</td>
          </tr>
        </tbody>
      </tabular>
    </para>
  </section>
  <section inlist="toc" xml:id="S2">
    <tags>
      <tag>2</tag>
      <tag role="refnum">2</tag>
      <tag role="typerefnum">§2</tag>
    </tags>
    <title><tag close=" ">2</tag>Math columns</title>
    <para xml:id="S2.p1">
      <tabular class="ltx_guessed_headers" vattach="middle">
        <tbody>
          <tr>
            <td align="center" thead="row">word</td>
            <td align="center"><Math mode="inline" tex="a+b" text="a + b" xml:id="S2.p1.m1">
                <XMath>
                  <XMApp>
                    <XMTok meaning="plus" role="ADDOP">+</XMTok>
                    <XMTok font="italic" role="UNKNOWN">a</XMTok>
                    <XMTok font="italic" role="UNKNOWN">b</XMTok>
                  </XMApp>
                </XMath>
              </Math></td>
          </tr>
          <tr>
            <td align="center" thead="row">word</td>
            <td align="center"><Math mode="inline" tex="a+b" text="a + b" xml:id="S2.p1.m2">
                <XMath>
                  <XMApp>
                    <XMTok meaning="plus" role="ADDOP">+</XMTok>
                    <XMTok font="italic" role="UNKNOWN">a</XMTok>
                    <XMTok font="italic" role="UNKNOWN">b</XMTok>
                  </XMApp>
                </XMath>
              </Math></td>
          </tr>
        </tbody>
      </tabular>
    </para>
    <para xml:id="S2.p2">
      <equation xml:id="S2.E1">
        <tags>
          <tag>(1)</tag>
          <tag role="refnum">1</tag>
        </tags>
        <Math mode="display" tex="z=\begin{array}[]{Cc}word&amp;a+b\\&#10;word&amp;a+b\\&#10;\end{array}" text="z = Array[[[word], a + b], [[word], a + b]]" xml:id="S2.E1.m1">
          <XMath>
            <XMApp>
              <XMTok meaning="equals" role="RELOP">=</XMTok>
              <XMTok font="italic" role="UNKNOWN">z</XMTok>
              <XMArray role="ARRAY" vattach="middle">
                <XMRow>
                  <XMCell align="center">
                    <XMText>word</XMText>
                  </XMCell>
                  <XMCell align="center">
                    <XMApp>
                      <XMTok meaning="plus" role="ADDOP">+</XMTok>
                      <XMTok font="italic" role="UNKNOWN">a</XMTok>
                      <XMTok font="italic" role="UNKNOWN">b</XMTok>
                    </XMApp>
                  </XMCell>
                </XMRow>
                <XMRow>
                  <XMCell align="center">
                    <XMText>word</XMText>
                  </XMCell>
                  <XMCell align="center">
                    <XMApp>
                      <XMTok meaning="plus" role="ADDOP">+</XMTok>
                      <XMTok font="italic" role="UNKNOWN">a</XMTok>
                      <XMTok font="italic" role="UNKNOWN">b</XMTok>
                    </XMApp>
                  </XMCell>
                </XMRow>
              </XMArray>
            </XMApp>
          </XMath>
        </Math>
      </equation>
    </para>
    <para xml:id="S2.p3">
      <p>And trickness of embedded verbatim
<tabular vattach="middle">
          <tbody>
            <tr>
              <td align="center"><verbatim font="typewriter">\word</verbatim></td>
              <td align="center"><Math mode="inline" tex="a+b" text="a + b" xml:id="S2.p3.m1">
                  <XMath>
                    <XMApp>
                      <XMTok meaning="plus" role="ADDOP">+</XMTok>
                      <XMTok font="italic" role="UNKNOWN">a</XMTok>
                      <XMTok font="italic" role="UNKNOWN">b</XMTok>
                    </XMApp>
                  </XMath>
                </Math></td>
            </tr>
            <tr>
              <td align="center">word</td>
              <td align="center"><Math mode="inline" tex="\verb|a_x|+\verb|b_y|" text="a_x + b_y" xml:id="S2.p3.m2">
                  <XMath>
                    <XMApp>
                      <XMTok meaning="plus" role="ADDOP">+</XMTok>
                      <XMTok font="typewriter">a_x</XMTok>
                      <XMTok font="typewriter">b_y</XMTok>
                    </XMApp>
                  </XMath>
                </Math></td>
            </tr>
          </tbody>
        </tabular></p>
    </para>
  </section>
  <section inlist="toc" xml:id="S3">
    <tags>
      <tag>3</tag>
      <tag role="refnum">3</tag>
      <tag role="typerefnum">§3</tag>
    </tags>
    <title><tag close=" ">3</tag>Special variations of hline</title>
    <para xml:id="S3.p1">
      <p>Tables
<tabular vattach="top">
          <tbody>
            <tr>
              <td align="left">with no</td>
            </tr>
            <tr>
              <td align="left">hline</td>
            </tr>
            <tr>
              <td align="left">commands</td>
            </tr>
            <tr>
              <td align="left">used</td>
            </tr>
          </tbody>
        </tabular> versus</p>
    </para>
    <para xml:id="S3.p2">
      <p>tables
<tabular vattach="top">
          <tbody>
            <tr>
              <td align="left" border="l r t">with</td>
            </tr>
            <tr>
              <td align="left" border="l r">hline</td>
            </tr>
            <tr>
              <td align="left" border="b l r">commands</td>
            </tr>
          </tbody>
        </tabular> used.</p>
    </para>
    <para xml:id="S3.p3">
      <p>tables
<tabular vattach="top">
          <tbody>
            <tr>
              <td align="left" border="l r t">with</td>
            </tr>
            <tr>
              <td align="left" border="l r">hline</td>
            </tr>
            <tr>
              <td align="left" border="b l r">commands</td>
            </tr>
          </tbody>
        </tabular> used.</p>
    </para>
  </section>
</document>