我正在尝试正确控制许多页面上的文本流,这些页面是我在文档类的伯克利主题中的allowframebreaks
自定义框架中建立的。示例代码使用了包,您可以看到内容通过了页面,尽管如此。在将图形大小调整为文本高度时也会出现类似的复杂情况,以至于许多行文本被隐藏,而预期的输出是更早的分页符,从而显示所有文本。slide
beamer
quotation
\resizebox{\textheight}{!}
\documentclass{beamer}
\usetheme{Berkeley}
% http://tex.stackexchange.com/a/94632/13173
\newenvironment{slide}[1]
{\begin{frame}[environment=slide,allowframebreaks,fragile]
\frametitle{\insertsection-#1} % Torbjørn T. Thank you!
}
{\end{frame}}
\begin{document}
\begin{slide}{Lorem}
\resizebox{\textheight}{!}{
\begin{quotation}
The elimination of CS can be achieved through implementation of various proven measures but requires technical support, funding and commitment among political forces, health officials, and public to prevent and treat CS cases and help countries reach their Millennium Development Goals.
Stronger partnerships with clearly defined responsibilities should be developed among agencies responsible for national STI control, HIV/AIDS control, and making pregnancy safer initiatives to ensure universal coverage of CS control interventions.
Clinicians should adhere to standardized protocols in evaluation and management of at-risk newborns. Vigilant screening prenatally and at delivery and adequate follow-up are critical to reduce CS. Improved surveillance data and resources are needed for identification and follow-up of newborns at risk for CS.
Clinicians should adhere to standardized protocols in evaluation and management of at-risk newborns. Vigilant screening prenatally and at delivery and adequate follow-up are critical to reduce CS. Improved surveillance data and resources are needed for identification and follow-up of newborns at risk for CS.
- Phiske, Hossain, Martin.
\end{quotation}
}
\end{slide}
\end{document}
答案1
该allowframebreaks
选项只能分解非单个单元的材料。在这种情况下quotation
,beamer
是一个“颜色框”,不易破碎。因此,您不能在这里使用引号环境:只需将其注释掉即可看到。
\documentclass{beamer}
\begin{document}
\begin{frame}[allowframebreaks]{Lorem}
%\begin{quotation}
The elimination of CS can be achieved through implementation of various proven measures but requires technical support, funding and commitment among political forces, health officials, and public to prevent and treat CS cases and help countries reach their Millennium Development Goals.
Stronger partnerships with clearly defined responsibilities should be developed among agencies responsible for national STI control, HIV/AIDS control, and making pregnancy safer initiatives to ensure universal coverage of CS control interventions.
Clinicians should adhere to standardized protocols in evaluation and management of at-risk newborns. Vigilant screening prenatally and at delivery and adequate follow-up are critical to reduce CS. Improved surveillance data and resources are needed for identification and follow-up of newborns at risk for CS.
Clinicians should adhere to standardized protocols in evaluation and management of at-risk newborns. Vigilant screening prenatally and at delivery and adequate follow-up are critical to reduce CS. Improved surveillance data and resources are needed for identification and follow-up of newborns at risk for CS.
- Phiske, Hossain, Martin.
%\end{quotation}
\end{frame}
\end{document}
如果您想要有引文的外观但又有停顿,则需要手动进行:
\documentclass{beamer}
\begin{document}
\begin{frame}[allowframebreaks]{Lorem}
\begin{quotation}
The elimination of CS can be achieved through implementation of various proven measures but requires technical support, funding and commitment among political forces, health officials, and public to prevent and treat CS cases and help countries reach their Millennium Development Goals.
Stronger partnerships with clearly defined responsibilities should be developed among agencies responsible for national STI control, HIV/AIDS control, and making pregnancy safer initiatives to ensure universal coverage of CS control interventions.
Clinicians should adhere to standardized protocols in evaluation and management of at-risk newborns. Vigilant screening prenatally and at delivery and adequate follow-up are critical to reduce CS. Improved surveillance data and resources are needed for identification and follow-up of newborns at risk for CS.
\end{quotation}
\begin{quotation}
Clinicians should adhere to standardized protocols in evaluation and management of at-risk newborns. Vigilant screening prenatally and at delivery and adequate follow-up are critical to reduce CS. Improved surveillance data and resources are needed for identification and follow-up of newborns at risk for CS.
- Phiske, Hossain, Martin.
\end{quotation}
\end{frame}
\end{document}