Pacote de músicas em ambiente Multicol

Pacote de músicas em ambiente Multicol

Estou tentando compor um programa de casamento, que inclui músicas e adoraria que isso fosse exibido em duas colunas, pois acho que fica melhor. No entanto, estou tendo muita dificuldade para fazer o songspacote funcionar bem multicole me perguntei se alguém tinha alguma idéia sobre o que eu poderia consertar para fazê-lo funcionar.

Da songsdocumentação:

http://songs.sourceforge.net/songsdoc/songs.html#sec11.5

Definir o número de colunas como zero desativa totalmente o algoritmo de construção de página. Isto pode ser útil se você quiser usar um pacote externo, como multicol ou a macro \twocolumn integrada do LaTeX, para construir páginas. Por exemplo, o seguinte configura um ambiente adequado para um livro de letras que usa \twocolumn:

No entanto, o que estou vendo acontecer é que a música está disposta na primeira página e a segunda coluna está completamente em branco – todo o texto é transferido para uma nova página.

insira a descrição da imagem aqui

Aqui está meu MWE:

\documentclass[12pt,letterpaper]{article}
\usepackage{lipsum}
\usepackage{multicol}
\usepackage[lyric]{songs}
% define new fonts
\newcommand{\fancy}{\calligra\small}
\newcommand{\block}{\sc\scriptsize}
\pagestyle{empty}

\songcolumns{0}

\begin{document}
%TODO: Update margins so this fits in one column
\begin{multicols}{2}
\begin{songs}{}
    \beginsong{How Can I Keep from Singing?}[]
    \beginverse
    My life goes on in endless song\\
    Above earth's lamentations,\\
    I hear the real, though far-off hymn\\
    That hails a new creation.
    \endverse

    \beginverse
    Through all the tumult and the strife\\
    I hear its music ringing,\\
    It sounds an echo in my soul.\\
    How can I keep from singing?
    \endverse

    \beginverse
    While though the tempest loudly roars,\\
    I hear the truth, it liveth.\\
    And though the darkness 'round me close,\\
    Songs in the night it giveth.
    \endverse

    \beginverse
    No storm can shake my inmost calm,\\
    While to that rock I'm clinging.\\
    Since love is lord of heaven and earth\\
    How can I keep from singing?
    \endverse

    \beginverse
    When tyrants tremble in their fear\\
    And hear their death knell ringing,\\
    When friends rejoice both far and near\\
    How can I keep from singing?
    \endverse

    \beginverse
    In prison cell and dungeon vile\\
    Our thoughts to them are winging,\\
    When friends by shame are undefiled
    How can I keep from singing?
    \endverse
    \endsong
\end{songs}
\subsection*{The Bride's Parents}
\lipsum
\end{multicols}
\end{document}

Responder1

O ambiente faz isso \clearpageno final, você pode desabilitar isso localmente (eu faço isso \bigskipaqui.

insira a descrição da imagem aqui

\documentclass[12pt,letterpaper]{article}
\usepackage{lipsum}
\usepackage{multicol}
\usepackage[lyric]{songs}
% define new fonts
\newcommand{\fancy}{\calligra\small}
\newcommand{\block}{\sc\scriptsize}
\pagestyle{empty}

\songcolumns{0}

\begin{document}
%TODO: Update margins so this fits in one column
\begin{multicols}{2}
\begin{songs}{}
    \beginsong{How Can I Keep from Singing?}[]
    \beginverse
    My life goes on in endless song\\
    Above earth's lamentations,\\
    I hear the real, though far-off hymn\\
    That hails a new creation.
    \endverse

    \beginverse
    Through all the tumult and the strife\\
    I hear its music ringing,\\
    It sounds an echo in my soul.\\
    How can I keep from singing?
    \endverse

    \beginverse
    While though the tempest loudly roars,\\
    I hear the truth, it liveth.\\
    And though the darkness 'round me close,\\
    Songs in the night it giveth.
    \endverse

    \beginverse
    No storm can shake my inmost calm,\\
    While to that rock I'm clinging.\\
    Since love is lord of heaven and earth\\
    How can I keep from singing?
    \endverse

    \beginverse
    When tyrants tremble in their fear\\
    And hear their death knell ringing,\\
    When friends rejoice both far and near\\
    How can I keep from singing?
    \endverse

    \beginverse
    In prison cell and dungeon vile\\
    Our thoughts to them are winging,\\
    When friends by shame are undefiled
    How can I keep from singing?
    \endverse
    \endsong
\let\clearpage\bigskip
\end{songs}
\subsection*{The Bride's Parents}
\lipsum
\end{multicols}
\end{document}

informação relacionada