Formatting

A powerful formatting language developed specifically for this application allows you to format your posts without knowledge of HTML. This formatting language is easy for both HTML users and non-HTML users to learn quickly. There are examples after each major section.

Contents


Introduction to Formatting


Text Formatting


Simple Features

Tag Description Example
\b{Your Text} Bold Text Your Text
\i{Your Text} Italics Text Your Text
\+{Your Text} Superscript Text [Reference]Your Text
\-{Your Text} Subscript Text [Reference]Your Text
\fixed{Your Text} Fixed Width Text Your Text
\u{Your Text} Underlined Text Your Text
\c{Your Text} Centered Text
Your Text


Examples

Input:    \b{Show me some bold} and \i{italics text}.
Output:    Show me some bold and italics text.
 
Input:    H\-{2}O has a density of 1.000x10\+{-3} kg/mL.
Output:    H2O has a density of 1.000x10-3 kg/mL.


Colors

Tag Description Example
\red{Your Text} Red Text Your Text
\orange{Your Text} Orange Text Your Text
\yellow{Your Text} Yellow Text Your Text
\green{Your Text} Green Text Your Text
\cyan{Your Text} Cyan Text Your Text
\blue{Your Text} Blue Text Your Text
\purple{Your Text} Purple Text Your Text
\white{Your Text} White Text Your Text
\gray{Your Text} Gray Text Your Text
\black{Your Text} Black Text Your Text


Example

Input:    \red{Red} and \green{green} are pretty colors.
Output:    Red and green are pretty colors.

Text Size

Tag Description Example
\2{Your Text} Largest (size +2 text) Your Text
\1{Your Text} Large (size +1 text) Your Text
\0{Your Text} Average (size +0 text) Your Text
\-1{Your Text} Smaller (size -1 text) Your Text
\-2{Your Text} Smallest (size -2 text) Your Text


Example

Input:    \2{You} \1{can} \0{size} \-1{your} \-2{text}.
Output:    You can size your text.

Miscellaneous

Tag Description Example
\greek{Your Text} Greek (symbol) text Your Text
\strike{Your Text} Strikethrough Your Text
\blink{Your Text} Blinking text Your Text
\rgb{Hex_code,Your Text} Color text by hex code Your Text: aaaa00 color
\font{Font_face,Your Text}* Font face Your Text
\char{ASCII code} Character (0-255) Ê (ASCII code=202)
\indent{Your text} Indented (blockquoted)
Your text
\quote{Your text} Quoted
Quote:
Your text

* = see note about escaping commas under "Special Characters"

Examples

Input:    \rgb{5aaa7c,This is a strange color}.
Output:    This is a strange color.
 
Input:    \font{Times New Roman,This is in a different font}.
Output:    This is in a different font.
 
Input:    \font{Comic Sans MS\,Tahoma,Note the escaped comma here}.
Output:    Note the escaped comma here.

Special Characters


Other Formatting


Mathematical Notation

Tag Description Example Tag Output
\sum{lower, upper} Sum using sigma notation \sum{i=1,10} i Si=110 i
\int{lower, upper} Definite Integral \int{0,6} x dx ò06 x dx

Example

Input:    \int{0,2\greek{p}} sin(x) dx = 0
Output:    ò02p sin(x) dx = 0


Hyperlinks

Code Description
\link{URL, text description} Link to URL with text description
\topurl{URL, text description} Link to URL in top frame with text description
\newurl{URL, text description} Link to URL in new window with text description
\mail{address, text description} "mailto" link to address with text description

Example

Input:    To learn more about this \green{FREE} discussion board program, visit the \topurl{http://mulliken.chem.hope.edu/discus,Discus Home Page}.
Output:    To learn more about this FREE discussion board program, visit the Discus Home Page.


Images, Attachments, and Clipart

Tag Description
\image{Text description} Upon posting, you are prompted for an image file to upload. Images must be either GIF or JPEG format. Images must be saved on your hard disk. Your browser must support form-based file upload (Netscape Navigator 2.0+ and Internet Explorer 4.0+ support this; IE 3.02 will also work provided that you have installed the file upload patch).
\clipart{Clipart File Name} Inserts clipart (see index)

Example

Input:    This is a picture of me: \image{my picture} and I smile like this: \clipart{smile}.
Output:    This is a picture of me: my picture and I smile like this: smile.

Note that the "Your Image Here" graphic is replaced by the image file that you upload.


Tables and Lists

You can hand-enter tables or you can paste in tables directly from a tab-delimited spreadsheet (such as Microsoft Excel). See the "Pasting Tables" instructions if you are pasting a table directly from Excel.

Tag Description
\table{Table Items} Creates a table of the Table Items (table HAS a border)
\tablenb{Table Items} Creates a table of the Table Items (table has NO border)
\list{List Items} Creates a bulleted list of the List Items
\olist{List Items} Creates an ordered (numbered list of the List Items)

Table Items and List Items

The Table Items are divided into columns by commas and into rows by newline characters (carriage returns). Thus, the entry \table{1,2,3} would create a table with three columns (with entries "1", "2", and "3").

The List Items are separated by newline characters (carriage returns). Each List Item is given a bullet.

See the examples for further explanation.

Pasting Tables

You can paste in tables from tab-delimited spreadsheets such as Microsoft Excel. To paste a table, do the following:

Examples

Input:    \table{X,O,X
O,X
O,,X}
Output:   
X O X
O X
O X
 
Input:    \list{List Item 1
List Item 2
List Item 3}
Output:   
  • List Item 1
  • List Item 2
  • List Item 3
 
Input:    \table{1,2\ch{br}2.5,3
4,\ch{nbsp},6
7,8,9\,000}
Output:   
1 2
2.5
3
4   6
7 8 9,000


Frequently Made Mistakes



Copyright © 2000, DiscusWare, LLC, all rights reserved