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.

Gemfile:
=

安裝:
=

版本列表:

  1. 0.5.0 August 06, 2013 (7.5 KB)
  2. 0.4.0 April 01, 2012 (7.5 KB)
  3. 0.3.1 March 26, 2012 (7.0 KB)
  4. 0.3.0 March 15, 2012 (7.0 KB)
  5. 0.1.0 March 13, 2012 (6.5 KB)
顯示所有版本(共 6)

Development 相依性套件 (4):

bundler >= 0
jeweler >= 0
rdoc >= 0
rspec >= 0

擁有者:

作者:

  • Bernát Kalló

SHA 256 總和檢查碼:

=

總下載次數 51,794

這個版本 36,760

版本发布:

授權:

MIT

Ruby 版本需求:

相關連結: