# File lib/maruku/ext/math/to_latex.rb, line 8 def to_latex_equation if self.label fix_latex("\\begin{equation}\n#{self.math.strip}\n\\label{#{self.label}}\\end{equation}\n") else fix_latex("\\begin{displaymath}\n#{self.math.strip}\n\\end{displaymath}\n") end end