PDF Page Layout

In the <Style | PDF Page Layout> menu, you can create a layout for a PDF file.

The <PDF Page Layout> menu is only visible to a user with the “Create Style” role.

What is a PDF Page Layout?

The PDF Theme is used to decorate the contents prepared in editor while the PDF Page Layout determines the frame that the contents will be inserted into. Considering the paper size and the margin set in the PDF Page Layout, you can determine the whole width that will be occupied by the contents1.

In addition, the title page can be decorated and the left/right page’s header and footer can be set as well as the layout for the first page of a chapter(chapter title location and styles).

To summarize, the PDF Page Layout can be used to the following tasks.

Creating the PDF Page Layout

You can create the PDF Page Layout in the following order.

  1. Go to the <Style | PDF Page Layout> menu.

  2. Click on the <Create PDF Page Layout> link.

  3. Enter the basics in the input form and click on the <Save> button.

Editing the PDF Page Layout

Once the content is changed, the <Save Now> button is activated. You must click on this button to save the changes that you have made.

Paper Setting

Paper and Margin

The following types of paper can be selected.

Paper Types

Type

Width

Height

Letter

21.59 cm

27.94 cm

Legal

21.00 cm

35.56 cm

Executive

18.41 cm

26.67 cm

A3

29.70 cm

42.00 cm

A4

21.00 cm

29.70 cm

A5

14.80 cm

21.00 cm

A user can set the page width and height to desirable values.

Once you create the PDF Page Layout, the default setting is made for A4.

Margin Setting

You can set the margin between the edge of paper and the actual location of content.

Top

Margin from the top. The default is 2.54 cm.

Bottom

Margin from the bottom. The default is 2.54 cm.

Inside

For the left page, it means the right side margin and for the right page, it means the left side margin. The default is set to 1.91 cm.

Outside

For the left page, it means the left side margin and for the right page, it means the right side margin. The default is set to 1.91 cm.

If you subtract the both side margins from the paper width, you get the width of content.

Selecting a Page Type

You can create the layout for the following page types.

Selecting a Pager Type

Every page type has the same paper size and margin.

Left Page

It is an even numbered page. But it is not applicable to the title page, the first page and the empty page.

Right Page

It is an odd numbered page. But it is not applicable to the title page, the first page and the empty page.

Half Title Page

It is a page with page number i and usually consists on the title only.

Title Page

It is a page with page number iii and it consists of the title, the subtitle, the edition and the author information.

Chapter First Page

It means the first page of a “chapter” type chapter.

Part First Page

It means the first page of a “part” type chapter.

Appendix First Page

It is the first page of an “appendix” type chapter.

Front Matter First Page

First page of a “front matter” type chapter excluding the title.

Back Matter First Page

It is the first page of a ”back matter” chapter excluding the appendix.

You don’t have to decorate all page types. For instance, if you do not use a part or appendix chapter, then you don’t have to decorate the first pages of a part or appendix.

Decorating a Page

Each page is decorated with text, horizontal lines, vertical lines and figures.

Adding Text

If you want to add text, you need to drag the    icon from the upper right corner to your page.

If you want to change your text, double click on an text item. You can use the following keywords on text. Keywords are replaced with actual values when building a PDF.

PDF Page Layout Keywords

Keyword

Description

${title}

Book title

${subtitle}

Book subtitle

${edition}

Book edition

${author}

Book author

${chapter}

Chapter title

${chapter_n}

Chapter number

${chapter_subtitle}

Chapter subtitle

${chapter_author}

Chapter author

${part}

Part title

${part_n}

Part number

${appendix}

Appendix title

${appendix_n}

Appendix number

${heading}

Heading 1 content

${heading_n}

Heading 1 number

${p}

Page number

${year}

Year of build

${month}

Month of build

${day}

Date of build

${hour}

Hour of build

${minute}

Minute of build

If you use keywords, you need to adequately set the text item width by considering the text that will be replaced with.

Adding Horizontal Lines

If you want to add a horizontal line, then drag and drop the icon from the upper right corner to your page.

Adding Vertical Lines

If you want to add a vertical line, then drag and drop the   icon from the upper right corner to your page.

Adding Figures

If you want to insert a figure, then drag and drop the  icon from the upper right corner to your page.

You can’t change the figure size.

Keyboard Shortcuts

When editing the PDF Page Layout, you can use the following shortcuts.

PDF Page Layout Shortcuts

Windows

Linux

Mac

Descriptions

Ctrl + C

Ctrl + C

Command + C

Copying a selected item.

Ctrl + V

Ctrl + V

Command + V

Pasting a selected item.

Delete

Delete

Delete

Deleting a selected item.

Up

Up

Up

Moving a selected item to 1px higher.

Down

Down

Down

Moving a selected item to 1px lower.

Left

Left

Left

Moving a selected item to the left by 1px.

Right

Right

Right

Moving a selected item to the right by 1px.

Preview

In the <Preview> panel on the left side, you can select a book and PDF Theme to preview the PDF Page Layout ahead of time.

The <Preview> panel will be visible only if no item is yet selected.

PDF Page Layout Preview


  1. You are not allowed to set the element width in Theme.