<sect1 id="page-format"> <title>Formatting the Page</title> <para>Before delving into the specifics of formatting a page in &kword;, remember that &kword; has two seperate types of documents: Text Oriented and Page Layout. Please review <link linkend="wp-vs-dtp">The difference between Text Oriented and Page Layout Documents</link>, if the differences are still unclear.</para> <para>This section of the manual is divided into two sub-parts, one for <link linkend="wp-page-format">Text Oriented</link>, the other for <link linkend="dtp-page-format">Page Layout</link>.</para> <sect2 id="wp-page-format"> <title> Formatting the Page (Text Oriented Document)</title> <para>When you are working with a Text Oriented Document, you control the size and shape of the main frame by setting the paper size and the margins. </para> <para>Formatting the page is usually done by selecting: <menuchoice> <guimenu>Format</guimenu><guimenuitem>Page...</guimenuitem></menuchoice> from the menu bar.</para> <tip> <para>You can also go straight to the <guimenuitem>Format Page</guimenuitem> options by selecting the main frame of the document then double clicking on either of the rulers.</para> </tip> <para>A dialog box will appear with three tabs, labeled <guilabel>Format and Borders</guilabel>, <guilabel>Columns</guilabel> and <guilabel>Header and Footer</guilabel>.</para> <para>The <guilabel>Format and Borders</guilabel> tab is for altering the paper size, and changing the margins.</para> <screenshot> <mediaobject> <imageobject> <imagedata fileref="wpfmtpg1.png" format="PNG"/></imageobject> </mediaobject> </screenshot> <para>First you will notice, that a preview box appears on the right half of this dialog. This will <emphasis>approximate</emphasis> the final look of your document. It is updated with each change, and should be used as a guide for your changes. </para> <para>On the left, the dialog displays the current unit of measurement. This unit of measurement is the same unit of measurement you use for your document rulers. (In this example, we are using inches.) To change the units, follow the instructions in the section entitled <link linkend="rulers">Using Rulers</link>.</para> <para>The dialog section labled <guilabel>Page Format</guilabel> is used to specify the paper size for the document. </para> <para>&kword; includes many predefined paper sizes. Select the appropriate paper size with the drop down box labled <guilabel>Format</guilabel>.</para> <para>In addition to standard paper sizes, there are two selections that deserve special mention.</para> <variablelist> <varlistentry> <term><guilabel>Screen</guilabel></term> <listitem><para>This format is used to generate a document where each page has an <link linkend="defaspectratio">aspect ratio</link> (shape) which matches the aspect ratios of computer monitors. This might be useful for documents which will never be printed, but will appear only on a computer screen.</para></listitem> </varlistentry> <varlistentry> <term><guilabel>Custom</guilabel></term> <listitem><para>You can select this option to specify a unique paper size.</para> <para>Once selected, two text entry boxes (labeled <guilabel>Width</guilabel> and <guilabel>Height</guilabel>) become active. Enter the height and width of your desired paper size in these text boxes.</para></listitem> </varlistentry> </variablelist> <para>Next to the paper format, in the drop-down box labeled <guilabel>Orientation</guilabel> you can select either <link linkend="defportrait">Portrait</link> or <link linkend="deflandscape">Landscape</link> layout for your document. </para> <para>Below the page format options, is the Page Borders Options, which consists of 4 entry boxes labeled (<guilabel>Right</guilabel>, <guilabel>Left</guilabel>, <guilabel>Top</guilabel> and <guilabel>Bottom</guilabel>).</para> <para>The <guilabel>Page Borders</guilabel> (aka Margins), define the white-space surrounding the text in your main frame. You can enter any number from 0 to the maximum size of the page in these boxes. The units are the same for all four boxes, and is the same as the measurement listed at the top of the dialog..</para> <para>Clicking on the <guilabel>Columns</guilabel> tab allows you to change the number of columns on each page. Details on multi-column documents can be found <link linkend="columns">here</link>.</para> <para>Clicking on the <guilabel>Header and Footer</guilabel> tab allows the user to specify header and footer information. </para> <screenshot> <mediaobject> <imageobject> <imagedata fileref="wpfmtpg3.png" format="PNG"/></imageobject> </mediaobject> </screenshot> <para>This dialog can be broken into two major sections, with each section being divided in to smaller divisions.</para> <para>If you are not familiar with Headers and Footers yet, you should first read the section entitled <link linkend="headers-and-footers">Headers/Footers</link></para> <para><emphasis>Headers</emphasis></para> <para>This section lets you determine the placement of headers, and which pages have which headers on them.</para> <para>In the text box labeled <guilabel>Spacing between header and body</guilabel>, you can specify how much empty space should be placed between the bottom of the header, and the top of the main frame.</para> <para>You are also presented with three options. You must choose one:</para> <itemizedlist> <listitem> <para><guilabel>Same header for all pages</guilabel> - If you select this option, all pages, even or odd, including the first page, will have the same headers. This is the default.</para> </listitem> <listitem> <para><guilabel>Different header for first page</guilabel> - If you select this option, the first page will use a different header than the other pages. After the first page, all pages have use the same header</para> </listitem> <listitem> <para><guilabel>Different header for even and odd pages</guilabel> - If you select this option, the even pages will use one header, the odd pages use another header. You can use this to ensure the page numbers are always on the outside of the page, or to list the title of the document on odd pages and the chapter number on the even pages.</para> </listitem> </itemizedlist> <para><emphasis>Footers</emphasis></para> <para>This section lets you determine the placement of footers, and which pages have which footers on them.</para> <para>In the text box labeled <guilabel>Spacing between footer and body</guilabel>, you can specify how much empty space should be placed between the top of the footer, and the bottom of the main frame.</para> <para>You are also presented with three options. You must choose one:</para> <itemizedlist> <listitem> <para><guilabel>Same footer for all pages</guilabel> - If you select this option, all pages, even or odd, including the first page, will have the same footer. This is the default.</para> </listitem> <listitem> <para><guilabel>Different footer for first page</guilabel> - If you select this option, the first page will use a different footer than the other pages. After the first page, all pages have use the same footer</para> </listitem> <listitem> <para><guilabel>Different footer for even and odd pages</guilabel> - If you select this option, the even pages will use one footer, the odd pages use another footer. </para> </listitem> </itemizedlist> <para>When you are satisfied with the changes you are ready to make, click <guibutton>OK</guibutton>.</para> <para>If you click <guibutton>Cancel</guibutton>, all your changes will be ignored.</para> </sect2> <sect2 id="dtp-page-format"> <title> Formatting the Page (Page Layout Template)</title> <para>When you are working with a Page Layout Template, you control the size and shape of all the frames individually. </para> <para>Formatting the page is usually done by selecting: <menuchoice> <guimenu>Format</guimenu><guimenuitem>Page...</guimenuitem></menuchoice> from the menu bar.</para> <tip> <para>You can also go straight to the <guimenuitem>Format Page</guimenuitem> options by selecting the a frame of the document then double clicking on either of the rulers.</para> </tip> <para>A dialog box will appear with two tabs, labeled <guilabel>Format and Borders</guilabel> and <guilabel>Header and Footer</guilabel>.</para> <para>The <guilabel>Format and Borders</guilabel> tab is for altering the paper size, and changing the margins.</para> <screenshot> <mediaobject> <imageobject> <imagedata fileref="dtpfmtpg1.png" format="PNG"/></imageobject> </mediaobject> </screenshot> <para>First you will notice, that a preview box appears on the right half of this dialog. This will <emphasis>approximate</emphasis> the final look of your document. It is updated with each change, and should be used as a guide for your changes. </para> <para>On the left, the dialog displays the current unit of measurement. This unit of measurement is the same unit of measurement you use for your document rulers. (In this example, we are using inches.) To change the units, follow the instructions in the section entitled <link linkend="rulers">Using Rulers</link>.</para> <para>The dialog section labled <guilabel>Page Format</guilabel> is used to specify the paper size for the document. </para> <para>&kword; includes many predefined paper sizes. Select the appropriate paper size with the drop down box labled <guilabel>Format</guilabel>.</para> <para>In addition to standard paper sizes, there are two selections that deserve special mention.</para> <variablelist> <varlistentry> <term><guilabel>Screen</guilabel></term> <listitem><para>This format is used to generate a document where each page has an <link linkend="defaspectratio">aspect ratio</link> (shape) which matches the aspect ratios of computer monitors. This might be useful for documents which will never be printed, but will appear only on a computer screen.</para></listitem> </varlistentry> <varlistentry> <term><guilabel>Custom</guilabel></term> <listitem><para>You can select this option to specify a unique paper size.</para> <para>Once selected, two text entry boxes (labeled <guilabel>Width</guilabel> and <guilabel>Height</guilabel>) become active. Enter the height and width of your desired paper size in these text boxes.</para></listitem> </varlistentry> </variablelist> <para>Next to the paper format, in the drop-down box labeled <guilabel>Orientation</guilabel> you can select either <link linkend="defportrait">Portrait</link> or <link linkend="deflandscape">Landscape</link> layout for your document. </para> <para>Below the page format options, is the Page Borders Options, which consists of 4 entry boxes labeled (<guilabel>Right</guilabel>, <guilabel>Left</guilabel>, <guilabel>Top</guilabel> and <guilabel>Bottom</guilabel>).</para> <para>The <guilabel>Page Borders</guilabel> (aka Margins), define the white-space surrounding the text in your main frame. You can enter any number from 0 to the maximum size of the page in these boxes. The units are the same for all four boxes, and is the same as the measurement listed at the top of the dialog..</para> <para>Clicking on the <guilabel>Header and Footer</guilabel> tab allows the user to specify header and footer information. </para> <screenshot> <mediaobject> <imageobject> <imagedata fileref="dtpfmtpg2.png" format="PNG"/></imageobject> </mediaobject> </screenshot> <para>This dialog can be broken into two major sections, with each section being divided in to smaller divisions.</para> <para>If you are not familiar with Headers and Footers yet, you should first read the section entitled <link linkend="headers-and-footers">Headers/Footers</link></para> <para><emphasis>Headers</emphasis></para> <para>This section lets you determine the placement of headers, and which pages have which headers on them.</para> <para>In the text box labeled <guilabel>Spacing between header and body</guilabel>, you can specify how much empty space should be placed between the bottom of the header, and the top of the main frame.</para> <para>You are also presented with three options. You must choose one:</para> <itemizedlist> <listitem> <para><guilabel>Same header for all pages</guilabel> - If you select this option, all pages, even or odd, including the first page, will have the same headers. This is the default.</para> </listitem> <listitem> <para><guilabel>Different header for first page</guilabel> - If you select this option, the first page will use a different header than the other pages. After the first page, all pages have use the same header</para> </listitem> <listitem> <para><guilabel>Different header for even and odd pages</guilabel> - If you select this option, the even pages will use one header, the odd pages use another header. You can use this to ensure the page numbers are always on the outside of the page, or to list the title of the document on odd pages and the chapter number on the even pages.</para> </listitem> </itemizedlist> <para><emphasis>Footers</emphasis></para> <para>This section lets you determine the placement of footers, and which pages have which footers on them.</para> <para>In the text box labeled <guilabel>Spacing between footer and body</guilabel>, you can specify how much empty space should be placed between the top of the footer, and the bottom of the main frame.</para> <para>You are also presented with three options. You must choose one:</para> <itemizedlist> <listitem> <para><guilabel>Same footer for all pages</guilabel> - If you select this option, all pages, even or odd, including the first page, will have the same footer. This is the default.</para> </listitem> <listitem> <para><guilabel>Different footer for first page</guilabel> - If you select this option, the first page will use a different footer than the other pages. After the first page, all pages have use the same footer</para> </listitem> <listitem> <para><guilabel>Different footer for even and odd pages</guilabel> - If you select this option, the even pages will use one footer, the odd pages use another footer. </para> </listitem> </itemizedlist> <para>When you are satisfied with the changes you are ready to make, click <guibutton>OK</guibutton>.</para> <para>If you click <guibutton>Cancel</guibutton>, all your changes will be ignored.</para> </sect2> </sect1>