* Creating Image White Text on Black Background
@ 2020-08-05 23:32 Christopher Dimech
2020-09-04 9:39 ` Bastien
0 siblings, 1 reply; 2+ messages in thread
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:
#+HEADER: :exports results :file equation.png
#+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
Chief Administrator - Naiad Informatics - GNU Project (Geocomputation)
- Geophysical Simulation
- Geological Subsurface Mapping
- Disaster Preparedness and Mitigation
- Natural Resource Exploration and Production
- Free Software Advocacy
^ 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]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-05 23:32 Creating Image White Text on Black Background Christopher Dimech
2020-09-04 9:39 ` Bastien
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).