Skip to content

Commit dbd1ef4

Browse files
committed
Display the output of latexcell to the top left position of the cell
1 parent 9e4ed5c commit dbd1ef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMNotebook/OMNotebookGUI/latexcell.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ void LatexCell::eval()
12481248
// check for number of pages tex script generates
12491249
if(setpage==true)
12501250
{
1251-
process->start("dvipng",QStringList() << Dvi << "-o" << Png);
1251+
process->start("dvipng",QStringList() << "-T" << "tight" << Dvi << "-o" << Png);
12521252
process->waitForFinished();
12531253
QFileInfo checkpng(Png);
12541254
if(!checkpng.exists())

0 commit comments

Comments
 (0)