Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Cantor
Commits
dce02856
Commit
dce02856
authored
Jan 09, 2022
by
Alexander Semke
Browse files
Removed the border and reduced the margins of the LaTeX preview image.
BUG: 434812
FIXED-IN: 22.03
parent
0457cd82
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mathrendertask.cpp
View file @
dce02856
...
...
@@ -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}"
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment