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: 23,991 of 180,717
Downloads: 51,266
Daily
Ranking: 44,356 of 180,709
Downloads: 6
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
21,703 | 59,185 | to_ascii_latex |
44,090 | 22,817 | indoctrinatr-tools |
57,588 | 15,957 | texlab |
Owners
# | Gravatar | Handle |
---|---|---|
1 | cie |