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.

How can I have on poem in two different languages written such that in one language it is on the left page and in the other language it is on the right side. Since I have several poems I would like to have in that small book, I thought of the memoir class. Is there something available to do this?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

For that you can use the babel package (indeed you should). In the preamble, put this:

\usepackage[french,english]{babel}

The last one is the one that will be active later. When you need to change the language, use \selectlanguage. For example, in your case the most direct (but not best) way to do it may be:

 \selectlanguage{english}
 \Large{My poem in english}
 Blablablabla,\\
 Blablablabla,\\
 Blablablabla,\\
 Blablablabla,

 Blablablabla,\\
 Blablablabla,\\
 Blablablabla,\\
 blablablabla...

 \newpage

 \selectlanguage{french}
 \Large{My poem in french}
 Blablablabla,\\
 blablablabla...

 \newpage

That should do the trick.

And for the actual poem... well, the best thing (at least the easiest) is to use the memoir class as you said. Look here for examples. If you need something even more advanced, look here. Just remember to put \selectlanguage before each poem to change the language.

share|improve this answer
    
This doesn't really work. What I'm looking for is a consequent way having left page in one language and the right page in the other. I tried your example, if one poem from one language is larger than one page than it floats the rest to the next page where the other language should be. –  adnc Mar 4 '11 at 12:33
1  
So what you really want is to merge two documents, one page per document. The "manual" way to do it will be to directly see how many lines can fit in a page, and then split alternatively the poems. If I figure out a way to do that automatically I'll come back and tell you. –  Víctor Pimentel Mar 5 '11 at 18:11
    
Pimentel I did not start setting the book, but I did investigate into the above package called parallel. Parallel also has a disadvantage since you need to write the whole poem into the argument of a command, which is bad if you have long text spread over several pages. –  adnc Mar 7 '11 at 16:24
    
@adnc It seems very interesting, and I think it solves a big part of your problem. Although it is a little awkward to write the poem in one argument, it should be no problem to work with several paragraps, just remember to close it at the end. Now there is time to experiment with that package ;) –  Víctor Pimentel Mar 7 '11 at 19:15
add comment

I found out that the parallel package is also an option to solve two languages on every page.

share|improve this answer
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.