It is not recommended to use the double dollar symbol `$$` to set displayed math [1][2].
[1] http://en.wikibooks.org/wiki/LaTeX/Mathematics
[2] http://www.math.uiuc.edu/~hildebr/tex/displays.html
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
}
my $tex = $config{teximg_prefix};
- $tex .= '$$'.$code.'$$';
+ $tex .= '\['.$code.'\]';
$tex .= $config{teximg_postfix};
$tex =~ s!\\documentclass{article}!\\documentclass[${height}pt]{article}!g;
$tex =~ s!\\documentclass{scrartcl}!\\documentclass[${height}pt]{scrartcl}!g;