How to structure and style large poetic productions
The presentation of poems can take various styles and forms. Unlike prose, the structure of a poem adds additional meaning through indentations, line breaks, caesuras, spacing, and even the shape of the text. Here is a guide to help with some of poetry’s less intuitive formatting.
Table of Contents
-
Splitting files
Unlike prose, short poems are not placed in individual files like chapters. The rule of thumb is to split poetic productions by the highest-level division(s) possible. A production can result in a single collections file of an author’s short poems or multiple files for longer poetic works, like long narrative poems, that have main divisions.
A single collections file
For most poetry collections, they utilize a single collections file that contains all of an author’s short poems, ordered by date of publication. If the collection is made up of multiple books, you don’t need to group the poems by the books’ titles. This file is named
poetry.xhtml
and has a<title>
element with the valuePoetry
.Multiple files
In the world of poetry, long narrative poems are a unique form of expression that often use books or cantos as the main divisions, serving a similar purpose to chapters in a novel. These divisions are placed in their own individual files. These files have both
chapter
andz3998:poem
semantics. -
Unusual formatting
Poetry is a diverse art form that offers a wide range of distinctive types, each with its own unique visual appeal. In fact, poetry can take on various unconventional formats that add to its artistic charm. Below are some uncommon formatting styles you may come across while producing a poetry production.
Verse paragraphs
In poetic composition, some authors opt to use stanzas of varying length. While traditional poetry forms such as sonnets and haikus have a set structure, free verse poetry allows poets to experiment with different stanza lengths. To visually differentiate between stanzas, some poets choose to remove the blank space between them and instead indent the first line of each subsequent stanza (excluding the first stanza). This technique serves a similar function to paragraphs in prose.
With a clever CSS selector, you don’t need to add the
i1
class to each stanza. To remove spacing between stanzas, delete[epub|type~="z3998:poem"] p + p{ margin-top: 1em; }
that’s provided by the SEMoS.Caesuras
In poetry, a caesura is a pause or break in a verse that marks the end of one phrase and the beginning of another. This pause can be expressed by a large space and is used by poets to create a rhythmic effect in their work.
In the files, wrap each phrase in a
<span>
element inside of the<span>
element that represents the complete verse line.Dropped lines
A dropped line is a stylistic technique in which a single line of verse is divided into two or three distinct phrases. This technique is similar to the use of caesuras, although it differs in that the breaks do not appear in every line, and the phrases themselves are separated by line breaks rather than a large space.
When dealing with two separate phrases, the parent
<span>
has aclass="dl2"
attribute.In the rare case that a line is broken into three phrases, the parent
<span>
has aclass="dl3"
attribute.