emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jeremie Juste <jeremiejuste@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: latex preview table environment
Date: Thu, 23 Feb 2017 00:38:08 +0100	[thread overview]
Message-ID: <87shn523vj.fsf@gmail.com> (raw)
In-Reply-To: 877f4n1xnx.fsf@ucl.ac.uk

Hello,

Eric S Fraga <e.fraga@ucl.ac.uk> 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

      reply	other threads:[~2017-02-22 23:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=87shn523vj.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).