LaTeX beamer:如何仅对幻灯片的一部分使用“挤压”选项?

LaTeX beamer:如何仅对幻灯片的一部分使用“挤压”选项?

我正在使用该beamer软件包进行演示。在某张幻灯片中,我有两个列表,左侧有一个长列表,其中包含许多简短的项目,右侧有一个短列表,其中包含一些说明。左侧的列表仅在使用该squeeze选项时才适合幻灯片。但是,右侧的列表看起来太紧凑了。

有没有办法让该squeeze选项仅适用于左侧列表?


最小示例:

\documentclass[9pt]{beamer}
\usetheme{Madrid}
\begin{document}

\begin{frame}[squeeze] % <- squeeze option
  \frametitle{Title}
  % two-column layout
  \begin{columns}
    \begin{column}[T]{4cm}
      \centering
      % left: long list with short items
      \begin{block}{}
        \begin{itemize}
          \item $e$
          \item $\mu$
          \item $\mu \lor e$
          \item $\mu \land e$
          \item $\mu\mu$
          \item $ee$
          \item $ee \lor \mu$
          \item $ee \lor e$
          \item $\mu\mu \lor e$
          \item $\mu\mu \lor \mu$
          \item $\mu\mu \lor ee$
          \item $(e \land \mu) \lor \mu\mu$
          \item $(e \land \mu) \lor ee$
          \item $(e \land \mu) \lor ee \lor e$
          \item $(e \land \mu) \lor ee \lor \mu$
          \item $(e \land \mu) \lor \mu\mu \lor \mu$
        \end{itemize}
      \end{block}
    \end{column}
    \hfill
    \begin{column}[T]{6cm}
      \centering
      % right: shorter list with explanations / remarks  <- this would be nicer if not squeezed
      \begin{block}{}
        \begin{itemize}
          \item Many combinations
          \item Single and di-object trigger
          \item Also works for jet triggers
          \item Primary goal lepton triggers \\
            (plateau efficiency below $1$)
        \end{itemize}
      \end{block}
    \end{column}
  \end{columns}

  % another box at the bottom
  \begin{block}{}
    \begin{itemize}
      \item $\lor$: logical OR, $\land$: logical AND
      \item $ee$: di-electron trigger etc.
    \end{itemize}
  \end{block}
\end{frame}

\end{document}

答案1

\setlength{\itemsep}{.5ex}尝试在某个环境中进行类似操作itemize\itemsep添加到正常值中\parsep,因此您也可以使用负值。我使用了 .5ex,但您可以根据个人喜好进行调整:

\documentclass[9pt]{beamer}
\usetheme{Madrid}
\begin{document}

\begin{frame}[squeeze] % <- squeeze option
  \frametitle{Title}
  % two-column layout
  \begin{columns}
    \begin{column}[T]{4cm}
      \centering
      % left: long list with short items
      \begin{block}{}
        \begin{itemize}
          \item $e$
          \item $\mu$
          \item $\mu \lor e$
          \item $\mu \land e$
          \item $\mu\mu$
          \item $ee$
          \item $ee \lor \mu$
          \item $ee \lor e$
          \item $\mu\mu \lor e$
          \item $\mu\mu \lor \mu$
          \item $\mu\mu \lor ee$
          \item $(e \land \mu) \lor \mu\mu$
          \item $(e \land \mu) \lor ee$
          \item $(e \land \mu) \lor ee \lor e$
          \item $(e \land \mu) \lor ee \lor \mu$
          \item $(e \land \mu) \lor \mu\mu \lor \mu$
        \end{itemize}
      \end{block}
    \end{column}
    \hfill
    \begin{column}[T]{6cm}
      \centering
      % right: shorter list with explanations / remarks  <- this would be
      % nicer if not squeezed
      \begin{block}{}
        \begin{itemize}\setlength{\itemsep}{.5ex}
          \item Many combinations
          \item Single and di-object trigger
          \item Also works for jet triggers
          \item Primary goal lepton triggers \\
            (plateau efficiency below $1$)
        \end{itemize}
      \end{block}
    \end{column}
  \end{columns}

  % another box at the bottom
  \begin{block}{}
    \begin{itemize}
      \item $\lor$: logical OR, $\land$: logical AND
      \item $ee$: di-electron trigger etc.
    \end{itemize}
  \end{block}
\end{frame}

\end{document}

MWE的结果

相关内容