Skip to content

Commit

Permalink
Updates src structure for overview
Browse files Browse the repository at this point in the history
  • Loading branch information
dbosk committed Feb 20, 2020
1 parent 0224692 commit 34981fd
Show file tree
Hide file tree
Showing 6 changed files with 132 additions and 126 deletions.
2 changes: 1 addition & 1 deletion overview/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
overview.pdf
slides.pdf
7 changes: 4 additions & 3 deletions overview/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
.PHONY: all
all: overview.pdf
all: slides.pdf

SRC= overview.tex abstract.tex overview.bib
SRC= slides.tex abstract.tex preamble.tex bibliography.bib
SRC+= contents.tex

overview.pdf: ${SRC}
slides.pdf: ${SRC}


INCLUDE_MAKEFILES=../makefiles
Expand Down
File renamed without changes.
123 changes: 1 addition & 122 deletions overview/overview.tex → overview/contents.tex
Original file line number Diff line number Diff line change
@@ -1,116 +1,4 @@
%\documentclass[handout]{beamer}
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ibycus,swedish,british]{babel}
\usepackage{url}
\usepackage{graphicx}
\usepackage{color}
\usepackage{subfig}
\usepackage{multicol}
\usepackage{amssymb,amsmath,amsthm}
\usepackage{booktabs}
\usepackage[squaren,binary]{SIunits}
\usepackage{verbatim}
\usepackage{listings}
\usepackage{csquotes}

