method

convert_heading

v1_9_1_378 - Show latest stable - Class: RDoc::Markup::ToLaTeX
convert_heading(level, flow)
private

No documentation available.

# File lib/rdoc/markup/to_latex.rb, line 260
  def convert_heading(level, flow)
    res =
      case level
      when 1 then "\\chapter{"
      when 2 then "\\section{"
      when 3 then "\\subsection{"
      when 4 then "\\subsubsection{"
      else  "\\paragraph{"
      end +
      convert_flow(flow) +
      "}\n"
  end