summaryrefslogtreecommitdiff
path: root/example.tex
diff options
context:
space:
mode:
Diffstat (limited to 'example.tex')
-rw-r--r--example.tex97
1 files changed, 97 insertions, 0 deletions
diff --git a/example.tex b/example.tex
new file mode 100644
index 0000000..50c366c
--- /dev/null
+++ b/example.tex
@@ -0,0 +1,97 @@
+% Creating a simple Title Page in Beamer
+\documentclass[aspectratio=169]{beamer}
+% Bibliography and graphics support
+\usepackage{hyperref}
+\usepackage{fontawesome5}
+\usepackage{graphicx}
+\usepackage{url}
+\usepackage[
+backend=biber,
+style=alphabetic,
+sorting=ynt
+]{biblatex}
+\addbibresource{references.bib}
+% Testing the custom theme
+\usetheme{Optics}
+% Title page details:
+\title{Example Presentation for Checking the Template}
+\author{Admin}
+\date{\today}
+\location{Online, Optics-Design.com} % Set presentation location
+\email{admin@optics-design.com} % Replace with your actual email
+
+\begin{document}
+
+% Title page frame
+\begin{frame}
+ \titlepage
+\end{frame}
+
+\begin{frame}{Contents}
+ \tableofcontents
+\end{frame}
+
+% Presentation structure
+\section{Basic Information}
+\subsection{Motivation}
+\begin{frame}{\insertsubsectionhead}
+ \begin{itemize}
+ \item I needed a way to make presentations without Microsoft PowerPoint.
+ \item The most robust alternative I found for myself is the \LaTeX~beamer.
+ \item For me the \LaTeX~beamer:
+ \begin{itemize}
+ \item Provides a simple way to have consistent style across all my slides \& presentations
+ \item Allows me to have some convenient features like hyperlinks and references automatically
+ \item Makes me independent of the commercial software
+ \end{itemize}
+ \end{itemize}
+\end{frame}
+
+\subsection{Structure}
+\begin{frame}{\insertsubsectionhead}
+ \begin{itemize}
+ \item The template is fully contained in beamerthemeOptics.sty
+ \item There are comments, so I hope it is self-explanatory.\par
+ \descr{The template also contains some custom commands and \textcolor{accent}{different} \textcolor{primary}{colors}, which I use}
+ \end{itemize}
+\end{frame}
+
+
+\section{Examples}
+\subsection{An Image \& a Reference}
+\begin{frame}{\insertsubsectionhead}
+ \begin{figure}
+ \centering
+ \includegraphics[width=0.4\textwidth]{files/redsquare.png}
+ \caption{A red square.~\cite{exampleref1}}
+ \end{figure}
+\end{frame}
+\subsection{A Slide with Text \& Images}
+\begin{frame}{\insertsubsectionhead}
+ \begin{columns}[T]
+ \begin{column}{0.5\textwidth}
+ \begin{itemize}
+ \item Just a simple demonstration of how to have text \& images on the same slide.
+ \item I just use columns
+ \item Obviously you have more freedom in something like PowerPoint, but I don't feel like I lose something by making my slides this way
+ \end{itemize}
+ \end{column}
+ \begin{column}{0.5\textwidth}
+ \begin{figure}
+ \centering
+ \includegraphics[width=0.3\textwidth]{files/greentriangle.png}
+ \caption{A green triangle.~\cite{exampleref2}}
+ \centering
+ \includegraphics[width=0.3\textwidth]{files/blueellipse.png}
+ \caption{A blue ellipse~\cite{exampleref3}}
+ \end{figure}
+ \end{column}
+ \end{columns}
+\end{frame}
+
+
+\section*{Support Material}
+\begin{frame}[allowframebreaks]{References}
+\printbibliography
+\end{frame}
+\end{document}
Back to https://optics-design.com