#include <klfbackend.h>
Public Attributes | |
QString | latex |
QString | mathmode |
QString | preamble |
unsigned long | fg_color |
unsigned long | bg_color |
int | dpi |
This struct descibes the input of getLatexFormula(), ie. the LaTeX code, the mathmode to use, the dpi for rendering png, colors etc.
Definition at line 152 of file klfbackend.h.
QString KLFBackend::klfInput::latex |
The latex code to render
Definition at line 153 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
QString KLFBackend::klfInput::mathmode |
The mathmode to use. You may pass an arbitrary string containing '...' . '...' will be replaced by the latex code. Examples are:
\[ ... \]
$ ... $
Definition at line 154 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
QString KLFBackend::klfInput::preamble |
The LaTeX preample, ie the code that appears after '\documentclass{...}' and before '\begin{document}'
Definition at line 159 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
unsigned long KLFBackend::klfInput::fg_color |
The foreground color to use, in format given by qRgb(r, g, b)
. You may not specify an alpha value here, it will be ignored.
Definition at line 161 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
unsigned long KLFBackend::klfInput::bg_color |
The background color to use, in format given by qRgba(r, g, b, alpha)
.
(E)PS and PDF formats can't handle transparency.
Definition at line 163 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
The dots per inch resolution to use to render the image. This is directly passed to the -r
option of the gs
program.
Definition at line 167 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().