Specific input to KLFBackend::getLatexFormula() More...
#include <klfbackend.h>
Public Member Functions | |
klfInput () | |
Public Attributes | |
QString | latex |
QString | mathmode |
QString | preamble |
unsigned long | fg_color |
unsigned long | bg_color |
int | dpi |
bool | bypassTemplate |
Specific input to KLFBackend::getLatexFormula()
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 179 of file klfbackend.h.
KLFBackend::klfInput::klfInput | ( | ) | [inline] |
A default constructor assigning default values to all fields.
Definition at line 181 of file klfbackend.h.
unsigned long KLFBackend::klfInput::bg_color |
The background color to use, in format given by qRgba(r, g, b, alpha)
.
Definition at line 201 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula(), and operator==().
If TRUE, indicates that latex
contains the whole of the latex code, it should not be included into a default document template.
In particular, if TRUE, then mathmode
and preamble
are have no effect.
This property is FALSE by default.
Definition at line 211 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula().
The dots per inch resolution of the resulting image. This is directly passed to the -r
option of the gs
program.
Definition at line 204 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula(), and operator==().
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 195 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula(), and operator==().
The latex code to render
Definition at line 183 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula(), and operator==().
The mathmode to use. You may pass an arbitrary string containing '...' . '...' will be replaced by the latex code. Examples are:
\[ ... \]
$ ... $
Definition at line 189 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula(), and operator==().
The LaTeX preample, ie the code that appears after '\documentclass{...}' and before '\begin{document}'
Definition at line 192 of file klfbackend.h.
Referenced by KLFBackend::getLatexFormula(), and operator==().