emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Table captions in LaTeX export


From: Thomas S. Dye
Subject: [O] Table captions in LaTeX export
Date: Thu, 11 Jun 2015 20:12:10 -1000

Aloha all,

With this input:

,----------------------------------------------------------------------------------
| #+begin_margintable                                                           
   
| #+name: tab:eg                                                                
   
| #+attr_latex: :float nil :booktabs t :center nil :caption \caption{Example 
table}
| | First | Second |                                                            
   
| |-------+--------|                                                            
   
| | One   | Two    |                                                            
   
| | Three | Four   |                                                            
   
| #+end_margintable                                                             
   
`----------------------------------------------------------------------------------

On export to LaTeX, I get this, which lacks a caption and a label:

,--------------------
| \begin{margintable}
| \begin{tabular}{ll}
| \toprule           
| First & Second\\   
| \midrule           
| One & Two\\        
| Three & Four\\     
| \bottomrule        
| \end{tabular}      
| \end{margintable}  
`--------------------

It would be good to have :caption and label honored, even when :float
nil, like this:

,--------------------------------------
| \begin{margintable}                  
| \caption{Example table\label{tab:eg}}
| \begin{tabular}{ll}                  
| \toprule                             
| First & Second\\                     
| \midrule                             
| One & Two\\                          
| Three & Four\\                       
| \bottomrule                          
| \end{tabular}                        
| \end{margintable}                    
`--------------------------------------

Is this possible?

All the best,
Tom
-- 
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]