emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeremie Juste <jeremiejuste@gmail.com>
To: emacs-orgmode@gnu.org
Subject: latex preview table environment
Date: Thu, 16 Feb 2017 22:26:03 +0100	[thread overview]
Message-ID: <87k28pg74k.fsf@gmail.com> (raw)


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	other threads:[~2017-02-16 21:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-16 21:26 Jeremie Juste [this message]
2017-02-16 21:52 ` latex preview table environment 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k28pg74k.fsf@gmail.com \
    --to=jeremiejuste@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).