Changeset [f9a00eda8cbf3daa9aa7befe674cc69ab11ca6b5] by Bil Kleb

March 7th, 2009 @ 06:38 AM

To accommodate non-Computer Modern LaTeX fonts.

Updated LaTeX super/subscript translation per "LaTeX 2ε for Authors," http://www.latex-project.org/gui...>

New feature 1995/06/01

In LaTeX 2.09 textual superscripts such as footnote markers were produced by internally entering math mode and typesetting the number as a math superscript. This normally looked fine since the digits in math fonts are the same as those in text fonts when Computer Modern fonts are used. But when a different document font (such as Times) is selected, the results look rather strange. For this reason the command \textsuperscript has been introduced which typesets its argument in the current text font, in a superscript position and in the correct size. http://github.com/jgarber/redclo...

Committed by Bil Kleb

  • M lib/redcloth/formatters/latex.rb
  • M test/textism.yml
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

RedCloth is a Ruby library for converting Textile into HTML

Shared Ticket Bins