public Method

ToLaTeX.init_tags

Set up the standard mapping of attributes to LaTeX

Source Code

# File rdoc/markup/simple_markup/to_latex.rb, line 54
def init_tags
  @attr_tags = [
    InlineTag.new(SM::Attribute.bitmap_for(:BOLD), l("\\textbf{"), l("}")),
    InlineTag.new(SM::Attribute.bitmap_for(:TT),   l("\\texttt{"), l("}")),
    InlineTag.new(SM::Attribute.bitmap_for(:EM),   l("\\emph{"), l("}")),
  ]
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.