Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[blkarray] TeX capacity exceeded with footnote inside blkarray #3

Open
aminophen opened this issue Aug 28, 2016 · 0 comments
Open

[blkarray] TeX capacity exceeded with footnote inside blkarray #3

aminophen opened this issue Aug 28, 2016 · 0 comments

Comments

@aminophen
Copy link

Following source throws an error (blkarray 2015/02/27 v0.07):

\documentclass{article}
\usepackage{blkarray}
\begin{document}
\begin{blockarray}{lrr}
\hline 
Aaa & Bbb & Ccc \\ \hline
Ddd\footnote{footnote-d} & Eee & Fff \\
Ggg\footnote{footnote-g} & Hhh & Iii \\ \hline
\end{blockarray}
\end{document}
! TeX capacity exceeded, sorry [input stack size=5000].
\font@name ->
            \OMX/cmex/m/n/5 
l.11 \end{blockarray}

It seems like infitnite loop inside \textasteriskcentered etc.

The change of definition of @fnsymbol at LaTeX2e 2015/01/01 seems critical; actually, adding following code after \usepackage{blkarray} works fine:

\makeatletter
\def\BA@fnsymbol#1{\ensuremath{%
   \ifcase#1\or *\or \dagger\or \ddagger\or \mathsection\or
     \mathparagraph\or \|\or **\or \dagger\dagger
     \or \ddagger\ddagger \else\@ctrerr\fi}}%
\makeatother

Can this problem be solved? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant