我正在尝试为我的一个朋友写一本歌曲集。但我很难设置歌词栏的宽度(例如《乡村路》)。我希望每页都放一首歌,换句话说,我希望一行中放“Almost Heaven、West Virginia、Blue Ridge Mountains、Shenandoah River”(见下文)
\documentclass[a5paper]{article}
\usepackage{geometry}
\geometry{top=2.5cm, bottom=2.5cm, left=2.5cm, right=2.5cm}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[automark]{scrpage2}
\usepackage{setspace}
\pagestyle{scrheadings}
\ihead[]{Das kleine bunte Liederbuch}
\ohead[]{\today}
\cfoot[]{\pagemark}
\setheadsepline[100mm]{0.3mm}
\usepackage{environ}
\usepackage{multicol}
\usepackage[chorded]{songs}
\begin{document}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\title{A book title}
\author{Author Name}
\date{\today}
%=========================================
\begin{titlepage}
\centering{
{\fontsize{48}{48}\selectfont
Das kleine \vspace{3mm} bunte Liederbuch}
}\\
\vspace{10mm}
\centering{\Large{\textit{Originalauflage: herausgegeben von Seppl}}}\\
\vspace{\fill}
\centering \large{2020}
\end{titlepage}
%=========================================
\newpage{}
\thispagestyle {empty}
\vspace*{2cm}
\begin{center}
\Large{\parbox{10cm}{
\begin{raggedright}
{\Large
\textit{Sei Dir bewusst, dass Du der Andere bist.}
}
\vspace{.5cm}\hfill{---Earl Grey}
\end{raggedright}
}
\end{center}
\newpage
\thispagestyle{empty}
\newpage
\tableofcontents
\newpage
\noversenumbers
\songsection{Einführung}
\vspace{0.5cm}
Hier erklären wie das Buch aufgebaut ist.
\newpage
\songsection{Lagerfeuer}
\addcontentsline{toc}{subsection}{Country roads}
\begin{songs}{}
\beginsong{Country roads (Capo 2nd)}[by={Bill Danoff, Taffy Nivert, and John Denver},
sr={Poems, Prayers and Promises},
cr={Public domain.},
index={Praise God, from Whom all blessings flow}]
\beginverse
\large{
\[G]Almost Heaven; \[Em]West Virginia,\[D]Blue Ridge Mountains, \[C]Shenandoah River.
}
\endverse
\endsong
\end{songs}
\end{document}
答案1
观察到的行为可能是由于 songs 模块默认使用两列造成的。您可以使用\setcolumns{}
宏来更改它:
\usepackage[chorded]{songs}
\begin{document}
\songcolumns{1}
\begin{songs}{}
\end{songs}
\end{document}
整个页面宽度将用于歌曲的文本/和弦,这样您就可以避免过早换行。