[HOME] jsMath (Examples) [Prev][Up]

Warning: jsMath requires JavaScript to process the mathematics on this page.
If your browser supports JavaScript, be sure it is enabled.

Examples of Extensions to TeX


Hypertext references:
    \href{link}{mathematics}
\lim_{x\to0} {\sin x\over x} \href{extensions-a.html}{=} 1

Colored text:
    \color{color}{mathematics}
\color{red}{R} + \color{green}{G} + \color{blue}{B} \qquad \color{#FFAA33}{\sqrt{x^2+1}}

Bounding boxes:
    \bbox[color,extra-space]{mathematics}
    \bbox[border:CSS-border-specification]{mathematics}
\bbox[yellow,2pt]{\bbox[#AA80FF,2pt]{x+1}\over 1-x^2} + \int_0^1 \bbox[border:2px green dotted,2pt]{x^2+2x\,\strut}\,dx

Applying CSS styles:
    \style{CSS-styles}{mathematics}
1 \over \style{background-color: #FFEEAA; padding: 0 2 0 4}{x^2} + 1

Applying CSS classes:
    \class{CSS-class-name}{mathematics}
\sqrt{1-y\over \lower2pt{\class{framed}{\,x^2 + 1\,}}}

Access to any unicode character:
    \unicode{code-point}, e.g. \unicode{x211A}
n\in\unicode{x2124}\qquad a \mathrel{\unicode{x22B1}} b \qquad {\unicode{x0919} + 1\over 1 - \unicode{x092D}^2}


SourceForge.net Logo [HOME] jsMath web pages
Created: 14 Mar 2004
Last modified: 07 May 2006 22:45:54
Comments to: dpvc@union.edu
[Up] Examples of jsMath
[Prev] Examples from the TeXbook (Chapter 18, Commutative Diagram)