Minimal beamer presentation
Author
Mahmoud Ahmed
Last Updated
7년 전
License
Creative Commons CC BY 4.0
Abstract
This is a minimal beamer presentation with the most commonly used slide/frame types. From the BCMSLab, Gyeongsang National University.
This is a minimal beamer presentation with the most commonly used slide/frame types. From the BCMSLab, Gyeongsang National University.
% Latex template: mahmoud.s.fahmy@students.kasralainy.edu.eg
% For more details: https://www.sharelatex.com/learn/Beamer
\documentclass{beamer} % Document class
\usepackage[english]{babel} % Set language
\usepackage[utf8x]{inputenc} % Set encoding
\mode<presentation> % Set options
{
\usetheme{default} % Set theme
\usecolortheme{default} % Set colors
\usefonttheme{default} % Set font theme
\setbeamertemplate{caption}[numbered] % Set caption to be numbered
}
% Uncomment this to have the outline at the beginning of each section highlighted.
%\AtBeginSection[]
%{
% \begin{frame}{Outline}
% \tableofcontents[currentsection]
% \end{frame}
%}
\usepackage{graphicx} % For including figures
\usepackage{booktabs} % For table rules
\usepackage{hyperref} % For cross-referencing
\title{Title for a minimal beamer presentation} % Presentation title
\author{Author One} % Presentation author
\institute{Name of institution} % Author affiliation
\date{\today} % Today's date
\begin{document}
% Title page
% This page includes the informations defined earlier including title, author/s, affiliation/s and the date
\begin{frame}
\titlepage
\end{frame}
% Outline
% This page includes the outline (Table of content) of the presentation. All sections and subsections will appear in the outline by default.
\begin{frame}{Outline}
\tableofcontents
\end{frame}
% The following is the most frequently used slide types in beamer
% The slide structure is as follows:
%
%\begin{frame}{<slide-title>}
% <content>
%\end{frame}
\section{Section One}
\begin{frame}{Slide with bullet points}
This is a bullet list of two points:
\begin{itemize}
\item Point one
\item Point two
\end{itemize}
\end{frame}
\begin{frame}{Slide with two columns}
\begin{columns}
\column{.5\textwidth}
Text goes in first column.
\column{.5\textwidth}
Text goes in second column
\end{columns}
\end{frame}
\section{Section Two}
\begin{frame}{Slide with table}
\input{tables/table1.tex}
\end{frame}
\begin{frame}{Slide with figure}
\begin{figure}[H]
\centering
\includegraphics[width=.5\textwidth]{figures/figure1.png}
\caption{Caption for figure one.}
\label{fig:figure1}
\end{figure}
\end{frame}
\begin{frame}{Slide with references}
This is to reference a figure (Figure \ref{fig:figure1})\\
This it to reference a table (Table \ref{tab:table1})\\
This is to cite an article \cite{Ahmed2018a}\\
This is to add an article to the references without mentioning in the text \nocite{Ahmed2018a}\\
\end{frame}
\section{References}
% Adding the option 'allowframebreaks' allows the contents of the slide to be expanded in more than one slide.
\begin{frame}[allowframebreaks]{References}
\tiny\bibliography{references}
\bibliographystyle{apalike}
\end{frame}
\end{document}