Skip to content

Commit

Permalink
Update test cases with leaking \centering, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
brucemiller committed Dec 21, 2023
1 parent 6cac9de commit e27481f
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 56 deletions.
32 changes: 16 additions & 16 deletions t/alignment/colortbls.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ p{3cm}}"?>
</thead>
<tbody>
<tr>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF" vattach="top">P-column</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00" vattach="top">and another one</text></td>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF" vattach="top">P-column</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00" vattach="top">and another one</text></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}12\cdot 34" text="12.34" xml:id="S2.T1.m1">
<XMath>
<XMTok backgroundcolor="#FFFF00" meaning="12.34" role="NUMBER">12⋅34</XMTok>
Expand All @@ -112,17 +112,17 @@ p{3cm}}"?>
</Math></td>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF" vattach="top">Some long text in the first column</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00" vattach="top">bbb</text></td>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF" vattach="top">Some long text in the first column</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00" vattach="top">bbb</text></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}1\cdot 2" text="1.2" xml:id="S2.T1.m3">
<XMath>
<XMTok backgroundcolor="#FFFF00" meaning="1.2" role="NUMBER">1⋅2</XMTok>
</XMath>
</Math></td>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF" vattach="top">aaa</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00" vattach="top">and some long text in the second column</text></td>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF" vattach="top">aaa</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00" vattach="top">and some long text in the second column</text></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}1\cdot 345" text="1.345" xml:id="S2.T1.m4">
<XMath>
<XMTok backgroundcolor="#FFFF00" meaning="1.345" role="NUMBER">1⋅345</XMTok>
Expand All @@ -139,36 +139,36 @@ p{3cm}}"?>
</Math></td>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF" vattach="top">aaa</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00" vattach="top">bbb</text></td>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF" vattach="top">aaa</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00" vattach="top">bbb</text></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}1\cdot 345" text="1.345" xml:id="S2.T1.m6">
<XMath>
<XMTok backgroundcolor="#FFFF00" meaning="1.345" role="NUMBER">1⋅345</XMTok>
</XMath>
</Math></td>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF" vattach="top">Note that the coloured rules in all columns stretch to accomodate
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF" vattach="top">Note that the coloured rules in all columns stretch to accomodate
large entries in one column.</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00" vattach="top">bbb</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00" vattach="top">bbb</text></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}1\cdot 345" text="1.345" xml:id="S2.T1.m7">
<XMath>
<XMTok backgroundcolor="#FFFF00" meaning="1.345" role="NUMBER">1⋅345</XMTok>
</XMath>
</Math></td>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF" vattach="top">aaa</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00" vattach="top">bbb</text></td>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF" vattach="top">aaa</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00" vattach="top">bbb</text></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}100" text="100" xml:id="S2.T1.m8">
<XMath>
<XMTok backgroundcolor="#FFFF00" meaning="100" role="NUMBER">100</XMTok>
</XMath>
</Math></td>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF" vattach="top">aaa</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00" vattach="top">Depending on your driver you may get unsightly gaps or lines
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF" vattach="top">aaa</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00" vattach="top">Depending on your driver you may get unsightly gaps or lines
where the ‘screens’ used to produce different shapes interact
badly. You may want to cause adjacent panels of the same colour by
specifying a larger overhang
Expand All @@ -180,8 +180,8 @@ or by adding some negative space (in a ”“noalign” between rows.</text></td
</Math></td>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF" vattach="top">aaa</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00" vattach="top">bbb</text></td>
<td align="justify" backgroundcolor="#FF0000" width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF" vattach="top">aaa</text></td>
<td align="justify" backgroundcolor="#0000FF" width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00" vattach="top">bbb</text></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}45\cdot 3" text="45.3" xml:id="S2.T1.m10">
<XMath>
<XMTok backgroundcolor="#FFFF00" meaning="45.3" role="NUMBER">45⋅3</XMTok>
Expand Down
4 changes: 2 additions & 2 deletions t/babel/page545.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<?latexml package="babel" options="french,english"?>
<?latexml RelaxNGSchema="LaTeXML"?>
<document xmlns="http://dlmf.nist.gov/LaTeXML" xml:lang="en">
<resource class="ltx_align_left" src="LaTeXML.css" type="text/css"/>
<resource class="ltx_align_left" src="ltx-article.css" type="text/css"/>
<resource src="LaTeXML.css" type="text/css"/>
<resource src="ltx-article.css" type="text/css"/>
<para class="ltx_align_left" xml:id="p1">
<p>The expansion of fixed document element names
depends on the language, e.g., in English
Expand Down
Loading

0 comments on commit e27481f

Please sign in to comment.