Skip to content

Commit

Permalink
hookup ntheorem's \Theoremname to improved naming scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
brucemiller committed Jun 24, 2019
1 parent af89ef6 commit c3c19dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/LaTeXML/Package/ntheorem.sty.ltxml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ DefMacro('\newtheorem OptionalMatch:* {}[]{}[]',
. '\else\orig@newtheorem#1{#2*}[#3]{#4}[#5]\fi'
);

DefMacro('\Theoremname', '');
DefMacro('\Theoremname', '\lx@thistheorem');
Let('\renewtheorem', '\newtheorem');

#======================================================================
Expand Down
2 changes: 1 addition & 1 deletion t/theorem/ntheorem.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,7 @@ eg. <verbatim font="typewriter">\Theoremname</verbatim></p>
</tags>
<title class="ltx_outdent"><tag><text font="bold">7 Theorem</text></tag><text font="bold"> (somename)</text>:</title>
<para xml:id="ThmTheorem7.p1">
<p><text font="slanted">Obviously, we are in Theorem Theorem.</text></p>
<p><text font="slanted">Obviously, we are in Theorem somename.</text></p>
</para>
</theorem>
<para xml:id="S1.p10">
Expand Down

0 comments on commit c3c19dc

Please sign in to comment.