2

Is there a way to have a column of a table not export, specifically in latex? I want to have an extra column for personal notes but when I export I don't want the table there.

1

Following this answer, I was able to get this to work by prepending

#+LATEX_HEADER: \usepackage{array}
#+LATEX_HEADER: \newcolumntype{H}{>{\setbox0=\hbox\bgroup}c<{\egroup}@{}}
#+ATTR_LATEX: :align rrH
|Good column| another good column|column to hide in export|
| data      | data               | notes                  |

to the table. This creates a new column type H for a hidden column and then uses that type in the align attribute. So in the above example, it would hide the 3rd column.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.