歌曲包歌詞分兩欄列印,標題和歌曲訊息橫跨兩欄

歌曲包歌詞分兩欄列印,標題和歌曲訊息橫跨兩欄

我想要一首歌曲,其歌詞印在兩列中,但標題和歌曲訊息跨兩列(歌曲#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

因為 packagesongs似乎與佈局(頁面建立器)有很多交互,所以我建議切換到(較新的) package leadsheet。它似乎更符合“常規 Latex-tricks wrt 佈局”。主要變化:

  • usepackage[full]{leadsheets}% 請參閱手冊以了解選項
  • usepackage{multicol}% 因為你想讓第一首歌像報紙一樣分開
  • 為簡單起見,我只是將第一首歌複製了兩次
  • 請參閱手冊設定標題等。
  • 將歌曲 1 放入第一個多列{2}
  • 放一個\hrule只是為了取悅我的眼睛
  • 將歌曲 2 + 3 放入第二個 multicol{2}

附:該包旨在創建書籍。參見第 1 章。手冊中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}

相關內容