Rich Text Format

The Rich Text Format (often abbreviated to RTF) is a document file format that has been continually developed by Microsoft since 1987 for cross-platform document interchange. Most word processors are able to read and write RTF documents. Unlike most of the word processing formats, RTF is human-readable.

Sample RTF document

As an example, the following RTF code:
  {\rtf  Hello!\par  This is some {\b bold} text.\par  } 
would be rendered like this when read by an appropriate word processor:
Hello!
This is some bold text.
A backslash (\) starts an RTF control code. The \par control code indicates a new line, and \b switches to a bold typeface. Braces ({ and }) 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, or the text to be formatted. A valid RTF document is a group starting with the \rtf control code.

Background and supported character sets

The syntax of RTF documents is similar to that of TeX. RTF documents can be written using any of the 7- or 8-bit character sets. The most common of these include ASCII, Windows-1252, ISO 8859-1, Code page 437, and MacRoman.

Common implementations

The RTF format is the default rich text format for Mac OS X's default editor TextEdit. The WordPad editor at one point created RTF files by default. Though it still can view and edit RTF files, it now uses the Microsoft Word file format by default. The open-source editor AbiWord, which is common on Unix-like platforms that implement the X Window System and GTK, can also edit RTF files. These different programs do not however create files that are completely compatible with each other.

See also

External links

     
RTF

 

<< PreviousWord BrowserNext >>
russell crowe
real number
robert musil
geography of russia
demographics of russia
politics of russia
economy of russia
communications in russia
transportation in russia
foreign relations of russia
military of russia
railway mail service
rail transport
refreshable braille display
regular expression
red dwarf
regex
regular language
reference work
roger casement
real irish republican army
roy chapman andrews
republic of china
rugby league
sport rowing
runequest
robert e. lee
raster graphics
rotational delay
rerun
router
routing
rip
resistor
republicanism
repetitive strain injury
robertson davies
rna
russian revolution of 1917
raven software
rna world hypothesis
ribosome
real time computing
ruby programming language