private Method

ToLaTeX.convert_heading(level, flow)

There's no documentation for this item.

Source Code

# File 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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.