Skip to content

Commit

Permalink
Small PDF-improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
CatoTH committed Oct 16, 2018
1 parent 374433e commit 75324c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/latex/Exporter.php
Expand Up @@ -370,7 +370,7 @@ public static function createLayoutString(Layout $layout)
*/
public static function createTextWithRightString($textMain, $textRight)
{
if ($textRight == '') {
if ($textRight === '') {
return "\\raggedright\n" . $textMain;
}

Expand All @@ -381,8 +381,9 @@ public static function createTextWithRightString($textMain, $textRight)
);
return '\setlength{\columnsep}{15mm}' . "\n" . '\begin{wrapfigure}{r}{0.28\textwidth}\small
\vspace{-0.5cm}
\raggedright
' . $textRight . '
\vspace{30cm}
\vspace{1cm}
\end{wrapfigure}
' . $textMain;
}
Expand Down

0 comments on commit 75324c6

Please sign in to comment.