RubyGems Navigation menu

to_latex 0.5.0

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.

Versions:

  1. 0.5.0 - August 6, 2013 (7.5 KB)
  2. 0.4.0 - April 1, 2012 (7.5 KB)
  3. 0.3.1 - March 26, 2012 (7 KB)
  4. 0.3.0 - March 15, 2012 (7 KB)
  5. 0.1.0 - March 13, 2012 (6.5 KB)
Show all versions (6 total)

Authors:

  • Bernát Kalló

Owners:

7fcd298348db5d46c8d3874885051f37

Sha 256 checksum:

839ca06c3984c3c8c7215637ccd491c1feda3e592a47f0cc003731364cfd6661

Total downloads 6,934

For this version 1,443

Show all versions (6 total)

Required Ruby Version: None

License:

MIT

Gemfile:
= Copy to clipboard Copied!

install:
= Copy to clipboard Copied!

Links: