Тексты песен в пакете напечатаны в двух столбцах, название и информация о песне в двух столбцах

Тексты песен в пакете напечатаны в двух столбцах, название и информация о песне в двух столбцах

Я хотел бы иметь песню с текстом, напечатанным в двух столбцах, но с названием и информацией о песне в двух столбцах (Песня № 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, похоже, сильно взаимодействует с макетом (page-builder), я предлагаю перейти на (более новый) пакет leadsheet. Он, похоже, более совместим с "regular Latex-tricks wrt layout". Основные изменения:

  • usepackage[full]{leadsheets}% см. руководство для опций
  • usepackage{multicol}% так как вы хотите, чтобы первая песня была разделена как газета
  • для простоты я просто скопировал первую песню 2 раза
  • пожалуйста, обратитесь к руководству по настройке заголовков и т.п.
  • поместить Песню 1 в первый многоколоночный столбец{2}
  • положил \hruleпросто чтобы порадовать МОИ глаза
  • поместите песню 2 + 3 во второй мультиколон{2}

P.S.:Этот пакет предназначен для создания книг. См. гл. 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}

Связанный контент