emacs-orgmode
[Top][All Lists]
Advanced

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

[O] latex preview table environment


From: Jeremie Juste
Subject: [O] latex preview table environment
Date: Thu, 16 Feb 2017 22:26:03 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Hello,

I would like to preview easily latex table environment. I noticed that
org-toggle-latex-fragment shows the latex-preview for the tabular
environment but not for the table environment.

Would it be possible to find a to do that?
I tried to tweak org-latex-options in the following way in the hope
that the org-format latex would use only the tabular environment but it
did not work as expected. 

 (setq org-format-latex-options '(:foreground default :background default 
:scale 1.4 :html-foreground "Black" :html-background "Transparent" :html-scale 
1.0 :matchers ("begin{.*[^table]}" "end{.*[^le]}" "$1" "$" "$$" "\\(" "\\[")))


Do you have any suggestions?

Best wishes,
Jeremie


\begin{center}                                                                  
                                                                            
  \begin{tabular}{ l | c | r }                                                  
                                                                            
    \hline                                                                      
                                                                            
    1 & 2 & 3 \\ \hline 
    4 & 5 & 6 \\ \hline 
    7 & 8 & 9 \\                                                                
                                                                            
    \hline                                                                      
                                                                            
  \end{tabular}                                                                 
                                                                            
\end{center} 



\begin{table}
\begin{center}                                                                  
                                                                            
  \begin{tabular}{ l | c | r }                                                  
                                                                            
    \hline                                                                      
                                                                            
    1 & 2 & 3 \\ \hline 
    4 & 5 & 6 \\ \hline 
    7 & 8 & 9 \\                                                                
                                                                            
    \hline                                                                      
                                                                            
  \end{tabular}                                                                 
                                                                            
\end{center} 
\end{table} 






reply via email to

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