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,303 of 189,432
Downloads: 54,121

Daily

Ranking: 60,592 of 189,408
Downloads: 1

Depended by

RankDownloadsName
23,05565,542to_ascii_latex
45,80225,488indoctrinatr-tools
60,13117,621texlab

Depends on

RankDownloadsName
13,178,665,799bundler
29949,021,172rspec
176272,366,605rdoc
4,3062,093,830jeweler

Owners

#GravatarHandle
1iconcie