Broke into sections, update gitignore for beamer

This commit is contained in:
alex 2022-10-22 14:21:56 -06:00
parent 8cfcda0322
commit cf013036b1
13 changed files with 138 additions and 132 deletions

5
.gitignore vendored
View File

@ -24,4 +24,9 @@
*.log *.log
*.synctex.gz *.synctex.gz
*.pdf *.pdf
#Section for beamer sub files
*.nav
*.snm
*.vrb

View File

@ -1,10 +1,7 @@
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
% PACKAGES AND THEMES % PACKAGES AND THEMES
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
\documentclass[aspectratio=169,xcolor=dvipsnames]{beamer} \documentclass[aspectratio=169,xcolor=dvipsnames]{beamer} \usetheme{SimpleDarkBlue} \usepackage{hyperref}
\usetheme{SimpleDarkBlue}
\usepackage{hyperref}
\usepackage{graphicx} % Allows including images \usepackage{graphicx} % Allows including images
\usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables \usepackage{booktabs} % Allows the use of \toprule, \midrule and \bottomrule in tables
%---------------------------------------------------------------------------------------- %----------------------------------------------------------------------------------------
@ -14,14 +11,16 @@
\title[short title]{Simple Beamer Theme} % The short title appears at the bottom of every slide, the full title is only on the title page \title[short title]{Simple Beamer Theme} % The short title appears at the bottom of every slide, the full title is only on the title page
\subtitle{Subtitle} \subtitle{Subtitle}
\author[Alex] {Alexander Gebben} \author[Alex Gebben] {Alexander Gebben}
\institute[Colorado School of Mines]{'Colorado School of Mines'} % Your institution as it will appear on the bottom of every slide, may be shorthand to save space \institute[Colorado School of Mines] % Your institution as it will appear on the bottom of every slide, may be shorthand to save space
{ {
Department of Mineral And Energy Economics \\ Department of Mineral And Energy Economics \\
Colorado School of Mines Colorado School of Mines
\vskip 3pt \vskip 3pt
} }
\logo{\includegraphics[width=0.2\linewidth]{./img/Mines.jpg}}
\date{\today} % Date, can be changed to a custom date \date{\today} % Date, can be changed to a custom date
@ -31,136 +30,21 @@
\begin{document} \begin{document}
\begin{frame} \input{./Sections/Intro.tex}
% Print the title page as the first slide \input{./Sections/Overview.tex}
\titlepage
\begin{figure}
\includegraphics[width=0.2\linewidth]{./img/Mines.jpg}
\end{figure}
\end{frame}
\begin{frame}{Overview}
% Throughout your presentation, if you choose to use \section{} and \subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
\tableofcontents
\end{frame}
%------------------------------------------------ %------------------------------------------------
\section{First Section} \section{First Section}
%------------------------------------------------ \input{./Sections/Bullets.tex}
\input{./Sections/Highlight.tex}
\begin{frame}{Bullet Points} \input{./Sections/Columns.tex}
\begin{itemize}
\item Lorem ipsum dolor sit amet, consectetur adipiscing elit
\item Aliquam blandit faucibus nisi, sit amet dapibus enim tempus eu
\item Nulla commodo, erat quis gravida posuere, elit lacus lobortis est, quis porttitor odio mauris at libero
\item Nam cursus est eget velit posuere pellentesque
\item Vestibulum faucibus velit a augue condimentum quis convallis nulla gravida
\end{itemize}
\end{frame}
%------------------------------------------------
\begin{frame}{Blocks of Highlighted Text}
In this slide, some important text will be \alert{highlighted} because it's important. Please, don't abuse it.
\begin{block}{Block}
Sample text
\end{block}
\begin{alertblock}{Alertblock}
Sample text in red box
\end{alertblock}
\begin{examples}
Sample text in green box. The title of the block is ``Examples".
\end{examples}
\end{frame}
%------------------------------------------------
\begin{frame}{Multiple Columns}
\begin{columns}[c] % The "c" option specifies centered vertical alignment while the "t" option is used for top vertical alignment
\column{.45\textwidth} % Left column and width
\textbf{Heading}
\begin{enumerate}
\item Statement
\item Explanation
\item Example
\end{enumerate}
\column{.5\textwidth} % Right column and width
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus nisl, ultricies in feugiat rutrum, porttitor sit amet augue. Aliquam ut tortor mauris. Sed volutpat ante purus, quis accumsan dolor.
\end{columns}
\end{frame}
%------------------------------------------------ %------------------------------------------------
\section{Second Section} \section{Second Section}
%------------------------------------------------ \input{./Sections/Table.tex}
\input{./Sections/Theorem.tex}
\begin{frame}{Table} \input{./Sections/Figure.tex}
\begin{table} \input{./Sections/Fragile.tex}
\begin{tabular}{l l l} \input{./Sections/bib.tex}
\toprule \input{./Sections/End.tex}
\textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2} \\
\midrule
Treatment 1 & 0.0003262 & 0.562 \\
Treatment 2 & 0.0015681 & 0.910 \\
Treatment 3 & 0.0009271 & 0.296 \\
\bottomrule
\end{tabular}
\caption{Table caption}
\end{table}
\end{frame}
%------------------------------------------------
\begin{frame}{Theorem}
\begin{theorem}[Mass--energy equivalence]
$E = mc^2$
\end{theorem}
\end{frame}
%------------------------------------------------
\begin{frame}{Figure}
Uncomment the code on this slide to include your own image from the same directory as the template .TeX file.
%\begin{figure}
%\includegraphics[width=0.8\linewidth]{test}
%\end{figure}
\end{frame}
%------------------------------------------------
\begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide
\frametitle{Citation}
An example of the \verb|\cite| command to cite within the presentation:\\~
This statement requires citation \cite{p1}.
\end{frame}
%------------------------------------------------
\begin{frame}{References}
% Beamer does not support BibTeX so references must be inserted manually as below
\footnotesize{
\begin{thebibliography}{99}
\bibitem[Smith, 2012]{p1} John Smith (2012)
\newblock Title of the publication
\newblock \emph{Journal Name} 12(3), 45 -- 678.
\end{thebibliography}
}
\end{frame}
%------------------------------------------------
\begin{frame}
\Huge{\centerline{The End}}
\end{frame}
%----------------------------------------------------------------------------------------
\end{document} \end{document}

