我怎样才能使我的句子更接近标题?

我怎样才能使我的句子更接近标题?

我正在使用 Share Latex 网站为我的演示文稿创建幻灯片。

我有以下代码:

\documentclass{beamer}
\usetheme{CambridgeUS}
\usepackage{graphicx}
\usepackage{mathabx}

\title{}
\author{}
\institute{}
\date{}

\begin{document}

\begin{frame}
\titlepage
\frametitle{} 
\end{frame}

\begin{frame}
\begin{center}
\frametitle{Outline}
\end{center}
\begin{itemize}
\item Introduction
\item Model 1
\item Main Results
\begin{itemize}
\item Graphical Analysis
\end{itemize}
\item Model 2
\item Main Results
\begin{itemize}
\item Graphical Analysis
\item Comparative statics
\end{itemize}
\item Conclusion
\item Appendix 
\end{itemize}
\end{frame}

\begin{frame}
\begin{center}
\frametitle{Introduction}
\end{center}

\begin{itemize}
\item Academic dishonesty is a serious issue in many developing countries.
\begin{itemize}
\item Cheating in school is a social norm. 
\item Generally, the professors do not take this issue seriously.
\item Low-level of punishment for the perpetrators.
\end{itemize}
\item The objective is to capture a student's decision to either plagiarize or be honest with two prisoner's dilemma models.
\end{itemize}
\end{frame}

\end{document}

我有这张幻灯片: 在此处输入图片描述

我如何将句子向上移动并且还想在句子之间创建空格?

答案1

您需要[t]向框架添加选项,以使文本与框架顶部对齐。您可以使用enumitem包来控制分项列表的间距,如图所示这个答案,但你必须在执行此操作后恢复默认项目符号,如所解释的这里。另外,正如评论中提到的,你不应该把放在环境frametitlecenter

\documentclass{beamer}
\usetheme{CambridgeUS}
\usepackage{enumitem}
\setitemize{itemsep=20pt,% Change the item separation here
label=\usebeamerfont*{itemize item}% These lines are necessary to restore the bullets to each item
\usebeamercolor[fg]{itemize item}%
\usebeamertemplate{itemize item}%
}

\begin{document}

\begin{frame}[t] % Add the [t] option here to top-align the text on the slide.
\frametitle{Introduction}

\begin{itemize}
\item Academic dishonesty is a serious issue in many developing countries.
\begin{itemize}
\item Cheating in school is a social norm. 
\item Generally, the professors do not take this issue seriously.
\item Low-level of punishment for the perpetrators.
\end{itemize}
\item The objective is to capture a student's decision to either plagiarize or be honest with two prisoner's dilemma models.
\end{itemize}
\end{frame}

\end{document}

在此处输入图片描述

相关内容