class
Importance_1
v1_8_6_287 - Show latest stable - 0 notes - Superclass: Object

Convert <a href="/ruby/SM/SimpleMarkup">SimpleMarkup</a> to basic LaTeX report format

Constants

LESSTHAN = "#{DL}<#{DL}"

GREATERTHAN = "#{DL}>#{DL}"

BACKSLASH = "#{BS}symbol#{OB}92#{CB}"

HAT = "#{BS}symbol#{OB}94#{CB}"

BACKQUOTE = "#{BS}symbol#{OB}0#{CB}"

TILDE = "#{DL}#{BS}sim#{DL}"

BS = "\020"

CB = "\022"

DL = "\023"

LIST_TYPE_TO_LATEX = { ListBase::BULLET => [ l("\\begin{itemize}"), l("\\end{itemize}") ], ListBase::NUMBER => [ l("\\begin{enumerate}"), l("\\end{enumerate}"), "\\arabic" ], ListBase::UPPERALPHA => [ l("\\begin{enumerate}"), l("\\end{enumerate}"), "\\Alph" ], ListBase::LOWERALPHA => [ l("\\begin{enumerate}"), l("\\end{enumerate}"), "\\alph" ], ListBase::LABELED => [ l("\\begin{description}"), l("\\end{description}") ], ListBase::NOTE => [ l("\\begin{tabularx}{\\linewidth}{@{} l X @{}}"), l("\\end{tabularx}") ], }

InlineTag = Struct.new(:bit, :on, :off)

Attributes

Show files where this class is defined (1 file)
Register or log in to add new notes.