Method: MaRuKu::Out::Latex#to_latex_definition
- Defined in:
- lib/maruku/output/to_latex.rb
#to_latex_definition ⇒ Object
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 |
# File 'lib/maruku/output/to_latex.rb', line 483 def to_latex_definition terms = self.terms definitions = self.definitions s = "" terms.each do |t| s +="\n\\item[#{t.children_to_latex}] " end definitions.each do |d| s += "#{d.children_to_latex} \n" end s end |