| Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
|
|||||
\ starts a control code. The \par control code indicates a new line, and \b switches to a bold typeface. Braces {} define a group; the example uses a group to limit the scope of the \b control code. Everything else will be treated as clear text, i.e., the text to be formatted. A valid RTF document is a group starting with the \rtf control code.
This syntax is similar to that of TeX. By using the control codes in file, a document with specific font, fontsize, or color of the texts, or tables with different border styles can be easily created, explaining its popularity among programmers.
The RTF format is the default rich text format for Mac OS X's default editor TextEdit and Microsoft Windows' default editor WordPad.