Add special layout instructions

You can tweak the design and layout of specific paragraphs, sections, or wrappers in your book by adding special instructions to your Word file, called processing instructions.

After you’ve converted your manuscript for the first time, you’ll receive a new Word file with all of the special Hederis styles applied. (See “Fine-tune Word Styles” for more information on working with Word styles.) We have an extra style just for adding these design and layout instructions: “HED Processing instruction”.

To add your processing instructions:

  1. Find the paragraph that you want to customize the design of, and insert a new paragraph after it (place your cursor at the end of the paragraph, and then press enter).

  2. In your new paragraph, type the code for the type of instruction you’re adding, and then type an equals sign, and then type the code for the special design instruction. See the end of this section for a list of all of these codes. For example, if you want a paragraph to be centered instead of left-aligned, your text would look like this:

  3. Finally, make sure your cursor is still in the new paragraph, and then open the Styles pane. Scroll to find the HED Processing instruction style name and click on it; this will apply it to your new paragraph.

You can apply a processing instruction to an entire section by inserting the processing instruction paragraph after the appropriate section start paragraph (see “Add a Section”), and to a box by inserting the processing instruction paragraph after either the wrapper start or end paragraph (see “Add a Wrapper”).

Processing Instruction codes:

Code

Possible values

Notes

Documentation

IMAGE-SIZE

fullbleed

In the print file, this will create a fullbleed image that will fill an entire page and bleed area. See Images for more info.

See “Include full-page images in the PDF

STYLE

Any valid CSS property/value combination (see this reference)

See “Customize the design of specific paragraphs, wrappers, or sections

FORMAT

ebook, print

Display a certain paragraph, wrapper, or section only in the ebook or PDF file. Default value is “both”.

See “Include content only in the PDF or EPUB

GLOBAL STYLE

Any valid CSS property/value combination (see this reference). Also supports the “SCOPE-BODY” option.

To add custom design formatting to an entire group of elements (for example, to add a border around every extract in the entire book).

See “Customize the design of an entire group of paragraphs, wrappers, or sections

ATTRS

The name and value of one or more HTML attributes. Multiple attributes should be separated by a semi-colon. Also supports the “SCOPE-BODY” option.

You can use predefined HTML attributes, or make up your own attributes that start with the “data-” prefix.

See “Add custom HTML attributes

Have a suggestion for other types of instructions you might include? Email us! help@hederis.com