Flowdock
method

convert_heading

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: SM::ToLaTeX

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

convert_heading(level, flow) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rdoc/markup/simple_markup/to_latex.rb, line 264
    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
Register or log in to add new notes.