Skip to content

Commit

Permalink
mml4-nopfill class for #385
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcarlisle authored and NSoiffer committed Aug 18, 2022
1 parent 2a99255 commit a6a3c2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
var mmllist=document.querySelectorAll("div.example.mathml");
for(var i=0;i!=mmllist.length;i++){
var mclass=mmllist[i].getAttribute("class");
if(!mclass.includes("mml4c")){
if(!mclass.includes("mml4c") && !mclass.includes("mml4-nopfill")){
var m=document.createElementNS("http://www.w3.org/1998/Math/MathML","math");;
m.setAttribute("display","block");
m.setAttribute("class",
Expand Down
4 changes: 2 additions & 2 deletions src/presentation-markup.html
Original file line number Diff line number Diff line change
Expand Up @@ -7434,7 +7434,7 @@ <h5 id="presm_ex_alignment_1">MathML representation of an alignment example</h5>

<p>One way to represent that in MathML is:</p>

<div class="example mathml mml4p">
<div class="example mathml mml4-nopfill">
<pre>
&lt;mtable groupalign="{decimalpoint left left decimalpoint left left decimalpoint}"&gt;
&lt;mtr&gt;
Expand Down Expand Up @@ -7499,7 +7499,7 @@ <h5 id="presm_ex_alignment_1">MathML representation of an alignment example</h5>
&lt;/mtable&gt;
</pre>
</div>
<blockquote class="mml4p">
<blockquote class="mml4-nopfill">
<!--
\documentclass{article}
\usepackage{amsmath,stix2}
Expand Down

0 comments on commit a6a3c2a

Please sign in to comment.