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: 24,687 of 182,901
Downloads: 51,719
Daily
Ranking: 38,928 of 182,889
Downloads: 1
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
22,092 | 60,623 | to_ascii_latex |
44,587 | 23,417 | indoctrinatr-tools |
58,372 | 16,292 | texlab |
Owners
# | Gravatar | Handle |
---|---|---|
1 | cie |