Commit dce02856 authored by Alexander Semke's avatar Alexander Semke
Browse files

Removed the border and reduced the margins of the LaTeX preview image.

BUG: 434812
FIXED-IN: 22.03
parent 0457cd82
......@@ -24,8 +24,10 @@ static const QLatin1String mathTex("\\documentclass%9{minimal}"\
"\\usepackage[utf8]{inputenc}"\
"\\usepackage[active,displaymath,textmath,tightpage]{preview}"\
"\\usepackage{color}"\
"\\setlength\\PreviewBorder{0pt}"\
"\\begin{document}"\
"\\begin{preview}"\
"\\setlength{\\fboxsep}{0.2pt}"\
"$"\
"\\colorbox[rgb]{%1,%2,%3}{"\
"\\color[rgb]{%4,%5,%6}"\
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment