# File lib/maruku/output/to_latex.rb, line 502 def to_latex_div type = self.attributes[:class] id = self.attributes[:id] case type when /^un_(\w*)/ @children.shift s = "\\begin{u#{$1}}\n" s << children_to_latex s << "\\end{u#{$1}}\n" when /^num_(\w*)/ @children.delete_at(0) s = "\\begin{#{$1}}" s << "\n\\label{#{id}}\\hypertarget{#{id}}{}\n" s << children_to_latex s << "\\end{#{$1}}\n" when /^proof/ @children.delete_at(0) s = "\\begin{proof}\n" s << children_to_latex s << "\\end{proof}\n" else children_to_latex end end