Hi, I use booktabs from library of babel for LaTeX export.
I want to export an booktab-org-table as an actual latex-table (i.e. not tabular only). An example follows. The question is how to make #+call be recognized and treated as a 'first-class' table. (I could do it in LaTeX manner, but I am trying to become more 'Org-Centric'). #+begin_src org #+LATEX_HEADER: \usepackage{booktabs} * COMMENT Tables #+CAPTION: This is not a table! #+LABEL: tbl:table #+ATTR_LaTeX: table #+tblname: budget | Post | Beløb [\textsc{dkk}] | |--------+----------------------| | post 1 | 2250 | | post 2 | 1500 | | post 3 | 375 | | post 4 | 525 | |--------+----------------------| | Total | 4650 | #+TBLFM: @5$2=vsum(@1..@-1) * Export #+call: booktabs(table=budget, align="@{}lr@{}") :results latex :exports results #+CAPTION: This is a table | Post | Beløb [\textsc{dkk}] | |--------+----------------------| | post 1 | 2250 | | post 2 | 1500 | | post 3 | 375 | | post 4 | 525 | |--------+----------------------| | Total | 4650 | #+end_src Which results in the following. Notice that the first is a tabular. I want it to be wrapped in a table-environment. #+begin_src latex % [snip] \begin{tabular}{@{}lr@{}} \toprule Post & Beløb [\textsc{dkk}] \\ \midrule post 1 & 2250 \\ post 2 & 1500 \\ post 3 & 375 \\ post 4 & 525 \\ \hline Total & 4650 \\ \bottomrule \end{tabular} \begin{table}[htb] \caption{This is a table} \begin{center} \begin{tabular}{lr} Post & Beløb [\textsc{dkk}] \\ \hline post 1 & 2250 \\ post 2 & 1500 \\ post 3 & 375 \\ post 4 & 525 \\ \hline Total & 4650 \\ \end{tabular} \end{center} \end{table} #+end_src Thanks, Rasmus -- Sent from my Emacs