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.
Required Ruby Version
None
Authors
Bernát Kalló
Versions
-
0.5.0
-
source
- 0.5.0 source August 06, 2013 (7.5 KB)
-
-
0.4.0
-
source
- 0.4.0 source April 01, 2012 (7.5 KB)
-
-
0.3.1
-
source
- 0.3.1 source March 26, 2012 (7 KB)
-
-
0.3.0
-
source
- 0.3.0 source March 15, 2012 (7 KB)
-
-
0.1.0
-
source
- 0.1.0 source March 13, 2012 (6.5 KB)
-