emacs-orgmode@gnu.org archives
help / color / mirror / code / Atom feed
* Creating Image White Text on Black Background
@ 2020-08-05 23:32 Christopher Dimech
2020-09-04  9:39  Bastien
From: Christopher Dimech @ 2020-08-05 23:32 UTC (permalink / raw)
To: emacs-orgmode

Am trying to have the latex image to output White Text on Black Background

Currently I have the following Code:

#+BEGIN_SRC latex :exports results :file equation.png :imagemagick yes :iminoptions -density 300
$x=\sqrt{b}$
For a spherical triangle with sides $a$, $b$, and $c$, and
opposite angles $\alpha$, $\beta$, and $\gamma$, we have:
$$\cos \alpha = -\cos \beta \cos \gamma + \sin \beta \sin \gamma \cos \alpha \quad \hbox{(Law of Cosines)}$$
and:
$$\tan {\alpha \over 2} = \sqrt{ {- \cos \sigma \cdot \cos(\sigma - \alpha)} \over {\cos (\sigma - \beta) \cdot \cos (\sigma - \gamma)}},\quad \hbox{where \sigma = {1 \over 2}(a+b+c)}$$
We also have:$$\sin x = {{e^{ix}-e^{-ix}}\over 2i}$$
and:
$$\int _0 ^\infty {{\sin ax \sin bx}\over{x^2}}\,dx % The \, above produces a thin space = {\pi a\over 2}, \quad \hbox{if a < b}$$
#+END_SRC

---------------------
Christopher Dimech
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production

^ permalink raw reply	[flat|nested] 2+ messages in thread
• * Re: Creating Image White Text on Black Background
2020-08-05 23:32 Creating Image White Text on Black Background Christopher Dimech
@ 2020-09-04  9:39  Bastien
0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2020-09-04  9:39 UTC (permalink / raw)
To: Christopher Dimech; +Cc: emacs-orgmode

Hi Christopher,

Christopher Dimech <dimech@gmx.com> writes:

> Am trying to have the latex image to output White Text on Black Background
>
> Currently I have the following Code:
>
> #+HEADER: :exports results :file equation.png
> #+BEGIN_SRC latex :exports results :file equation.png :imagemagick yes :iminoptions -density 300

May I ask what works and what does not?

--
Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-04  9:39 UTC | newest]


Code repositories for project(s) associated with this public inbox
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).`