latex3 / tagging-project

Issues related to the tagging project
https://latex3.github.io/tagging-project/
LaTeX Project Public License v1.3c
29 stars 13 forks source link

tabular with array package fails math tagging ( >{$}c<{$} ) #237

Open John02139 opened 1 month ago

John02139 commented 1 month ago
\DocumentMetadata{%
    pdfstandard=A-4f,
    pdfversion=2.0,
    lang=en-US,
    testphase={phase-III,math},
}
\documentclass{article}

\usepackage{array}

\begin{document}

\begin{tabular}{>{$}c<{$}>{$}c<{$}>{$}c<{$}>{$}c<{$}}
\\
\hline
X_{z} & X_{c} & X_{c,m} & X_{c,2}
\\
3.92069  & 5.70943 & 6.32429 & 7.08757
\\
\hline
\end{tabular}

\end{document}

produces

! Misplaced \noalign.
\hline ->\noalign 
                  {\ifnum 0=`}\fi \hrule \@height \arrayrulewidth \futurelet...
l.18 X_{z} &
             X_{c} & X_{c,m} & X_{c,2}
josephwright commented 1 month ago

Indeed - we know about that one and it's on my to-do list :)