
두 열에 가사가 인쇄되어 있고 두 열에 제목과 노래 정보가 인쇄된 노래를 갖고 싶습니다(노래 #1). \pagepreludes 명령이 그렇게 할 것이다. 그러나 이상한 레이아웃이 렌더링됩니다. 이것은 내가 원하는 출력입니다(이미지가 내가 원하는 것을 렌더링하지 않은 후의 테스트 코드). 얻는 데 도움이 필요합니다. 1) 오른쪽 열의 두 번째 절(노래 #1)을 왼쪽 열의 절 1과 정렬하고 2) 모두 넣습니다. 한 페이지에 세 곡
원하는 출력:
\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}
답변1
패키지는 songs
레이아웃(페이지 빌더)과 많은 상호 작용을 하는 것으로 보이므로 (최신) 패키지로 전환하는 것이 좋습니다 leadsheet
. "일반 라텍스 트릭 wrt 레이아웃"을 더 준수하는 것 같습니다. 주요 변경 사항:
usepackage[full]{leadsheets}
% 옵션은 설명서 참조usepackage{multicol}
% 첫 번째 노래를 신문처럼 분할하고 싶을 때- 단순화를 위해 첫 번째 노래를 2번 복사했습니다.
- 제목 설정 등에 대해서는 설명서를 참조하세요.
- 노래 1을 첫 번째 다중 열에 넣습니다.{2}
\hrule
내 눈을 즐겁게 하기 위해 넣어- 노래 2 + 3을 두 번째 다중 열에 넣습니다.{2}
추신:이 패키지는 책을 만들기 위한 것입니다. 채널을 참조하십시오. 설명서에 7.
\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}