Commits

alex...@cpc2-swin4-0-0-cust587.brhm.cable.ntl.com  committed 3ba9fe5

Added multi line formula support using \begin{align*} \end{align*} tag. AM

  • Participants
  • Parent commits c439586

Comments (0)

Files changed (1)

File lib/LaTeXRender.pm

     $string .= "\\usepackage{amssymb}\n";
     $string .= "\\pagestyle{empty}\n";
     $string .= "\\begin{document}\n";
-    $string .= "\$" . $latex_formula . "\$\n";
+    $string .= "\\begin{align\*}" . $latex_formula . "\\end{align\*}\n";
     $string .= "\\end{document}\n";
 
     return $string;