Arabic Poetry & Diwan Formatting

Arabic Poetry & Classical Text Formatting (Diwan Layout)

Diwan formatting is verse layout, not prose layout — misra pairing, qafiya alignment, and stanza structure built by hand, so a poem reads on the page the way it was written, not the way a Word template happened to break it.

Misra & Verse Pairing Qafiya Alignment Classical Diwan Layout Annotated & Sharh Editions
Request A Free Quote
Verse-By-VerseNot Auto-Flowed
Print & EbookStructure Preserved In Both
One FormatterOne Standard, Start To Finish

Every diwan project is handled personally by Ata Rafi, Founder and Chief Formatter — not routed to a rotating pool of freelancers.

Definition

What Is Diwan Formatting?

Diwan formatting is the layout of a collected work of Arabic poetry — a single poet's diwan, a multi-poet anthology, or a classical text republished as a critical edition. The unit of layout is the verse, not the paragraph: verse pairs (misra) are preserved as pairs, and rhyme (qafiya) lands consistently down the page instead of being reflowed as prose.

A Separate Service, Deliberately

This is not Arabic Editorial Formatting, which handles running-text structure — footnotes, cross-references, heading hierarchy — for prose. A diwan has none of that as its primary structure. Formatting one as if it were a prose manuscript is exactly what causes the verse structure to collapse.

The Actual Problem

Why Does Poetry Formatting Break in Standard Layout Tools?

Auto-Flow Strips Verse Structure

Standard word processors and self-publishing platforms treat line breaks, indentation, and spacing as cosmetic — and reflow or strip them the moment a file is converted or resized. This is a documented problem even for English-language poetry: writers formatting poetry for Kindle Direct Publishing and Draft2Digital have reported stanzas splitting across pages, indentation collapsing, and platform-side "automatic conversion tools" ignoring how a poem is actually structured, even when the manuscript looked correct in Word before upload.

What Makes Arabic Verse Layout Harder Than English Verse

Arabic-script poetry inherits every one of those problems and adds three that don't exist in Latin-script verse:

Misra PairingEach verse is written as two balanced hemistichs (misra) that must align as a pair — a line break in the wrong place turns one verse into two disconnected fragments.
Bidi Line-Break BehaviorRight-to-left text reflow doesn't break at the same points a left-to-right layout engine expects, so automatic tools built for English poetry mishandle Arabic verse differently — and often worse.
Qafiya AlignmentThe rhyming word at the end of each verse needs to land in a consistent visual position down the page; auto-justification stretches text unevenly and breaks that alignment.
Kashida JustificationArabic's letter-elongation justification method can visually distort a verse's rhythm if applied the same way it would be to a paragraph of prose — it can also cause punctuation placement problems like a dropped final period.

What This Actually Looks Like On The Page

Auto-Flowed

The verse is run through a paragraph-style template. Each misra breaks wherever the column width forces it, the two halves of a verse land on different lines with no visual pairing, and the qafiya no longer lines up down the page.

The result reads as broken prose, not a poem.
Diwan-Formatted

Each verse is laid out as one deliberate unit: the two misra held together as a pair, the qafiya aligned consistently from verse to verse, and stanza or poem breaks placed where the collection's own structure calls for them.

The verse reads as it was written — because it was placed by hand, not auto-flowed.
The Requirements

What Does Diwan Layout Actually Require?

Misra and Verse-Pair Alignment

Each verse is laid out as a matched pair of hemistichs, checked line by line so a pair never splits across a page or column break in a way that separates the two halves of one verse.

Qafiya (Rhyme) Column Consistency

The rhyming word or syllable at the end of each verse is positioned consistently down the page, so the rhyme scheme stays visually legible — not obscured by uneven auto-justification.

Stanza and Collection Structure

A single poem, a themed grouping, or a full multi-poet anthology each need their own structural treatment — poem titles, section breaks, and a table of contents that reflects how the collection is actually organized, not a flat list of untitled text blocks.

Marginalia and Sharh (Commentary) Placement

Classical diwans are often republished with sharh — line-by-line or verse-by-verse commentary. Where a manuscript includes this, the commentary is laid out distinctly from the verse itself (margin notes, footnotes, or an interleaved format) so a reader can tell at a glance which text is the poem and which is the annotation.

Scope

How Is This Different From Standard Arabic Book Formatting?

Three different text types get confused with each other constantly. Here's the actual distinction:

Text Type
Layout Unit
Where It's Handled
Diwan / Classical Poetry
Verse (Misra Pair)
This page — verse-specific layout, qafiya alignment, sharh placement.
Running Prose / Reference Work
Paragraph
See Arabic Editorial Formatting — footnotes, cross-references, heading structure.
Quranic Text
Ayah / Tashkeel-Marked Verse
See Quranic Text Formatting — tashkeel and tajweed-specific rules.
Who This Is For

Who Needs Diwan Formatting?

01

Classical Diwan Republication

Publishers producing a critical edition of a classical poet's collected works — usually with added sharh (commentary) that has to stay visually distinct from the verse itself.

02

Contemporary Poets

Authors self-publishing a new poetry collection who've already seen a KDP or Word draft mangle their line breaks and want it done right the first time.

03

Institutions & Archives

Organizations producing annotated or multi-poet anthology editions where poem-level structure and a real table of contents matter for academic or public use.

04

Translators & Editors

Editors preparing a bilingual or annotated edition where the original verse, a translation, and commentary all need to sit on the page without competing for space.

Our Process

How Does Format Fix Handle Diwan Projects?

Every verse is laid out by hand in Adobe InDesign, checked against the misra pairing and qafiya alignment of the original text — not run through an automated template built for prose. See the portfolio for examples of this kind of structural work on other Arabic-script projects.

✓
Verse-by-verse manual layout — no auto-flow, no template reflow that risks splitting a misra pair.
✓
Native-reader proofed — checked by someone who reads the verse as poetry, not just as text on a page.
✓
One formatter, one standard — the same person handles the project from first verse to last, reviewed personally by Ata Rafi, Founder and Chief Formatter.
✓
Print and ebook both checked — verse structure verified after EPUB conversion, not assumed to survive it.
Cost

Is There a Different Cost for Poetry Formatting?

Quoted On Complexity, Same As Any Project

There's no flat per-page rate for diwan formatting, same as any other project — the quote reflects the manuscript's actual complexity: verse count, whether commentary (sharh) is included, and whether it's a single poem or a full multi-poet anthology. See Pricing & Quote for what drives a quote before you ask for one.

Frequently Asked Questions

What is diwan formatting?

Diwan formatting is the layout of a collected work of Arabic poetry, where each verse is preserved as a matched misra pair with consistent qafiya (rhyme) alignment, instead of being reflowed as continuous prose.

Can you format a classical diwan with commentary (sharh)?

Yes — the verse and its sharh (commentary) are laid out as clearly distinct elements, either as margin notes, footnotes, or an interleaved format, depending on how the original text is structured.

Why does my poetry manuscript lose its line breaks when I upload it to KDP?

Self-publishing platforms auto-convert manuscripts and treat line breaks and indentation as cosmetic, often stripping or reflowing them — a documented issue for poetry generally, and one that's worse for Arabic verse because right-to-left text reflow doesn't break the same way English text does.

Is poetry formatting more expensive than regular book formatting?

Not automatically — cost depends on the manuscript's actual complexity (verse count, whether sharh/commentary is included, single poem vs. anthology), the same way any project is quoted. See Pricing & Quote.

Can you format a multi-poet anthology or diwan compilation?

Yes — anthologies are structured with clear section breaks, poem-level titles, and a table of contents reflecting how the collection is organized, rather than treated as one undifferentiated block of verses.

Do you handle Urdu poetry (ghazal, nazm) the same way?

The same verse-first approach applies. See Urdu Book Formatting for Urdu-specific typesetting, or get in touch with details about your manuscript.

Have A Diwan Or Poetry Collection To Format?

Request A Free Quote