added presentation folder

isaac
Isaac Riley 6 years ago
parent 52f853d796
commit 37c42f27c7

@ -0,0 +1 @@
build/

@ -0,0 +1,22 @@
PROJECT(latex_project NONE)
cmake_minimum_required(VERSION 2.8)
SET(LATEX_OUTPUT_PATH build)
INCLUDE(UseLATEX.cmake)
file(GLOB_RECURSE contents_files RELATIVE ${CMAKE_SOURCE_DIR} contents/*.tex)
#Copy beamer theme
file(COPY ${CMAKE_SOURCE_DIR}/beamer_theme/ DESTINATION ./ )
ADD_LATEX_DOCUMENT(
example.tex
#INPUTS ${contents_files}
#IMAGE_DIRS ./
BIBFILES lib.bib
#USE_INDEX
#USE_GLOSSARY
#FILTER_OUTPUT
)

@ -0,0 +1,2 @@
# BeamerStuttgartPas
Beamer Theme for Uni Stuttgart IPVS PAS.

File diff suppressed because it is too large Load Diff

@ -0,0 +1,17 @@
\mode<presentation>
% Settings
\setbeamercolor*{title page header}{fg=blue}
\setbeamercolor*{subtitle page header}{fg=black}
\setbeamercolor*{title frametitle}{fg=black}
\setbeamercolor*{subtitle frametitle}{fg=black}
\setbeamercolor*{author}{fg=red}
\setbeamercolor*{date}{fg=black}
\setbeamercolor*{item}{fg=black}
\setbeamercolor*{upper separation line foot}{bg=blue}
\setbeamercolor*{lower separation line head}{bg=blue}
\mode
<all>

@ -0,0 +1,8 @@
\setbeamerfont{pagenumber footline}{size=\large,series=\bfseries}
\setbeamerfont{frametitle}{size=\Large,series=\bfseries}
\setbeamerfont{framesubtitle}{size=\small,shape=\itshape,series=\bfseries}
\setbeamerfont{title}{size=\Large,series=\bfseries}
\setbeamerfont{subtitle}{size=\small,series=\bfseries}

@ -0,0 +1,49 @@
% should cover
% + Title and part pages.
% + Itemize environments.
% + Enumerate environments.
% + Description environments.
% + Block environments.
% + Theorem and proof environments.
% + Figures and tables.
% + Footnotes.
% + Bibliography entries.
\mode<presentation>
% Title page
\defbeamertemplate*{title page}{pas}[1][]
{
\vskip1.8cm%
\begin{beamercolorbox}[wd=10cm,leftskip=1.4cm,sep=8pt,center,#1]{title page header}
\usebeamerfont{title}\inserttitle%
\ifx\insertsubtitle\@empty%
\strut\par%
\else
\vskip1ex
\par{\usebeamerfont*{subtitle}{\usebeamercolor[fg]{subtitle}\insertsubtitle}\strut\par}%
\fi%%
\end{beamercolorbox}%
\vskip3ex%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,center,#1]{author}
\usebeamerfont{author}\insertauthor%
\end{beamercolorbox}
\vskip0.2cm%
\begin{beamercolorbox}[wd=12cm,leftskip=3cm,center,#1]{date}
\usebeamerfont{author}\insertdate%
\end{beamercolorbox}
\vfill
}
% Items
\setbeamertemplate{items}[square]
\setbeamertemplate{sections/subsections in toc}[square]
%bibliography
\setbeamertemplate{bibliography item}[text]
\mode
<all>

@ -0,0 +1,68 @@
% Should cover:
% + The head- and footline.
% + The sidebars.
% + The logo.
% + The frame title.
\mode<presentation>
%define logos
\def\unilogofull{%
\raisebox{0pt}{\includegraphics[height=18pt]{logos/unilogo.png}}%
}
\def\inslogo{
\raisebox{2pt}{\includegraphics[height=15pt]{logos/inslogo.png}}%
}
\def\deplogo{
\raisebox{2pt}{\includegraphics[height=15pt]{logos/deplogo.png}}%
}
\def\unilogo{
\raisebox{1pt}{\includegraphics[height=18pt]{logos/unilogo_short.png}}%
}
% Frame title
\defbeamertemplate*{frametitle}{pas}
{
\vskip10pt%
\begin{beamercolorbox}[wd=\paperwidth,leftskip=1.2cm,rightskip=1.2cm plus1fil,vmode]{frametitle}
\usebeamerfont*{frametitle}\insertframetitle%
\ifx\insertframesubtitle\@empty%
\strut\par%
\else
\par{\usebeamerfont*{framesubtitle}{\usebeamercolor[fg]{framesubtitle}\insertframesubtitle}\strut\par}%
\fi%%
\usebeamerfont{headline}%
\vskip.5ex
\end{beamercolorbox}%
\nointerlineskip
\begin{beamercolorbox}[colsep=0.41pt]{upper separation line foot}
\end{beamercolorbox}
}
% Foot line
\defbeamertemplate*{footline}{pas}
{%
\nointerlineskip%
\begin{beamercolorbox}[colsep=0.1pt]{upper separation line foot}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=20pt,dp=3pt,%
leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
\ifnum\thepage=1\relax%
{%
\inslogo%
%\deplogo%
\hfill\unilogofull
}%
\else%
{%
\unilogo%
\inslogo%
\hfill\raisebox{3pt}{\usebeamerfont{pagenumber footline}\insertpagenumber}
}%
\fi
\end{beamercolorbox}%
}
\mode<all>

@ -0,0 +1,20 @@
% The template bases on beamer
% http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf
% notes:
% default beamer framesize 128mm x 96mm
\mode<presentation>
% Requirement
\RequirePackage{tikz}
% Settings
\useinnertheme{pas}
\useoutertheme{pas}
\usecolortheme{pas}
\usefonttheme{pas}
\setbeamertemplate{navigation symbols}{}
\setbeamertemplate{blocks}[rounded][shadow=true]
\mode<all>

@ -0,0 +1,6 @@
@misc{BaseOn,
title={{Design a custom Beamer theme from scratch}},
url={http://tex.stackexchange.com/questions/146529/design-a-custom-beamer-theme-from-scratch/146682#146682},
howpublished = "\url{http://tex.stackexchange.com/questions/146529/design-a-custom-beamer-theme-from-scratch/146682#146682}",
year = {2014}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

@ -0,0 +1,70 @@
\documentclass[
xcolor={svgnames},
hyperref={colorlinks,citecolor=DeepPink4,linkcolor=DarkRed,urlcolor=DarkBlue}
]{beamer}
% define using customized theme.
\usetheme{pas}
% define using packages
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% the general information.
\title[Largest Prime Number?] % (optional, only for long titles)
{Citation Analysis}
\subtitle{Classifying Links between Scientific Publications}
\author[tmip, hieutt] % (optional, for multiple authors)
{Pavan Mandava and Isaac Riley}
\institute[Universities Here and There] % (optional)
{
\inst{1}%
Computational Linguistics, M.Sc.\\
\and
\inst{2}%
Computational Linguistics, M.Sc.\\
}
\date[] % (optional)
{May 20, 2020}
\subject{Computational Linguistics}
% begin presentation content
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}
\frametitle{There Is No Largest Prime Number}
\framesubtitle{The proof uses \textit{reductio ad absurdum}.}
\begin{theorem}
There is no largest prime number. \end{theorem}
\begin{enumerate}
\item<1-| alert@1> Suppose $p$ were the largest prime number.
\item<2-> Let $q$ be the product of the first $p$ numbers.
\item<3-> Then $q+1$ is not divisible by any of them.
\item<1-> But $q + 1$ is greater than $1$, thus divisible by some prime
number not in the first $p$ numbers.
\end{enumerate}
\end{frame}
\begin{frame}{A longer title}
\begin{itemize}
\item one
\item two
\end{itemize}
\end{frame}
\begin{frame}[allowframebreaks]
\frametitle{References}
\bibliographystyle{plain}
\bibliography{lib}
\end{frame}
\end{document}
Loading…
Cancel
Save