7
votes
3answers
104 views

Using & in macro abstracting a tabular's row

I am attempting to create a marco for table rows. This will allow me to change the order of the columns in the future, without having to change the order of the columns in every single row. I have ...
6
votes
1answer
65 views

Redefine @ for tabular inter-column specification within \makeatletter \makeatother

I need to use a tabular with a @ inter-column specification within a \makeatletter and \makeatother environment. I. e. I something like \makeatletter %code that uses @ as letter ...
2
votes
2answers
125 views

Using a bib key containing an ampersand (e.g 2000A&AS..143..391S) in table?

I am currently stuck with this issue. The following is a typical .bibtex entry of a paper that I need to reference: @ARTICLE{1996A&A...307L..41V, author = {{Vink}, J. and {Kaastra}, J.~S. and ...
5
votes
2answers
192 views

Transforming string into tabular row

Trying to have a command converting a string into a (tabular) row, where each cell of the row is (a function of) each character of the string. (\tilerow is my attempt, \tiletext is just for ...
1
vote
1answer
300 views

How to avoid `&` conflict when using `\begin{align}` in a tabular cell?

Minimal CODE \documentclass{article} \usepackage {% array, calc, amsmath, longtable, varwidth% } \newsavebox\TBox \newcolumntype{B}[1] {% @{}% ...
10
votes
4answers
1k views

Use column-separator & (ampersand) inside \newenvironment

I'd like to define a grammar environment which basically wraps a tabular environment. Inside the grammar environment I'd like to use an environment called production to insert rows. Example: ...