
Ich hätte gern ein Lied, bei dem der Text in zwei Spalten gedruckt ist, aber der Titel und die Liedinformationen in beiden Spalten (Lied Nr. 1). Der Befehl \pagepreludes soll das tun. Er ergibt jedoch ein seltsames Layout. Dies ist die Ausgabe, die ich möchte (der Testcode nach dem Bild ergibt nicht das, was ich möchte). Ich brauche Hilfe, um 1) die zweite Strophe in der rechten Spalte (Lied Nr. 1) oben auszurichten, während die erste Strophe in der linken Spalte steht, und 2) alle drei Lieder auf einer Seite unterzubringen
Gewünschte Ausgabe:
\documentclass[letterpaper, openany, final, twoside]{memoir}
\usepackage[lyric]{songs}
\begin{document}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit,
vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida
mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna.
Donec vehicula augue eu neque\par
\vspace{24pt}
\begin{songs}{}
\songcolumns{2}
%% page preludes yields weird page layout
{\pagepreludes{
\beginsong{Song 1}[by={Beagles}, li={licensed by no one}]
\beginverse*
On a dark desert highway
Cool wind in my hair
Warm smell of colitas
\endverse
\beginverse*
Rising up through the air
Up ahead in the distance
I saw a shimmering light
My head grew heavy and my sight grew dim
I had to stop for the night
\endverse
% no effect, unless is under multicol enviroment
%\nextcol
\beginverse*
There she stood in the doorway
I heard the mission bell
And I was thinking to myself
"This could be Heaven or this could be Hell"
Then she lit up a candle
And she showed me the way \ldots
\endverse
\endsong
%this is the end of \pagepreludes - includes only song#1
}}%
\beginsong{Song 2}[by={Money M}, li={licensed by no two}]
\beginverse*
By the rivers of babylon, there we sat down
Ye-eah we wept, when we remembered zion.
\endverse
\beginverse*
By the rivers of babylon, there we sat down
Ye-eah we wept, when we remembered zion.
\endverse
\beginverse*
When the wicked
Carried us away in captivity
Required from us a song
Now how shall we sing the lord's song in a strange land
\endverse
\endsong
\beginsong{Song 3}[by={Beagles}]
\beginverse*
On a dark desert highway
Cool wind in my hair
Warm smell of colitas
Rising up through the air
Up ahead in the distance
I saw a shimmering light
My head grew heavy and my sight grew dim
I had to stop for the night
\endverse
\beginverse*
There she stood in the doorway
I heard the mission bell
And I was thinking to myself
"This could be Heaven or this could be Hell"
Then she lit up a candle
And she showed me the way \ldots
\endverse
\endsong
\end{songs}
\end{document}
Antwort1
Da das Paket songs
viel Interaktion mit dem Layout (Seitenersteller) zu haben scheint, schlage ich vor, auf das (neuere) Paket umzusteigen leadsheet
. Es scheint mit „normalen Latex-Tricks in Bezug auf das Layout“ kompatibler zu sein. Hauptänderungen:
usepackage[full]{leadsheets}
% Optionen siehe Handbuchusepackage{multicol}
% da Sie das erste Lied wie eine Zeitung aufteilen möchten- der Einfachheit halber habe ich das erste Lied nur 2 mal kopiert
- Informationen zum Einstellen von Titeln usw. finden Sie im Handbuch.
- setze Song 1 in eine erste Multicol{2}
- setzen Sie ein
\hrule
nur, um MEINE Augen zu erfreuen - setze Song 2 + 3 in eine zweite Multicol{2}
PS:Dieses Paket ist zum Erstellen von Büchern gedacht. Siehe Kapitel 7 im Handbuch.
\documentclass[letterpaper, openany, final, twoside]{memoir}
\usepackage[full]{leadsheets} % <<< replace
\usepackage{multicol} % <<< for layout
\begin{document}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque
% \vspace{24pt}
\begin{multicols}{2}% NEW
\begin{song}{title={Song 1}}% <<< please consult the manual
% \beginsong{Song 1}[by={Beagles}, li={licensed by no one}]
\begin{verse}
On a dark desert highway
Cool wind in my hair
Warm smell of colitas
\end{verse}
\begin{verse}
Rising up through the air
Up ahead in the distance
I saw a shimmering light
My head grew heavy and my sight grew dim
I had to stop for the night
\end{verse}
% no effect, unless is under multicol enviroment
%\nextcol
\begin{verse}
There she stood in the doorway
I heard the mission bell
And I was thinking to myself
"This could be Heaven or this could be Hell"
Then she lit up a candle
And she showed me the way \ldots
\end{verse}
\end{song}
\end{multicols}
\hrule% <<< just to please MY eyes
\begin{multicols}{2}% <<< next layout section
\begin{song}{title={Song 2}}% <<< for simplicity, just copied
% \beginsong{Song 1}[by={Beagles}, li={licensed by no one}]
\begin{verse}
On a dark desert highway
Cool wind in my hair
Warm smell of colitas
\end{verse}
\begin{verse}
Rising up through the air
Up ahead in the distance
I saw a shimmering light
My head grew heavy and my sight grew dim
I had to stop for the night
\end{verse}
% no effect, unless is under multicol enviroment
%\nextcol
\begin{verse}
There she stood in the doorway
I heard the mission bell
And I was thinking to myself
"This could be Heaven or this could be Hell"
Then she lit up a candle
And she showed me the way \ldots
\end{verse}
\end{song}
\begin{song}{title={Song 3}}
% \beginsong{Song 1}[by={Beagles}, li={licensed by no one}]
\begin{verse}
On a dark desert highway
Cool wind in my hair
Warm smell of colitas
\end{verse}
\begin{verse}
Rising up through the air
Up ahead in the distance
I saw a shimmering light
My head grew heavy and my sight grew dim
I had to stop for the night
\end{verse}
% no effect, unless is under multicol enviroment
%\nextcol
\begin{verse}
There she stood in the doorway
I heard the mission bell
And I was thinking to myself
"This could be Heaven or this could be Hell"
Then she lit up a candle
And she showed me the way \ldots
\end{verse}
\end{song}
\end{multicols}% <<<
\end{document}