使用哪个包来创建类似空白演示文稿的大小

使用哪个包来创建类似空白演示文稿的大小

答案1

一种方法是使用四个minipages:

在此处输入图片描述

代码:

\documentclass{article}

\usepackage[
    paperwidth=8.5in,
    paperheight=8.5in,
    top=0.25in,
    bottom=0.25in,
    left=0.25in,
    right=0.25in,
    nomarginpar,
    footskip=15pt,
]{geometry}

\usepackage{enumitem}
\usepackage{environ}
%\usepackage{showframe}

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\cfoot{\thepage}

\newcommand*{\Heading}[1]{{\centering\textbf{#1}\par}}

\NewEnviron{MyBox}{%
    \fbox{\begin{minipage}[t][0.48\textheight]{0.48\linewidth}
        \vspace*{0.5cm}%
        \BODY%
    \end{minipage}}%
    \hfill
}


\begin{document}\noindent
\begin{MyBox}
    \Heading{Lecture 2}
    \begin{itemize}
        \item \textbf{Readings:} Sections 1.3--1.4.
    \end{itemize}
\end{MyBox}%
\begin{MyBox}
    \Heading{Review of Probability Models}
    \begin{itemize}
        \item \textbf{Readings:} Sections 1.3--1.4.
    \end{itemize}
\end{MyBox}%
\vfill\noindent
\begin{MyBox}
    \Heading{Conditional probaility}
    \begin{itemize}
        \item  Probability of A\ldots
    \end{itemize}
\end{MyBox}%
\begin{MyBox}
    \Heading{Die roll example}
    \begin{itemize}
        \item  Let $B$ be the event\ldots
    \end{itemize}
\end{MyBox}%
\begin{MyBox}
    \Heading{Lecture 2}
    \begin{itemize}
        \item \textbf{Readings:} Sections 1.3--1.4.
    \end{itemize}
\end{MyBox}%
\begin{MyBox}
    \Heading{Review of Probability Models}
    \begin{itemize}
        \item \textbf{Readings:} Sections 1.3--1.4.
    \end{itemize}
\end{MyBox}%
\vfill\noindent
\begin{MyBox}
    \Heading{Conditional probaility}
    \begin{itemize}
        \item  Probability of A\ldots
    \end{itemize}
\end{MyBox}%
\begin{MyBox}
    \Heading{Die roll example}
    \begin{itemize}
        \item  Let $B$ be the event\ldots
    \end{itemize}
\end{MyBox}%
\end{document}

答案2

正如评论所说,使用beamer带有选项的类handoutpgfpges实现 4 x 1 布局:

在此处输入图片描述

\documentclass[handout]{beamer}
\setbeamercolor{background canvas}{bg=cyan!05}
\usepackage{pgfpages}
\pgfpagesuselayout{4 on 1}[a4paper,landscape,border shrink=5mm]
\pgfpageslogicalpageoptions{1}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{2}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{3}{border code=\pgfusepath{stroke}}
\pgfpageslogicalpageoptions{4}{scale=3,border code=\pgfusepath{stroke}}
\begin{document}
\huge
\frame{\frametitle{\Huge Lecture \insertpagenumber} Bla bla bla ... }
\frame{\frametitle{\Huge Lecture \insertpagenumber} More bla bla ... }
\frame{\frametitle{\Huge Lecture \insertpagenumber} Still bla bla ... }
\frame{\frametitle{\Huge Lecture \insertpagenumber} Even more bla ... }
\end{document}

使用%前面的\pgfpagesuselayout并删除handout选项,您可以获得演示版本。另请参阅命令\mode

答案3

幻灯片可以使用beamer. 可以使用以下方法在一张纸上打印多个逻辑页面pdfpages

相关内容