View File

@ -0,0 +1,11 @@
%------------------------------------------------
\begin{frame}{Bullet Points}
\begin{itemize}
\item Lorem ipsum dolor sit amet, consectetur adipiscing elit
\item Aliquam blandit faucibus nisi, sit amet dapibus enim tempus eu
\item Nulla commodo, erat quis gravida posuere, elit lacus lobortis est, quis porttitor odio mauris at libero
\item Nam cursus est eget velit posuere pellentesque
\item Vestibulum faucibus velit a augue condimentum quis convallis nulla gravida
\end{itemize}
\end{frame}

View File

@ -0,0 +1,19 @@
%------------------------------------------------
\begin{frame}{Multiple Columns}
\begin{columns}[c] % The "c" option specifies centered vertical alignment while the "t" option is used for top vertical alignment
\column{.45\textwidth} % Left column and width
\textbf{Heading}
\begin{enumerate}
\item Statement
\item Explanation
\item Example
\end{enumerate}
\column{.5\textwidth} % Right column and width
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer lectus nisl, ultricies in feugiat rutrum, porttitor sit amet augue. Aliquam ut tortor mauris. Sed volutpat ante purus, quis accumsan dolor.
\end{columns}
\end{frame}

6
Beamer/Sections/End.tex Normal file
View File

@ -0,0 +1,6 @@
%------------------------------------------------
\begin{frame}
\Huge{\centerline{The End}}
\end{frame}

View File

@ -0,0 +1,8 @@
%------------------------------------------------
\begin{frame}{Figure}
Uncomment the code on this slide to include your own image from the same directory as the template .TeX file.
%\begin{figure}
%\includegraphics[width=0.8\linewidth]{test}
%\end{figure}
\end{frame}

View File

@ -0,0 +1,8 @@
%------------------------------------------------
\begin{frame}[fragile] % Need to use the fragile option when verbatim is used in the slide
\frametitle{Citation}
An example of the \verb|\cite| command to cite within the presentation:\\~
This statement requires citation \cite{p1}.
\end{frame}

View File

@ -0,0 +1,17 @@
%------------------------------------------------
\begin{frame}{Blocks of Highlighted Text}
In this slide, some important text will be \alert{highlighted} because it's important. Please, don't abuse it.
\begin{block}{Block}
Sample text
\end{block}
\begin{alertblock}{Alertblock}
Sample text in red box
\end{alertblock}
\begin{examples}
Sample text in green box. The title of the block is ``Examples".
\end{examples}
\end{frame}

View File

@ -0,0 +1,5 @@
\begin{frame}
% Print the title page as the first slide
\titlepage
% \hfill\includegraphics[width=2cm]{./img/Mines.jpg}
\end{frame}

View File

@ -0,0 +1,5 @@
\begin{frame}{Overview}
% Throughout your presentation, if you choose to use \section{} and \subsection{} commands, these will automatically be printed on this slide as an overview of your presentation
\tableofcontents
\end{frame}

17
Beamer/Sections/Table.tex Normal file
View File

@ -0,0 +1,17 @@
%------------------------------------------------
\begin{frame}{Table}
\begin{table}
\begin{tabular}{l l l}
\toprule
\textbf{Treatments} & \textbf{Response 1} & \textbf{Response 2} \\
\midrule
Treatment 1 & 0.0003262 & 0.562 \\
Treatment 2 & 0.0015681 & 0.910 \\
Treatment 3 & 0.0009271 & 0.296 \\
\bottomrule
\end{tabular}
\caption{Table caption}
\end{table}
\end{frame}

View File

@ -0,0 +1,8 @@
%------------------------------------------------
\begin{frame}{Theorem}
\begin{theorem}[Mass--energy equivalence]
$E = mc^2$
\end{theorem}
\end{frame}

13
Beamer/Sections/bib.tex Normal file
View File

@ -0,0 +1,13 @@
%------------------------------------------------
\begin{frame}{References}
% Beamer does not support BibTeX so references must be inserted manually as below
\footnotesize{
\begin{thebibliography}{99}
\bibitem[Smith, 2012]{p1} John Smith (2012)
\newblock Title of the publication
\newblock \emph{Journal Name} 12(3), 45 -- 678.
\end{thebibliography}
}
\end{frame}