<?xml version="1.0" encoding="UTF-8"?>
<?latexml class="article"?>
<?latexml package="xcolor"?>
<?latexml package="framed"?>
<?latexml package="amsthm"?>
<?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>Basics</title>
<para cssstyle="padding:9pt;border-width:0.4pt" framecolor="#000000" framed="rectangle" xml:id="S1.p1">
<p>This is stuff that’s framed.</p>
</para>
<para xml:id="S1.p2">
<p>Note that the</p>
<p cssstyle="padding:9pt;border-width:0.4pt" framecolor="#000000" framed="rectangle">framed</p>
<p>stuff is a block!</p>
</para>
<logical-block cssstyle="padding:9pt;border-width:0.4pt" framecolor="#000000" framed="rectangle">
<para xml:id="S1.p3">
<p>This is stuff that’s framed.</p>
<p>And it can hold multiple paragraphs.</p>
</para>
</logical-block>
<sectional-block cssstyle="padding:9pt;border-width:0.4pt" framecolor="#000000" framed="rectangle">
<para xml:id="S1.p4">
<p>And even stuff in multiple Paragraphs.</p>
</para>
<paragraph inlist="toc" xml:id="S1.SS0.SSS0.Px1">
<title>Does this work?</title>
<para xml:id="S1.SS0.SSS0.Px1.p1">
<p>But not in LaTeXML!</p>
</para>
</paragraph>
</sectional-block>
</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>Variants</title>
<para cssstyle="padding:9pt;border-width:0.4pt" framecolor="#000000" framed="rectangle" xml:id="S2.p1">
<p>This is stuff that’s framed, but would stay open at page breaks.
This doesn’t make so much sense for LaTeXML, so it’s pretty much
the same.</p>
</para>
<para backgroundcolor="#80BF80" cssstyle="padding:9pt" xml:id="S2.p2">
<p>This is stuff that’s shaded green;
should fade into the margin, whatever that means.</p>
</para>
<para backgroundcolor="#80BF80" cssstyle="padding:9pt" xml:id="S2.p3">
<p>This is stuff that’s shaded green;
it should end sharply at the margin.</p>
</para>
<para backgroundcolor="#80BF80" cssstyle="padding:3pt" xml:id="S2.p4">
<p>This is stuff that’s snugly shaded green;
fading into the margin.</p>
</para>
<para backgroundcolor="#80BF80" cssstyle="padding:3pt" xml:id="S2.p5">
<p>This is stuff that’s snugly shaded green;
ending sharply at the margin.</p>
</para>
<para cssstyle="border-width:3pt;padding-left:10pt" framecolor="#000000" framed="left" xml:id="S2.p6">
<p>This is with a left bar, like a changebar?</p>
</para>
<para cssstyle="padding:8pt;border-width:2pt" framecolor="#8080BF" framed="rectangle" xml:id="S2.p7">
<p><text backgroundcolor="#8080BF" color="#FFFFFF" cssstyle="display:block;margin:-8pt -8pt 8pt -8pt;padding:8pt">A Titled Frame</text>
This is a titled frame.</p>
</para>
<logical-block cssstyle="padding:9pt;border-width:0.4pt" framecolor="#000000" framed="rectangle">
<para xml:id="S2.p8">
<p>Lorem ipsum.</p>
</para>
<theorem class="ltx_theorem_thm" inlist="thm theorem:thm" xml:id="Thmthm1">
<tags>
<tag>Theorem 1</tag>
<tag role="refnum">1</tag>
<tag role="typerefnum">Theorem 1</tag>
</tags>
<title class="ltx_runin"><tag><text font="bold">Theorem 1</text></tag><text font="bold">.</text></title>
<para xml:id="Thmthm1.p1">
<p><text font="italic">A theorem.</text></p>
</para>
</theorem>
</logical-block>
<theorem backgroundcolor="#80BF80" class="ltx_theorem_thm" cssstyle="padding:9pt" inlist="thm theorem:thm" xml:id="Thmthm2">
<tags>
<tag>Theorem 2</tag>
<tag role="refnum">2</tag>
<tag role="typerefnum">Theorem 2</tag>
</tags>
<title class="ltx_runin"><tag><text font="bold">Theorem 2</text></tag><text font="bold">.</text></title>
<para xml:id="Thmthm2.p1">
<p><text font="italic">Para 1.</text></p>
</para>
<para xml:id="Thmthm2.p2">
<p><text font="italic">Para 2.</text></p>
</para>
<para xml:id="Thmthm2.p3">
<p><text font="italic">Para 3.</text></p>
</para>
<para xml:id="Thmthm2.p4">
<p><text font="italic">Para 4.</text></p>
</para>
</theorem>
</section>
</document>