Adobe framemaker 6.0 Manuale Utente

Pagina di 323
28
ADOBE FRAMEMAKER 6.0
 Using MIF Statements
<Para
<PgfTag `1Heading'>
<Pgf
<PgfAlignment Center>
> # end of Pgf
<ParaLine
<String `This line is centered.'>
> # end of ParaLine
> # end of Para
To locally define a paragraph format, include a complete Pgf statement within the Para statement:
<Para
<Pgf
<PgfTag `2Heading'>
<PgfUseNextTag Yes >
<PgfNextTag `Body'>
<PgfAlignment Left >
<PgfFIndent
0.0">
<PgfLIndent
0.0">
...
> # end of Pgf
<ParaLine
<String `A locally formatted heading'>
> # end of ParaLine
> # end of Para
For a complete description of Pgf property statements, see page 73.
How paragraphs inherit properties
Paragraphs can inherit properties from other paragraphs in a MIF file. If a Pgf statement does not provide 
values for each paragraph property, it acquires any property values explicitly defined in a previous Pgf 
statement. Because the MIF interpreter sequentially reads MIF files, it uses the most recently defined Pgf 
statement that occurs before the current statement in the file.
For example, the following MIF code applies the default format named Body to the first paragraph in a 
document and locally overrides the paragraph font: