emacs-orgmode
[Top][All Lists]

Creating Image White Text on Black Background

 From: Christopher Dimech Subject: Creating Image White Text on Black Background Date: Thu, 6 Aug 2020 01:32:19 +0200

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