From cf013036b153e4ee1083cc8e32ff6766b497f078 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 22 Oct 2022 14:21:56 -0600 Subject: [PATCH] Broke into sections, update gitignore for beamer --- .gitignore | 5 ++ Beamer/RG_Hedonic.tex | 148 ++++------------------------------ Beamer/Sections/Bullets.tex | 11 +++ Beamer/Sections/Columns.tex | 19 +++++ Beamer/Sections/End.tex | 6 ++ Beamer/Sections/Figure.tex | 8 ++ Beamer/Sections/Fragile.tex | 8 ++ Beamer/Sections/Highlight.tex | 17 ++++ Beamer/Sections/Intro.tex | 5 ++ Beamer/Sections/Overview.tex | 5 ++ Beamer/Sections/Table.tex | 17 ++++ Beamer/Sections/Theorem.tex | 8 ++ Beamer/Sections/bib.tex | 13 +++ 13 files changed, 138 insertions(+), 132 deletions(-) create mode 100644 Beamer/Sections/Bullets.tex create mode 100644 Beamer/Sections/Columns.tex create mode 100644 Beamer/Sections/End.tex create mode 100644 Beamer/Sections/Figure.tex create mode 100644 Beamer/Sections/Fragile.tex create mode 100644 Beamer/Sections/Highlight.tex create mode 100644 Beamer/Sections/Intro.tex create mode 100644 Beamer/Sections/Overview.tex create mode 100644 Beamer/Sections/Table.tex create mode 100644 Beamer/Sections/Theorem.tex create mode 100644 Beamer/Sections/bib.tex diff --git a/.gitignore b/.gitignore index 02d2546..e2b57a8 100644 --- a/.gitignore +++ b/.gitignore @@ -24,4 +24,9 @@ *.log *.synctex.gz *.pdf +#Section for beamer sub files +*.nav +*.snm +*.vrb + diff --git a/Beamer/RG_Hedonic.tex b/Beamer/RG_Hedonic.tex index 5f4b06c..9acc95c 100644 --- a/Beamer/RG_Hedonic.tex +++ b/Beamer/RG_Hedonic.tex @@ -1,10 +1,7 @@ %---------------------------------------------------------------------------------------- % PACKAGES AND THEMES %---------------------------------------------------------------------------------------- -\documentclass[aspectratio=169,xcolor=dvipsnames]{beamer} -\usetheme{SimpleDarkBlue} - -\usepackage{hyperref} +\documentclass[aspectratio=169,xcolor=dvipsnames]{beamer} \usetheme{SimpleDarkBlue} \usepackage{hyperref} \usepackage{graphicx} % Allows including images \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 \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 \\ Colorado School of Mines \vskip 3pt } + + \logo{\includegraphics[width=0.2\linewidth]{./img/Mines.jpg}} \date{\today} % Date, can be changed to a custom date @@ -31,136 +30,21 @@ \begin{document} -\begin{frame} - % Print the title page as the first slide - \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} - +\input{./Sections/Intro.tex} +\input{./Sections/Overview.tex} %------------------------------------------------ \section{First Section} -%------------------------------------------------ - -\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} - -%------------------------------------------------ - -\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} +\input{./Sections/Bullets.tex} +\input{./Sections/Highlight.tex} +\input{./Sections/Columns.tex} %------------------------------------------------ \section{Second Section} -%------------------------------------------------ - -\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} - -%------------------------------------------------ - -\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} - -%---------------------------------------------------------------------------------------- +\input{./Sections/Table.tex} +\input{./Sections/Theorem.tex} +\input{./Sections/Figure.tex} +\input{./Sections/Fragile.tex} +\input{./Sections/bib.tex} +\input{./Sections/End.tex} \end{document} diff --git a/Beamer/Sections/Bullets.tex b/Beamer/Sections/Bullets.tex new file mode 100644 index 0000000..2c1e2cb --- /dev/null +++ b/Beamer/Sections/Bullets.tex @@ -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} diff --git a/Beamer/Sections/Columns.tex b/Beamer/Sections/Columns.tex new file mode 100644 index 0000000..ebfb406 --- /dev/null +++ b/Beamer/Sections/Columns.tex @@ -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} + diff --git a/Beamer/Sections/End.tex b/Beamer/Sections/End.tex new file mode 100644 index 0000000..a82c337 --- /dev/null +++ b/Beamer/Sections/End.tex @@ -0,0 +1,6 @@ +%------------------------------------------------ + +\begin{frame} + \Huge{\centerline{The End}} +\end{frame} + diff --git a/Beamer/Sections/Figure.tex b/Beamer/Sections/Figure.tex new file mode 100644 index 0000000..0ac2a53 --- /dev/null +++ b/Beamer/Sections/Figure.tex @@ -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} + diff --git a/Beamer/Sections/Fragile.tex b/Beamer/Sections/Fragile.tex new file mode 100644 index 0000000..9f52eb8 --- /dev/null +++ b/Beamer/Sections/Fragile.tex @@ -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} diff --git a/Beamer/Sections/Highlight.tex b/Beamer/Sections/Highlight.tex new file mode 100644 index 0000000..d615e5f --- /dev/null +++ b/Beamer/Sections/Highlight.tex @@ -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} diff --git a/Beamer/Sections/Intro.tex b/Beamer/Sections/Intro.tex new file mode 100644 index 0000000..041a571 --- /dev/null +++ b/Beamer/Sections/Intro.tex @@ -0,0 +1,5 @@ +\begin{frame} + % Print the title page as the first slide + \titlepage +% \hfill\includegraphics[width=2cm]{./img/Mines.jpg} +\end{frame} diff --git a/Beamer/Sections/Overview.tex b/Beamer/Sections/Overview.tex new file mode 100644 index 0000000..e827ddd --- /dev/null +++ b/Beamer/Sections/Overview.tex @@ -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} + diff --git a/Beamer/Sections/Table.tex b/Beamer/Sections/Table.tex new file mode 100644 index 0000000..f2a99cd --- /dev/null +++ b/Beamer/Sections/Table.tex @@ -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} + diff --git a/Beamer/Sections/Theorem.tex b/Beamer/Sections/Theorem.tex new file mode 100644 index 0000000..f6cce95 --- /dev/null +++ b/Beamer/Sections/Theorem.tex @@ -0,0 +1,8 @@ +%------------------------------------------------ +\begin{frame}{Theorem} + \begin{theorem}[Mass--energy equivalence] + $E = mc^2$ + \end{theorem} +\end{frame} + + diff --git a/Beamer/Sections/bib.tex b/Beamer/Sections/bib.tex new file mode 100644 index 0000000..e5faebb --- /dev/null +++ b/Beamer/Sections/bib.tex @@ -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} +