Categories: None [Edit]

to_latex

https://rubygems.org/gems/to_latex
https://github.com/cie/to_latex
Adds #to_latex to integers and strings. Works like html_safe in Rails, it escapes special characters as needed. Once converted, a string becomes a ToLatex::LatexString instance, with #latex? returning true, and never again will be escaped. You can concatenate any escaped or not escaped string to an escaped one, they get properly escaped. This gem powers texerb.

Total

Ranking: 26,878 of 193,188
Downloads: 54,839

Daily

Ranking: 44,235 of 193,154
Downloads: 6

Depended by

RankDownloadsName
23,47766,996to_ascii_latex
46,41825,952indoctrinatr-tools
60,79117,955texlab

Depends on

RankDownloadsName
13,439,241,904bundler
29982,808,292rspec
165306,832,994rdoc
4,3152,219,725jeweler

Owners

#GravatarHandle
1iconcie