emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* latex preview table environment
@ 2017-02-16 21:26 Jeremie Juste
  2017-02-16 21:52 ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Jeremie Juste @ 2017-02-16 21:26 UTC (permalink / raw)
  To: emacs-orgmode


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} 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-22 23:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-16 21:26 latex preview table environment Jeremie Juste
2017-02-16 21:52 ` Nick Dokos
2017-02-16 22:43   ` Jeremie Juste
2017-02-18  7:25   ` Jeremie Juste
     [not found]   ` <c86058037ebe440b8b6e594c4db9bd5b@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-02-18 12:38     ` Eric S Fraga
2017-02-22 23:38       ` Jeremie Juste

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).