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 22, 2023
1 parent 90a6295 commit 6e1b340
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 @@ -95,10 +95,10 @@ p{3cm}}"?>
<tbody>
<tr>
<td align="justify" backgroundcolor="#FF0000" vattach="top"><inline-block vattach="top">
<p width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF">P-column</text></p>
<p width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF">P-column</text></p>
</inline-block></td>
<td align="justify" backgroundcolor="#0000FF" vattach="top"><inline-block vattach="top">
<p width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00">and another one</text></p>
<p width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00">and another one</text></p>
</inline-block></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}12\cdot 34" text="12.34" xml:id="S2.T1.m1">
<XMath>
Expand All @@ -117,10 +117,10 @@ p{3cm}}"?>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" vattach="top"><inline-block vattach="top">
<p width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF">Some long text in the first column</text></p>
<p width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF">Some long text in the first column</text></p>
</inline-block></td>
<td align="justify" backgroundcolor="#0000FF" vattach="top"><inline-block vattach="top">
<p width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00">bbb</text></p>
<p width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00">bbb</text></p>
</inline-block></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}1\cdot 2" text="1.2" xml:id="S2.T1.m3">
<XMath>
Expand All @@ -130,10 +130,10 @@ p{3cm}}"?>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" vattach="top"><inline-block vattach="top">
<p width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF">aaa</text></p>
<p width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF">aaa</text></p>
</inline-block></td>
<td align="justify" backgroundcolor="#0000FF" vattach="top"><inline-block vattach="top">
<p width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00">and some long text in the second column</text></p>
<p width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00">and some long text in the second column</text></p>
</inline-block></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}1\cdot 345" text="1.345" xml:id="S2.T1.m4">
<XMath>
Expand All @@ -152,10 +152,10 @@ p{3cm}}"?>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" vattach="top"><inline-block vattach="top">
<p width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF">aaa</text></p>
<p width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF">aaa</text></p>
</inline-block></td>
<td align="justify" backgroundcolor="#0000FF" vattach="top"><inline-block vattach="top">
<p width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00">bbb</text></p>
<p width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00">bbb</text></p>
</inline-block></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}1\cdot 345" text="1.345" xml:id="S2.T1.m6">
<XMath>
Expand All @@ -165,11 +165,11 @@ p{3cm}}"?>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" vattach="top"><inline-block vattach="top">
<p width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF">Note that the coloured rules in all columns stretch to accomodate
<p width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF">Note that the coloured rules in all columns stretch to accomodate
large entries in one column.</text></p>
</inline-block></td>
<td align="justify" backgroundcolor="#0000FF" vattach="top"><inline-block vattach="top">
<p width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00">bbb</text></p>
<p width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00">bbb</text></p>
</inline-block></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}1\cdot 345" text="1.345" xml:id="S2.T1.m7">
<XMath>
Expand All @@ -179,10 +179,10 @@ large entries in one column.</text></p>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" vattach="top"><inline-block vattach="top">
<p width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF">aaa</text></p>
<p width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF">aaa</text></p>
</inline-block></td>
<td align="justify" backgroundcolor="#0000FF" vattach="top"><inline-block vattach="top">
<p width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00">bbb</text></p>
<p width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00">bbb</text></p>
</inline-block></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}100" text="100" xml:id="S2.T1.m8">
<XMath>
Expand All @@ -192,10 +192,10 @@ large entries in one column.</text></p>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" vattach="top"><inline-block vattach="top">
<p width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF">aaa</text></p>
<p width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF">aaa</text></p>
</inline-block></td>
<td align="justify" backgroundcolor="#0000FF" vattach="top"><inline-block vattach="top">
<p width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00">Depending on your driver you may get unsightly gaps or lines
<p width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00">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 @@ -209,10 +209,10 @@ or by adding some negative space (in a ”“noalign” between rows.</text></p>
</tr>
<tr>
<td align="justify" backgroundcolor="#FF0000" vattach="top"><inline-block vattach="top">
<p width="56.9pt"><text backgroundcolor="#FF0000" class="ltx_align_left" color="#FFFFFF">aaa</text></p>
<p width="56.9pt"><text backgroundcolor="#FF0000" color="#FFFFFF">aaa</text></p>
</inline-block></td>
<td align="justify" backgroundcolor="#0000FF" vattach="top"><inline-block vattach="top">
<p width="85.4pt"><text backgroundcolor="#0000FF" class="ltx_align_left" color="#FFFF00">bbb</text></p>
<p width="85.4pt"><text backgroundcolor="#0000FF" color="#FFFF00">bbb</text></p>
</inline-block></td>
<td align="char:⋅" backgroundcolor="#FFFF00"><Math mode="inline" tex="\pagecolor{yellow}45\cdot 3" text="45.3" xml:id="S2.T1.m10">
<XMath>
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 6e1b340

Please sign in to comment.