Categories: None [Edit]
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: 25,973 of 187,622
Downloads: 53,546
Daily
Ranking: 46,288 of 187,603
Downloads: 6
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 22,898 | 64,236 | to_ascii_latex |
| 45,559 | 25,026 | indoctrinatr-tools |
| 59,767 | 17,321 | texlab |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | cie |