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: 26,253 of 188,987
Downloads: 54,056
Daily
Ranking: 36,412 of 188,969
Downloads: 6
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
| Rank | Downloads | Name |
|---|---|---|
| 23,020 | 65,345 | to_ascii_latex |
| 45,748 | 25,431 | indoctrinatr-tools |
| 60,075 | 17,574 | texlab |
Owners
| # | Gravatar | Handle |
|---|---|---|
| 1 | cie |