I have a tabularx-table with a lot of SI values. For this, I wanted to define a new column type u which places the contents of the column into a \SI{XXX}{cm} expression.


Using this in a tabularx-table throws me an "Illegal pream token X" and "invalid-token-in-number" exception. Replacing X with c leaves me with only the "invalid-token"-exception. What can I do to make this work?


1 Answer 1


One way to do what you desire is to use the collcell package:

enter image description here





\begin{tabular}{l u}
    1 inch  & 2.54 \\
    1 meter & 100  \\

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .