Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#72 Make only variables italic in math

open
Edward Loper
Epytext (19)
5
2007-11-04
2007-11-04
Martin Geisler
No

I would like the inline math markup to only make variable names italic. In particular, parenthesis and numbers should not be italic:

M{(a + b)} => (<i>a</i> + <i>b</i>)

It would be extra cool if standard function names like log, sin, cos, tan, and exp were recognized and left alone:

M{log(a)} => log(<i>a</i>)

Discussion