2020-12-08 20:53

footnote inherits textsc style

This is a minor issue, but I thought I'd point it out all the same. Inside a flushright environment, when a footnote command follows text marked as smallcaps, the displayed text of the footnote appears in smallcaps. No errors or warnings are thrown. Here's an example:

In a flushright environment, the footnote inherits
  the preceding \textsc{smallcaps style}\footnote{Here's the footnote text.}

LaTeXML produces the following XML:

<?xml version="1.0" encoding="UTF-8"?>
<?latexml searchpaths="/home/pub/test"?>
<?latexml class="article"?>
<?latexml RelaxNGSchema="LaTeXML"?>
<document xmlns="http://dlmf.nist.gov/LaTeXML">
  <resource src="LaTeXML.css" type="text/css"></resource>
  <resource src="ltx-article.css" type="text/css"></resource>
  <para xml:id="p1">
    <p align="right">In a flushright environment, the footnote inherits
the preceeding <text font="smallcaps">smallcaps style<note mark="1" role="footnote"><text font="upright">Here’s the footnote text.</text></note></text></p>

Can you guess what's going on here, Bruce?


  • 点赞
  • 回答
  • 收藏
  • 复制链接分享