我怎样才能在投影仪框架中存档编号的诗歌行?
\documentclass{beamer}
\usepackage{verse}
\usetheme{Madrid}
\usecolortheme{beaver}
\begin{document}
\begin{frame}
\poemlines{2}
\begin{block}{essen}
\begin{verse}
Sunset and evening star, \\
And one clear call for me! \\
And may there be no moaning of the bar, \\
When I put out to sea, \\!
\end{verse}
\end{block}
\end{frame}
\end{document}
我认为行号太靠右了,但我不知道如何处理这个问题。
谢谢回答。
答案1
编号诗的行数位于右边距。您可以使用它columns
来减小行宽并模拟边距:
\documentclass{beamer}
\usepackage{verse}
\usetheme{Madrid}
\usecolortheme{beaver}
\begin{document}
\begin{frame}
\poemlines{2}
\begin{block}{essen}
\begin{columns}[onlytextwidth]
\column{.9\linewidth}
\begin{verse}
Sunset and evening star, \\
And one clear call for me! \\
And may there be no moaning of the bar, \\
When I put out to sea, \\!
\end{verse}
\column{.1\linewidth}
\end{columns}
\end{block}
\begin{columns}[onlytextwidth]
\column{.9\linewidth}
\begin{block}{essen}
\begin{verse}
Sunset and evening star, \\
And one clear call for me! \\
And may there be no moaning of the bar, \\
When I put out to sea, \\!
\end{verse}
\end{block}
\column{.1\linewidth}
\end{columns}
\end{frame}
\end{document}