Skip to content

nagパッケージを使うとfootnote環境でalign環境が使えない #77

@aminophen

Description

@aminophen

forum:3468 より改変。

\RequirePackage[l2tabu,orthodox]{nag}
\documentclass{jsarticle}
\usepackage{amsmath}
\begin{document}
\footnote{
\begin{align}
x&\\y&
\end{align}
}
\end{document}
! Improper \halign inside $$'s.
<recently read> \halign 
                        
l.8 \end{align}
               
?

jsarticle.cls の

\everydisplay=\expandafter{\the\everydisplay \narrowbaselines}

を消すとエラーが消える。

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions