Is there any package in LaTeX available to typeset poems. I referred this link Typesetting poems but it didn't help me out!!!!

  • You have many of them: verse, gmverse, eledmac, .... – karlkoeller Feb 15 '14 at 5:40
  1. Standard LaTeX provides a basic verse environment.

  2. Here's an example (from the documentation) using the verse package:

    \nopagebreak{\raggedleft\footnotesize #1\par}}
    \settowidth{\versewidth}{Than Tycho Brahe, or Erra Pater:}
    In mathematics he was greater \\
    Than Tycho Brahe, or Erra Pater: \\
    For he, by geometric scale, \\
    Could take the size of pots of ale;\\ \settowidth{\versewidth}{Resolve by}
    Resolve, by sines \\>[\versewidth] and tangents straight, \\
    If bread or butter wanted weight; \\
    And wisely tell what hour o’ the day \\
    The clock does strike, by Algebra.
    \attrib{Samuel Butler (1612--1680)}

    enter image description here

  3. An example using poemscol:

    \sequencetitle{Kentucky Mountain Farm}
    \sequencefirstsectiontitle{I. Rebuke of the Rocks}
    Now on you is the hungry equinox,\verseline
    \index{Now on you is the hungry equinox}
    O little stubborn people of the hill,\verseline
    \accidental{hill,] \sameword--- {\em Nation,\/} {\em Literary Digest\/}
    \sameword, {\em Vanderbilt\/} (I include the reading
    from {\em Vanderbilt\/}
    even though it is the same as in TSP, because
    {\em Vanderbilt\/} was published
    after the other magazine versions but before TSP.)}
    The season of the obscene moon whose pull\verseline
    Disturbs the sod, the rabbit, the lank fox,\verseline
    Moving the waters, the boar’s dull blood,\verseline
    And the acrid sap of the ironwood.\end{stanza}
    But breed no tender thing among the rocks.\verseline
    Rocks are too old under the mad moon,\verseline
    \accidental{old\missingpunct] \sameword, {\em Vanderbilt\/}}
    Renouncing passion by the strength that locks\verseline
    The eternal agony of fire in stone.\end{stanza}
    Then quit yourselves as stone and cease\verseline
    \accidental{stone\missingpunct] \sameword, {\em Vanderbilt\/}}
    To break the weary stubble-field for seed;\verseline
    Let not the naked cattle bear increase,\verseline
    Let barley wither and the bright milkweed.\verseline
    \accidental{milkweed.] milk-weed. {\em Vanderbilt\/}}
    Instruct the heart, lean men, of a rocky place\verseline
    That even the little flesh and fevered bone\verseline
    May keep the sweet sterility of stone.\end{stanza}

    enter image description here

  4. The memoir document class offers built-in functionalities to write poems. Refer to Section 14 Poetry of the memoir manual.

  5. The section Poetry and Drama on CTAN offers other possibilities.


Separating and numbering stanzas in verse environment

Verses are frequently numbered (so, as an additional note to the first part of Gonzalo Medina's answer) you can find buried in the manual verses.pdf this explanation:

Within the verse environment, the macro \\ must be used at the end of each line of a verse, except for the last line in each stanza. If the lines in a poem are to be numbered then \\! must be used at the end of the last line in each stanza (the \\ macro increments the line numbers).


  \nopagebreak{\vspace{2ex}\raggedleft #1\par}}

\poemtitle{Crossing the Bar}

Sunset and evening star, \\
  And one clear call for me! \\
And may there be no moaning of the bar, \\
  When I put out to sea, \\!

But such a tide as moving seems asleep, \\
  Too full for sound and foam, \\
When that which drew from out the boundless deep \\
  Turns again home. \\!

Twilight and evening bell, \\
  And after that the dark! \\
And may there be no sadness of farewell, \\
  When I embark; \\!

For tho' from out our bourne of Time and Place \\
  The flood may bear me far, \\
I hope to see my Pilot face to face \\
  When I have cross'd the bar. \\

\attrib{Alfred, Lord Tennyson (1809\textendash 1892)}


Crossing the Bar

Here I could leave out the last !, but if there was a fifth verse, its numbering would be messed up by that.

  • Just a note: you can use -- instead of \textendash if you would like. – Sean Allred Aug 2 '14 at 19:03
  • Yes, @Sean Allred, I've checked, and 1809--1892 does give exactly the same output. – JosephHarriott Aug 2 '14 at 19:43

Koma script includes a verse enviroment, working just as the verse package.

  • 4
    Please, can you provide to add a further explanations adding also a MWE? – Sebastiano Apr 1 '18 at 19:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.