Rtf syntax



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

Section Formatting Properties

The following control words are used to specify section formatting properties. Default values are shown in parentheses.




Control word

Meaning

\sectd

Reset to default section properties

\sbknone

No section break

\sbkcol

Section break starts new column

\sbkpage

Section break starts new page (default)




Control word

Meaning

\sbkeven

Section break starts at even page

\sbkodd

Section break starts at odd page

\pgnstartsn

Beginning page number (1)

\pgncont

Continuous page numbering (default)

\pgnrestart

Page numbers restart at \pgnstarts value

\pgndec

Page number format is decimal

\pgnucrm

Page number format is uppercase roman numeral

\pgnlcrm

Page number format is lowercase roman numeral

\pgnucltr

Page number format is upper case Ietter

\pgnlcltr

Page number format is lower case letter

\pgnxn

Page number is n twips from Ieft margin (720)

\pgnyn

Page number is n twips from bottom margin ( 720)

\headeryn

Header is n twips from top of page (1080)

\footeryn

Footer is n twips from bottom of page (1080)

\linemodn

Line number modulus (amount to increase each line number) (1)

\linexn

Distance from line number to left text margin in twips (360)

\linestartsn

Beginning line number (1)

\linerestart

Line numbers restart at \linestarts value

\lineppage

Line numbers restart each page

\linecont

Line numbers continued from preceding section

\vertalt

Text is top aligned (default)

\vertal

Text is bottom aligned

\vertalc

Text is centered vertically

\vertalj

Text is justified vertically

\colsn

Number of columns (snaking) (1)

\colsxn

Space between columns in twips (720)

\linebetcol

Line between columns

\endnhere

Endnotes included in section

\titlepg

Title page has special format



Paragraph Formatting Properties

The following control words are used to specify paragraph formatting properties. Default values are shown in parentheses. When specifying border properties, the border segment control word (\brdrt, \brdrb, \brdrl, \brdrr, or \box) must precede the control word(s) specifymg the pattern for the border, to ensure compatibility with previous versions of RTF.




Control word

Meaning

\pard

Resets to default paragraph properties

\sn

Designates style; if a style is specified style properties must be specified with the paragraph

\ql

Left aligned (default)




Control word

Meaning

\qr

Right aligned

\qj

Justified

\qc

Centered

\fin

First-line indent (0)

\lin

Left indent (0)

\rin

Right indent (0)

\sbn

Space before (0)

\san

Space after (0)

\sln

Space between lines (if this control word is missing or if \sl000 is used, line spacing is automatically determined by tallest character in line); if positive value, use this size if it is greater than the tallest character, otherwise use tallest character; if negative value, use the absolute value of number, even if tallest character is taller

\intbl

Paragraph is part of a table

\keep

Keep paragraph intact

\keepn

Keep paragraph with next

\sbys

Side-by-side paragraphs

\pagebb

Break page before the paragraph

\noline

No line numbering

\txn

Tab position in twips from left margin

\tqr

Flush-right tab

\tqc

Centered tab

\tqdec

Decimal tab

\tb

Bar tab

\brdrt

Border top

\brdrb

Border bottom

\brdrl

Border left

\brdrr

Border right

\box

Border around paragraph (box paragraph)

\brdrs

Single-thickness border

\brdrth

Thick border

\brdrsh

Shadowed border

\brdrdb

Double border

\brdrdot

Dotted border

\brdrhair

Hairline border

\brspn

Space in twips between borders and object

\tldot

Leader dots

\tlhyph

Leader hyphens

\tlul

leader underline

\tlth

leader thick line



1   2   3   4   5   6


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

    Main page