
Estoy intentando componer un programa de bodas, que incluye canciones y me encantaría mostrarlo en dos columnas, ya que creo que se ve mejor. Sin embargo, me está costando muchísimo conseguir que el songs
paquete funcione bien multicol
y me preguntaba si alguien tenía alguna idea sobre lo que podría arreglar para que se comportara correctamente.
De la songs
documentación:
http://songs.sourceforge.net/songsdoc/songs.html#sec11.5
Establecer el número de columnas en cero desactiva por completo el algoritmo de creación de páginas. Esto puede ser útil si desea utilizar un paquete externo, como multicol o la macro \twocolumn incorporada de LaTeX, para crear páginas. Por ejemplo, lo siguiente configura un entorno adecuado para un libro de letras que utiliza \twocolumn:
Sin embargo, lo que veo que sucede es que la canción está dispuesta en la primera página y la segunda columna está completamente en blanco: todo el texto se traslada a una nueva página.
Aquí está mi 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}
Respuesta1
El entorno lo hace \clearpage
al final, puedes desactivarlo localmente (lo hago \bigskip
aquí.
\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}