Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using

\begin{verse}
.....
\end{verse}

and I have a problem splitting it across pages. The verse environment is leaving half a page blank. How can I spread verse across multiple pages. I learned that for tables we use longtable, is there such a thing for verse as well?

Here is the edited message

Lt. Tara came back in a trice fetching that litter of the dead, getting it carried by gritty and suitable
Vanara-s. [4-25-21]


\begin{verse}      
दिव्याम् भद्र आसन युताम् शिबिकाम् स्यंदन उपमम् |           \\
 पक्षि कर्मभिः आचित्राम् द्रुम कर्म विभूषिताम् || ४-२५-२२           \\

 अचिताम् चित्र पत्तीभिः सुनिविष्टाम् समंततः |           \\
 विमानम् इव सिद्धानाम् जाल वात आयान आयुताम् || ४-२५-२३           \\

 सुनियुक्तानाम् विशालाम् च सुकृताम् शिल्पिभिः कृतात् |           \\
 दारु पर्वतकोपेताम् चारु कर्म परिष्कृताम् || ४-२५-२४           \\

 वर आभरण हारैः च चित्र माल्य उपशोभिताम् |           \\
 गुहागहन संच्छन्नाम् रक्त चन्दन भूषिताम् || ४-२५-२५           \\

 पुष्प ओघैः समभिच्छन्नाम् पद्म मालाभिः एव च |           \\
 तरुण आदित्य वर्णाभिः भ्राजमानभिः आवृताम् || ४-२५-२६
  \end{verse}
share|improve this question
3  
I did a quick test, and the contents of my verse environment split nicely across pages. Therefore, please add a minimal working example (MWE) that illustrates your problem. –  lockstep Sep 20 '11 at 19:47
    
I am using begin/end verse. I am attaching the output to show the blank page its leaving. docs.google.com/… let me know if this helps –  Aku Sep 20 '11 at 22:21
1  
Don't show the output -- show the input. –  lockstep Sep 20 '11 at 22:22
1  
Please see the link that lockstep is referring to. We need a compilable example that reproduces the problem to be able to diagnose the problem. –  Peter Grill Sep 20 '11 at 22:52
1  
@Aku: The files you provided do not compile for me. You need to produce a minimal working example. Take your existing file and reduce it down until it still produces the problem, and everything that can be removed has been removed. Often this will help you solve your own problem (has worked for me many times). –  Peter Grill Sep 22 '11 at 2:56
show 5 more comments

1 Answer

up vote 5 down vote accepted

Examining your input, it's clear that you aren't using the verse environment, but a Verse environment that you're defining yourself and that uses features from the varwidth package thus building an indivisible unit.

You can modify the definition of this environment as

\newenvironment{Verse}
  {\singlespacing\longtable{@{}c@{}}}
  {\endlongtable}

Blank lines in the input will not leave an empty line, but it will be sufficient to add a \\ instead. A better way would be to use \stopstanza to end a stanza, where the command is defined as

\newcommand{\stopstanza}{\\[\normalbaselineskip]}

In order to avoid a page break between verses, use \\*.

Lt. Tara came back in a trice fetching that litter of the dead, getting it carried by gritty and suitable
Vanara-s. [4-25-21]


\begin{Verse}      
दिव्याम् भद्र आसन युताम् शिबिकाम् स्यंदन उपमम् |           \\
 पक्षि कर्मभिः आचित्राम् द्रुम कर्म विभूषिताम् || ४-२५-२२           \stopstanza

 अचिताम् चित्र पत्तीभिः सुनिविष्टाम् समंततः |           \\
 विमानम् इव सिद्धानाम् जाल वात आयान आयुताम् || ४-२५-२३           \stopstanza

 सुनियुक्तानाम् विशालाम् च सुकृताम् शिल्पिभिः कृतात् |           \\
 दारु पर्वतकोपेताम् चारु कर्म परिष्कृताम् || ४-२५-२४           \stopstanza

 वर आभरण हारैः च चित्र माल्य उपशोभिताम् |           \\
 गुहागहन संच्छन्नाम् रक्त चन्दन भूषिताम् || ४-२५-२५           \stopstanza

 पुष्प ओघैः समभिच्छन्नाम् पद्म मालाभिः एव च |           \\
 तरुण आदित्य वर्णाभिः भ्राजमानभिः आवृताम् || ४-२५-२६
 \end{Verse}
share|improve this answer
    
My requirement was to have the verse at the enter but left justified. Verse environment did not do the center. I could not do that and asked here and got the answer to define verse environment and it worked but later it gave this problem of starting from new page. I am new to TeX writing. I am working with a document which has 24k verses. –  Aku Sep 26 '11 at 17:20
    
Here is the difference in the output since I can not attach the output image here, I uploaded to my google docs Here is the link docs.google.com/… –  Aku Sep 29 '11 at 17:03
    
@Aku Don't use a blank line to separate stanzas, but \stopstanza instead of \\. –  egreg Sep 29 '11 at 17:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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