\usepackage{xparse}
\ProvideDocumentEnvironment{exercise}{o}{%
\setbeamercolor{block body}{bg=yellow!30,fg=black}
\setbeamercolor{block title}{bg=yellow,fg=black}
\IfValueTF{#1}{%
\begin{block}{Exercise: #1}
}{%
\begin{block}{Exercise}
}
}{%
\end{block}
}

\mode<presentation>{%
\usetheme{Berlin}
\setbeamertemplate{footline}{%
\begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
\hfill%
{\usebeamerfont{institute in head/foot}%
\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
\end{beamercolorbox}%
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
{\usebeamerfont{title in head/foot}\insertshorttitle}%
\hfill\insertframenumber%
\end{beamercolorbox}%
\begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
\end{beamercolorbox}
}
\setbeamercovered{transparent}
\setbeamertemplate{bibliography item}[text]
}

\usepackage[natbib,style=alphabetic,maxbibnames=99]{biblatex}
\addbibresource{overview.bib}

\newenvironment{axiom}[1]{\begin{block}{Axiom (#1)}}{\end{block}}

\DeclareMathOperator{\U}{\mathcal{U}}
\DeclareMathOperator{\T}{\mathcal{T}}
\DeclareMathOperator{\V}{\mathcal{V}}

\DeclareMathOperator{\N}{\mathbb{N}}
\DeclareMathOperator{\Z}{\mathbb{Z}}
\DeclareMathOperator{\R}{\mathbb{R}}

\let\stoch\mathbf\relax

\DeclareMathOperator{\lequiv}{\Longleftrightarrow}
\DeclareMathOperator{\xor}{\oplus}

\renewcommand{\qedsymbol}{Q.E.D.}

\DeclareMathOperator{\hmac}{HMAC}
\DeclareMathOperator{\concat}{||}

\DeclareMathOperator{\believes}{|\!\!\!\equiv}
\DeclareMathOperator{\said}{|\!\!\!\sim}
\DeclareMathOperator{\controls}{\Mapsto}
\DeclareMathOperator{\sees}{\lhd}
\newcommand{\fresh}[1]{\#(#1)}
\newcommand{\encrypt}[2]{\{#1\}_{#2}}
\newcommand{\share}[1]{\stackrel{#1}{\leftrightarrow}}
\newcommand{\pubkey}[1]{\stackrel{#1}{\mapsto}}

\title{%
Trusted Computing
}
\author[D.~Bosk]{%
Daniel Bosk
}
\institute[MIUN ICS]{%
Department of Information and Communication Systems,\\
Mid Sweden University, Sundsvall.
}
\date{\today}

%\pgfdeclareimage[height=0.65cm]{university-logo}{MU_logotyp_int_CMYK.pdf}
%\logo{\pgfuseimage{university-logo}}

\AtBeginSection[]{%
\begin{frame}<beamer>
\tableofcontents[currentsection]
\end{frame}
}

\begin{document}

\begin{frame}
\titlepage{}
\end{frame}

\mode*

% Since this a solution template for a generic talk, very little can
% be said about how it should be structured. However, the talk length
Expand Down Expand Up @@ -365,12 +253,3 @@ \subsection{Trusted Platform Module}
\end{block}
\end{frame}


%%%%%%%%%%%%%%%%%%%%%%

\begin{frame}
\small
\printbibliography
\end{frame}

\end{document}
60 changes: 60 additions & 0 deletions overview/preamble.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ibycus,swedish,british]{babel}
\usepackage{url}
\usepackage{graphicx}
\usepackage{color}
\usepackage{subfig}
\usepackage{multicol}
\usepackage{amssymb,amsmath,amsthm}
\usepackage{booktabs}
\usepackage[squaren,binary]{SIunits}
\usepackage{verbatim}
\usepackage{listings}
\usepackage{csquotes}

\usepackage{xparse}
\ProvideDocumentEnvironment{exercise}{o}{%
\setbeamercolor{block body}{bg=yellow!30,fg=black}
\setbeamercolor{block title}{bg=yellow,fg=black}
\IfValueTF{#1}{%
\begin{block}{Exercise: #1}
}{%
\begin{block}{Exercise}
}
}{%
\end{block}
}

\usepackage[natbib,style=alphabetic,maxbibnames=99]{biblatex}
\addbibresource{bibliography.bib}

\newenvironment{axiom}[1]{\begin{block}{Axiom (#1)}}{\end{block}}

\DeclareMathOperator{\U}{\mathcal{U}}
\DeclareMathOperator{\T}{\mathcal{T}}
\DeclareMathOperator{\V}{\mathcal{V}}

\DeclareMathOperator{\N}{\mathbb{N}}
\DeclareMathOperator{\Z}{\mathbb{Z}}
\DeclareMathOperator{\R}{\mathbb{R}}

\let\stoch\mathbf\relax

\DeclareMathOperator{\lequiv}{\Longleftrightarrow}
\DeclareMathOperator{\xor}{\oplus}

\renewcommand{\qedsymbol}{Q.E.D.}

\DeclareMathOperator{\hmac}{HMAC}
\DeclareMathOperator{\concat}{||}

\DeclareMathOperator{\believes}{|\!\!\!\equiv}
\DeclareMathOperator{\said}{|\!\!\!\sim}
\DeclareMathOperator{\controls}{\Mapsto}
\DeclareMathOperator{\sees}{\lhd}
\newcommand{\fresh}[1]{\#(#1)}
\newcommand{\encrypt}[2]{\{#1\}_{#2}}
\newcommand{\share}[1]{\stackrel{#1}{\leftrightarrow}}
\newcommand{\pubkey}[1]{\stackrel{#1}{\mapsto}}

66 changes: 66 additions & 0 deletions overview/slides.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
%\documentclass[handout]{beamer}
\documentclass{beamer}
\mode<presentation>{%
\usetheme{Berlin}
\setbeamertemplate{footline}{%
\begin{beamercolorbox}[colsep=1.5pt]{upper separation line foot}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
leftskip=.3cm,rightskip=.3cm plus1fil]{author in head/foot}%
\leavevmode{\usebeamerfont{author in head/foot}\insertshortauthor}%
\hfill%
{\usebeamerfont{institute in head/foot}%
\usebeamercolor[fg]{institute in head/foot}\insertshortinstitute}%
\end{beamercolorbox}%
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
leftskip=.3cm,rightskip=.3cm plus1fil]{title in head/foot}%
{\usebeamerfont{title in head/foot}\insertshorttitle}%
\hfill\insertframenumber%
\end{beamercolorbox}%
\begin{beamercolorbox}[colsep=1.5pt]{lower separation line foot}
\end{beamercolorbox}
}
\setbeamercovered{transparent}
\setbeamertemplate{bibliography item}[text]
}

\input{preamble.tex}

\title{%
Trusted Computing
}
\author[D.~Bosk]{%
Daniel Bosk
}
\institute[MIUN ICS]{%
Department of Information and Communication Systems,\\
Mid Sweden University, Sundsvall.
}
\date{\today}

%\pgfdeclareimage[height=0.65cm]{university-logo}{MU_logotyp_int_CMYK.pdf}
%\logo{\pgfuseimage{university-logo}}

\AtBeginSection[]{%
\begin{frame}<beamer>
\tableofcontents[currentsection]
\end{frame}
}

\begin{document}

\begin{frame}
\titlepage{}
\end{frame}


\input{contents.tex}

%%%%%%%%%%%%%%%%%%%%%%

\begin{frame}
\small
\printbibliography
\end{frame}

\end{document}

0 comments on commit 34981fd

Please sign in to comment.