LaTeX forum ⇒ Text FormattingLinebreaks in verse environment

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Sekantombi
Posts: 21
Joined: Mon Apr 21, 2008 3:50 am

Linebreaks in verse environment

Postby Sekantombi » Thu Feb 05, 2009 2:08 am

I'm sure there's something I'm missing, but I'm trying to create blank lines between sections of verse and my distribution won't buy it. I have tried empty lines with '\\', '\newline' and '\linebreak', and get back the message 'There's no line here to end' and\or nothing (no empty line).

Any suggestions?

S.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Postby gmedina » Thu Feb 05, 2009 2:31 am

How about using the \vspace command or the optional argument of the \\ comand?. Take a look at the following example:
  1. \documentclass{article}
  2.  
  3. \begin{document}
  4.  
  5. \begin{verse}
  6. There was an old party of Lyme \\
  7. Who married three wives at one time. \\
  8. When asked: ‘Why the third?’ \\
  9. He replied: ‘One’s absurd, \\
  10. And bigamy, sir, is a crime.’\\[10em]
  11.  
  12. There was an old party of Lyme \\
  13. Who married three wives at one time. \\
  14. When asked: ‘Why the third?’ \\
  15. He replied: ‘One’s absurd, \\
  16. And bigamy, sir, is a crime.’
  17. \end{verse}
  18.  
  19. \newpage
  20.  
  21. \begin{verse}
  22. There was an old party of Lyme \\
  23. Who married three wives at one time. \\
  24. When asked: ‘Why the third?’ \\
  25. He replied: ‘One’s absurd, \\
  26. And bigamy, sir, is a crime.’\\
  27.  
  28. \vspace{2cm}
  29.  
  30. There was an old party of Lyme \\
  31. Who married three wives at one time. \\
  32. When asked: ‘Why the third?’ \\
  33. He replied: ‘One’s absurd, \\
  34. And bigamy, sir, is a crime.’
  35. \end{verse}
  36. \end{document}

By the way, the verse package could be of interest to you.
1,1,2,3,5,8,13,21,34,55,89,144,233,...

Sekantombi
Posts: 21
Joined: Mon Apr 21, 2008 3:50 am

Postby Sekantombi » Thu Feb 05, 2009 3:46 am

Thanks — this looks good.

I realised can also use \bigskip et cetera (rusty on LaTeX) — but I will look at the Verse package.

Vspace looks good: flexible.

S.

Valium
Posts: 1
Joined: Wed Jan 13, 2021 4:37 am

Postby Valium » Wed Jan 13, 2021 4:47 am

I did try same as you Sekantombi \{ldots}
and took me a 'wee' time to figure it out (rightfully ! ;P).

Last line should omit \\ to get the blank line

Could be as 'simple' as this;

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass{article}
  2.  
  3. \begin{document}
  4.  
  5. \begin{verse}
  6. There was an old party of Lyme \\
  7. Who married three wives at one time. \\
  8. When asked: ‘Why the third?’ \\
  9. He replied: ‘One’s absurd, \\
  10. And bigamy, sir, is a crime.’
  11.  
  12. There was an old party of Lyme \\
  13. Who married three wives at one time. \\
  14. When asked: ‘Why the third?’ \\
  15. He replied: ‘One’s absurd, \\
  16. And bigamy, sir, is a crime.’
  17. \end{verse}
  18.  
  19. \newpage
  20.  
  21. \begin{verse}
  22. There was an old party of Lyme \\
  23. Who married three wives at one time. \\
  24. When asked: ‘Why the third?’ \\
  25. He replied: ‘One’s absurd, \\
  26. And bigamy, sir, is a crime.’
  27.  
  28. There was an old party of Lyme \\
  29. Who married three wives at one time. \\
  30. When asked: ‘Why the third?’ \\
  31. He replied: ‘One’s absurd, \\
  32. And bigamy, sir, is a crime.’
  33. \end{verse}
  34. \end{document}
Last edited by cgnieder on Wed Jan 13, 2021 8:10 pm, edited 1 time in total.
Reason: added code formatting


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 6 guests