From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremie Juste Subject: latex preview table environment Date: Thu, 16 Feb 2017 22:26:03 +0100 Message-ID: <87k28pg74k.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceTZF-0001GN-P7 for emacs-orgmode@gnu.org; Thu, 16 Feb 2017 16:26:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ceTZA-0006zg-Qf for emacs-orgmode@gnu.org; Thu, 16 Feb 2017 16:26:21 -0500 Received: from [195.159.176.226] (port=38895 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ceTZA-0006zE-KJ for emacs-orgmode@gnu.org; Thu, 16 Feb 2017 16:26:16 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1ceTYy-00014z-J3 for emacs-orgmode@gnu.org; Thu, 16 Feb 2017 22:26:04 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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}