LATEX簡
簡報 製 作
Beamer
104學
學年 度 第 一 學 期 基 礎 統 計
許湘伶
高雄大學統計學研究所
2015/08/19
Outline
Part 1:
Part 2:
Part 3:
Part 4:
General setting
Block setting
Overlay setting
Other setting
Part I
General setting
基本架構
Beamer的基本架構同LaTeX, 僅須在一開始使
用\documentclass{beamer}, 設定為簡報beamer的架構,
其餘基本指令及用法大致與之前所教之LaTeX 是一樣的。
\documentclass{beamer}
宣告部分
\begin{document}
投影片內容
\end{document}
第一張投影片
frame page
\begin{frame}
\frametitle{投影片標題}
投影片內容。
\end{frame}
版面 主題 (theme)
Theme
\documentclass{beamer}
\usetheme{AnnArbor}
\usecolortheme{crane}
(a) AnnArbor
(b) Berkeley
• Beamer theme gallery
(c) CambridgeUS
版面 主 題顏色(color)
Color
\documentclass[xcolor=dvipsnames]{beamer}
\usetheme{AnnArbor}
\usecolortheme{crane}
(d) AnnArbor-default
(e) AnnArbor-crane
• 套件xcolor:顏色設定用, dvipsnames指定要用的顏色名稱定義
版面主題細部設定
Details
\documentclass[xcolor=dvipsnames]{beamer}
\usetheme{AnnArbor}
\useinnertheme{circles}
\useinnertheme{rectangles}
%circles; rectangles;rounded; inmargin
\setbeamertemplate{items}[triangle]
(f) inner setting
(g) miniframes
首頁設定
Titlepage
\title{簡報標題}
\author{演講者姓名}
\institute{機構}
\date{日期}
\begin{frame}
\titlepage
\end{frame}
logo設
設定
logo
\logo{\includegraphics[height=0.8cm]{circularlogoword_png2}}
大綱設定
Outline
\begin{frame}
\frametitle{報告大綱}
\tableofcontents
\end{frame}
\section{Section 1}
\begin{frame}
\frametitle{Section 1}
內容
\end{frame}
\section{Section 2}
\subsection{Subsection 2.1}
\subsection{Subsection 2.2}
Part II
Block setting
文字框
Block
\begin{block}{This is a Block}
This is important information
\end{block}
\begin{alertblock}{This is an Alert block}
This is an important alert
\end{alertblock}
\begin{exampleblock}{This is an Example block}
This is an example
\end{exampleblock}
• How to make boxed text with LaTeX
文 字框 (cont.)
定理
Theorem
\begin{theorem}
定理內容
\end{theorem}
\newtheorem*{remark}{Remark}
\begin{remark}
附註內容
\end{remark}
• definition, lemma, theorem, corollary, proof, example
自訂文字框
自 訂 文字 框 (cont.)
Setting Text Box
\setbeamercolor{block title}{bg=black!30,fg=black}
\newenvironment{variableblock}[3]{%
\setbeamercolor{block body}{#2}
\setbeamercolor{block title}{#3}
\begin{block}{#1}}{\end{block}}
Usage
\begin{block}{標題}
自訂文字框格式
\end{block}
\begin{variableblock}{Title}{bg=blue,fg=white}{bg=green,fg=red}
Stuff
\end{variableblock}
Part III
Overlay setting
Overlay type
pause
\begin{itemize}
\item \pause
\item auto show item one by one\pause
\item \only\pause
\item \uncover\pause
\end{itemize}
• \pause
• auto show item one by one
• \only
• \uncover
Overlay type
pause
\begin{itemize}
\item \pause
\item auto show item one by one\pause
\item \only\pause
\item \uncover\pause
\end{itemize}
• \pause
• auto show item one by one
• \only
• \uncover
Overlay type
pause
\begin{itemize}
\item \pause
\item auto show item one by one\pause
\item \only\pause
\item \uncover\pause
\end{itemize}
• \pause
• auto show item one by one
• \only
• \uncover
Overlay type
pause
\begin{itemize}
\item \pause
\item auto show item one by one\pause
\item \only\pause
\item \uncover\pause
\end{itemize}
• \pause
• auto show item one by one
• \only
• \uncover
Overlay type
pause
\begin{itemize}
\item \pause
\item auto show item one by one\pause
\item \only\pause
\item \uncover\pause
\end{itemize}
• \pause
• auto show item one by one
• \only
• \uncover
Overlay type
one by one
\begin{itemize}[<+->]
\item \verb+\pause+
\item auto show item one by one
\item \verb+\only+\pause
\item \verb+\uncover+
\end{itemize}
• \pause
• auto show item one by one
• \only
• \uncover
Overlay type
one by one
\begin{itemize}[<+->]
\item \verb+\pause+
\item auto show item one by one
\item \verb+\only+\pause
\item \verb+\uncover+
\end{itemize}
• \pause
• auto show item one by one
• \only
• \uncover
Overlay type
one by one
\begin{itemize}[<+->]
\item \verb+\pause+
\item auto show item one by one
\item \verb+\only+\pause
\item \verb+\uncover+
\end{itemize}
• \pause
• auto show item one by one
• \only
• \uncover
Overlay type
one by one
\begin{itemize}[<+->]
\item \verb+\pause+
\item auto show item one by one
\item \verb+\only+\pause
\item \verb+\uncover+
\end{itemize}
• \pause
• auto show item one by one
• \only
• \uncover
Overlay type
one by one
\begin{itemize}[<+->]
\item \verb+\pause+
\item auto show item one by one
\item \verb+\only+\pause
\item \verb+\uncover+
\end{itemize}
• \pause
• auto show item one by one
• \only
• \uncover
Overlay type
only
\only<1>{ insert a picture for instance}
\only<2->{how does it change?}
\only<2-3>{
\begin{itemize}
\item<2-3> here is my first remark
\item<3-3> and here is my second
\end{itemize}
}
\only<4>{insert a 2nd picture}
insert a picture for instance
Overlay type
only
\only<1>{ insert a picture for instance}
\only<2->{how does it change?}
\only<2-3>{
\begin{itemize}
\item<2-3> here is my first remark
\item<3-3> and here is my second
\end{itemize}
}
\only<4>{insert a 2nd picture}
how does it change?
• here is my first remark
• and here is my second
Overlay type
only
\only<1>{ insert a picture for instance}
\only<2->{how does it change?}
\only<2-3>{
\begin{itemize}
\item<2-3> here is my first remark
\item<3-3> and here is my second
\end{itemize}
}
\only<4>{insert a 2nd picture}
how does it change?
• here is my first remark
• and here is my second
Overlay type
only
\only<1>{ insert a picture for instance}
\only<2->{how does it change?}
\only<2-3>{
\begin{itemize}
\item<2-3> here is my first remark
\item<3-3> and here is my second
\end{itemize}
}
\only<4>{insert a 2nd picture}
how does it change? insert a 2nd picture
Overlay type
only vs. uncover
\only<1>{Only First one}
\only<2->{Only Second one}
\uncover<1>{First one}
\uncover<2->{Second one}
Only First one
First one Second one
Overlay type
only vs. uncover
\only<1>{Only First one}
\only<2->{Only Second one}
\uncover<1>{First one}
\uncover<2->{Second one}
Only Second one
First one Second one
Graphic Overlay
Graphic
\begin{center}
\includegraphics<1>[width=0.4\textwidth]{images_1}
\includegraphics<2->[width=0.4\textwidth]{images}
\includegraphics<3>[width=0.4\textwidth]{images_2}
\end{center}
Jump
Graphic Overlay
Graphic
\begin{center}
\includegraphics<1>[width=0.4\textwidth]{images_1}
\includegraphics<2->[width=0.4\textwidth]{images}
\includegraphics<3>[width=0.4\textwidth]{images_2}
\end{center}
Jump
Graphic Overlay
Graphic
\begin{center}
\includegraphics<1>[width=0.4\textwidth]{images_1}
\includegraphics<2->[width=0.4\textwidth]{images}
\includegraphics<3>[width=0.4\textwidth]{images_2}
\end{center}
Jump
Part IV
Other setting
Graphic Overlay
Graphic
\begin{frame}[label=here]
\hyperlink{here}{\beamerbutton{去吧}}
去吧
Multicolumns
Graphic
\begin{columns}
\begin{column}{0.3\textwidth} % 一個0.3\textwidth寬的
欄
這是欄一。
\end{column}
\begin{column}{5cm} % 另一個5cm寬的欄
這是欄二。
\end{column}
\end{columns}
這是欄一。
這是欄二。
How to shrink the slide
shrink
\begin{frame}[shrink=5]
加入shrink 參數整個投影片 內容就可以「多塞一點點」
\begin{frame}[shrink=5] :最多不要縮小超過15
Notes
shrink
\documentclass[handout]{beamer}
\documentclass[handout]{beamer} :略過overlay的
設定
Notes
handout with notes
\usepackage{handoutWithNotes}
\pgfpagesuselayout{4 on 1 with notes}[a4paper,
border shrink=5mm]
www.GuidoDiepen.nl
Reference
Reference
\bibliographystyle{plain}
\begin{thebibliography}{9}
\bibitem{Chanetal2013}
N. H. Chan, S.-F. Huang and C.-K. Ing (2013). Moment b
\end{thebibliography}
N. H. Chan, S.-F. Huang and C.-K. Ing (2013). Moment
bound and mean squared prediction errors of long-memory
time series, Annals of Statistics, 41, 1268-1298.
Background
Changing background
\setbeamertemplate{background canvas}
{\includegraphics[width=\paperwidth]{background0172}}
N. H. Chan, S.-F. Huang and C.-K. Ing (2013). Moment
bound and mean squared prediction errors of long-memory
time series, Annals of Statistics, 41, 1268-1298.
Poster
• beamerposter
Zoom
Zoom in
\framezoom<1><2>[border](0cm, 3.5cm)(2.75cm, 1cm)
\framezoom<1><3>[border](3cm, 3.5cm)(1cm, 1cm)
\pgfimage[height=4cm]{2010}
Zoom
Zoom
© Copyright 2026 Paperzz