all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vladimir Nikishkin <lockywolf@gmail.com>
To: emacs-orgmode@gnu.org
Subject: LaTeX org-mode tikz with a dark background plots with black on black
Date: Tue, 10 Sep 2019 00:14:55 +0800	[thread overview]
Message-ID: <CA+A2iZZF4tu7mvWKpuknnLiD=fYYz+PWxkTTGuTRwdgWiTfqqQ@mail.gmail.com> (raw)

Hello, everyone

I am trying to follow the example from the contributed manual:

https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-LaTeX.html#org30df2de

The code I am trying to get compiled is the following:

#+header: :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 200
#+header: :fit yes :headers '("\\usepackage{tikz}")
#+header: :buffer on
#+begin_src latex :results raw file :exports code :file test.png
  \usetikzlibrary{trees}
  \begin{tikzpicture}
    \node [circle, draw, fill=red!20] at (0,0) {1}
      child { node [circle, draw, fill=blue!30] {2}
      child { node [circle, draw, fill=green!30] {3} }
      child { node [circle, draw, fill=yellow!30] {4} }};
  \end{tikzpicture}
#+end_src

I am getting the picture, and the circles are where they should be,
but (!), the arrows are black, which makes them not really visible on
a black background. How would I either make the background white, or
(better) just make the foreground white (just for this particular
block of latex, not for export, and not even for the entire file).

The formulate like \( e = mc^2 \) are properly rendered both in Emacs
(white on black), and when exported (black on white).

Any suggestions welcome.



-- 
Yours sincerely, Vladimir Nikishkin

             reply	other threads:[~2019-09-09 16:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-09 16:14 Vladimir Nikishkin [this message]
2019-09-10  7:59 ` LaTeX org-mode tikz with a dark background plots with black on black Fraga, Eric

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

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

  git send-email \
    --in-reply-to='CA+A2iZZF4tu7mvWKpuknnLiD=fYYz+PWxkTTGuTRwdgWiTfqqQ@mail.gmail.com' \
    --to=lockywolf@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.