Rtf syntax



Download 154.15 Kb.
Page3/6
Date conversion29.04.2016
Size154.15 Kb.
1   2   3   4   5   6

Footnotes

The group containing footnote text begins with the control word \footnote. Footnotes are anchored to the character that immediately precedes the footnote group. If automatic footnoting is defined, the group can be preceded by a footnote reference character, identified by the control word \chftn.


The following is an example of a group containing footnotes
\ftnbj\ftnrestart\sectd \linemod0\linex0\endnhere \pard\plain \ri1170 \fs20 {\up6 Mead's landmark study has been amply annotated.\chftn

(footnote \pard\plain \s246 \fs20 {\up6\chftn }See Sahlins, Bateson, and Geertz for a complete bibliography.}

It was her work in America during the Second World War, however, that forms the basis for this paper. As others have noted, \chftn

{\footnote \pard\plain \s246 \fs20 {\up6\chftn}

A complete bibliography will be found at the end of this chapter.} this period was a turning point for Margaret Mead.

\par
Mead's landmark study has been amply annotated.1 It was her work in America during the Second World War. however. that forms the basis for this paper. As others have noted2 this period was a turning point for Margaret Mead.


1See Sahlins, Bateson, and Geertz for a complete bibliography.

2A complete bibliography will be found at the end of this chapter.
A Footnotes
See "Section Formatting Properties," "Document Formatting Properties," and "Special Characters" later in this document for other control words relating to footnotes.

Annotations

The group containing annotation text begins with the control word \*\annotation. Annotations are anchored to the character that immediately precedes the annotation group. The group must be preceded by an annotation reference character, identified by the control word \chatn, which itself must be preceded by a group that begins with the control word \*\atnid, and contains the identification text for the author of the annotation.


An example of annotation text follows
É
An example of a paradigm might be Newtonian physics or Darwinian biology.{\v\fs16{\atnid bz}\chatn{\annotation

\pard\plain \s224 \fs20 {\field{\fldinst page \\#"'Page '#'\line"'}{\fldrslt}}{\fs16 \chatn }

How about some examples that deal with social science? That's what this paper is about.}}

É

Headers and Footers

Headers and footers are treated as separate groups in RTF. These groups must precede the first plain text character in the given document section. The control words \header and \footer begin these groups.
Headers and footers can be defined for each section. If none is defined for a given section, the headers and footers from the previous section (if any) are used.
The control words \header and \footer can be replaced by the following control words, as appropriate


Control word

Meaning

\headerl

Header on left pages only

\headerr

Header on right pages only

\headerf

Header on first page only

\footerl

Footer on left pages only

\footerr

Footer on right pages only

\footerf

Footer on first page only



Information

The RTF file can also contain an information group, which is translated but not displayed with the text. This information can include the title, author, key words, comments, and other information specific to the file. This information can be used when a document management utility is available.


This group begins with the control word \info. Some applications, such as Word, ask a user to type this docurnent information when saving the document in native format. When the document is then saved or translated into RTF, the RTF writer specifies this information using the following control words. These control words are destinations, and should be enclosed in braces ({}).


Control word

Meaning

\title

Title of document

\subject

Subject of document

\author

Author of document

\operator

Person who last made changes to document

\keywords

Selected key words for document

\comment

Comments; text is ignored

\version

Version number of document

\doccomm

Comments displayed in Edit Summary Info dialog box

The RTF writer may automatically enter other control words, as shown in the following list




Control word

Meaning

\vernn

Internal version number

\creatim

Creation time

\revtim

Revision time

\printim

Last print time

\buptim

Backup time

\edminsn

Total editing time (in minutes)

\yrn

Year

\mon

Month

\dyn

Day

\hrn

Hour

\minn

Minute

\nofpagesn

Number of pages

\nofwordsn

Number of words

\nofcharsn

Number of characters

\idn

Internal ID number

Entries without the n parameter have the \yr \mo \dy \hr \min format. An example of an information group follows.


{\info{\title The Panda's Thumb}{\author Stephen J. Gould}{\keywords science natural history }}

1   2   3   4   5   6


The database is protected by copyright ©essaydocs.org 2016
send message

    Main page