From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremie Juste Subject: Re: latex preview table environment Date: Thu, 23 Feb 2017 00:38:08 +0100 Message-ID: <87shn523vj.fsf@gmail.com> References: <87k28pg74k.fsf@gmail.com> <87vas9ztuf.fsf@alphaville.usersys.redhat.com> <877f4n1xnx.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cggUM-0006Sc-9I for emacs-orgmode@gnu.org; Wed, 22 Feb 2017 18:38:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cggUH-0000uO-Kk for emacs-orgmode@gnu.org; Wed, 22 Feb 2017 18:38:26 -0500 Received: from [195.159.176.226] (port=50768 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cggUH-0000ty-DB for emacs-orgmode@gnu.org; Wed, 22 Feb 2017 18:38:21 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cggU8-0007sg-UJ for emacs-orgmode@gnu.org; Thu, 23 Feb 2017 00:38:12 +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, Eric S Fraga writes: > When I switched my colour theme to one with a dark background, I found I > had to set org-format-latex-options to > > '(:background default :foreground default) > '(:background default :foreground default) work for be as well. > actually specifying colours did not seem to work for me. I had as far as I can tell the following setting works for me. but I need to remove the table environment for the foreground to turn blue (in this case). may be modifying the table after changing the color might help. I always fall in this trap. (setq org-format-latex-options '(:foreground "blue" :background "gray" :scale 1.4)) \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} Best wishes, Jeremie