weixin_39809584
weixin_39809584
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:


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

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>
  </para>
</document>

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

该提问来源于开源项目:brucemiller/LaTeXML

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

4条回答