Subscript and Superscript
#1
Simple Mycode for formating text, mostly used in formulas.

Subscript

Title: Subscript
Description: Lowers the given text.
Regular Expression:
\[sub\](.*?)\[/sub\]

Replacement:
<sub>$1</sub>

Syntax:
[sub]Subscripted Text[/sub]

Demo: http://betarelease.net/showthread.php?ti...132#pid132



Superscript

Title: Superscript
Description: Raises the given text.
Regular Expression:
\[sup\](.*?)\[/sup\]

Replacement:
<sup>$1</sup>

Syntax:
[sup]Superscripted Text[/sup]

Demo: http://betarelease.net/showthread.php?ti...132#pid132
Reply


Messages In This Thread
Subscript and Superscript - by RPicard - 2009-12-18, 07:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)