Sha256: 5afd8b526faf4290557e9e59eb0bcc69262e9863864c4ef932374af2de3c415f
Contents?: true
Size: 388 Bytes
Versions: 8
Compression:
Stored size: 388 Bytes
Contents
module MaRuKu; module Out; module Latex def to_latex_inline_math "$#{self.math.strip}$" end def to_latex_equation if self.label l = "\\label{#{self.label}}" "\\begin{equation}\n#{self.math.strip}\n#{l}\\end{equation}\n" else "\\begin{displaymath}\n#{self.math.strip}\n\\end{displaymath}\n" end end def to_latex_eqref "\\eqref{#{self.eqid}}" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems