When I use an acronym (glossaries or acronym package) for the first time in tabularx, then it fails to expand, and even breaks down the table structure. The problem is already mentioned here, but there is no straightforward solution provided.
The problem does not appear with \acf
, \acs
or other commands that do not check for the first time usage of the entry. However, it is not a solution, as the whole idea of this package is automatic checking. I am looking for a simple solution with not too much processing overhead, as I have thousands of \ac
commands in my text.
Sample code:
\documentclass{article}
\usepackage[acronym,shortcuts]{glossaries}
\usepackage{tabularx}
\newacronym{BI}{BI}{Beacon Interval}
\begin{document}
\begin{tabularx}{\textwidth}{|l|X|}
Parameter & Value \\ \hline
\ac{BI} & Typical: 0.1 seconds. I heard somebody say, that the sentence ended here, But everyone knows it's goin' still. \\
\end{tabularx}
\bigskip
\begin{tabularx}{\textwidth}{|l|X|}
Parameter & Value \\ \hline
\ac{BI} & Typical: 0.1 seconds. I heard somebody say, that the sentence ended here, But everyone knows it's goin' still. \\
\end{tabularx}
\end{document}
acronym
package. Works fine withtabular
. Sadly, this does not work correctly withtabularx
, too. – Rico Jan 22 '13 at 17:19tabularx
makes two passes over the material, so on the first pass it expands the "new" acronym, but on the second pass the acronym has been marked as "already seen" and so not expanded any more. – egreg Jan 23 '13 at 13:44