Compare commits

...

6 Commits

3 changed files with 54 additions and 27 deletions

21
appseceu2017.cls Normal file
View File

@ -0,0 +1,21 @@
%% Copyright (C) 2017 Achim D. Brucker, https://www.brucker.ch
%%
%% License:
%% This program can be redistributed and/or modified under the terms
%% of the LaTeX Project Public License Distributed from CTAN
%% archives in directory macros/latex/base/lppl.txt; either
%% version 1 of the License, or any later version.
%% OR
%% The 2-clause BSD-style license.
%%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesClass{appseceu2017}%
[2017/04/28 v0.0 LaTeX presenation class mimicking the design of the OWASP AppSecEU 2017 PowerPoint template.]
\LoadClassWithOptions{beamer}[]
\DeclareOptionBeamer{classification}{\PassOptionsToPackage{classification=#1}{beamerthemelh-presentation}}
\ProcessOptionsBeamer\relax
\usetheme{appseceu2017}
\endinput

View File

@ -58,25 +58,27 @@
\vskip-\paperheight%
% </background image>
\@tempdima=\paperwidth%
\advance\@tempdima by -6mm
\advance\@tempdima by -66mm
\advance\@tempdima by 0mm
\@tempdimb=\paperheight
\advance\@tempdimb by -52mm
\mbox{}\vspace{-8mm}
\begin{beamercolorbox}[ht=1mm,sep=.1cm,wd=\@tempdima]{titlerule}
\advance\@tempdimb by -61mm
\@tempdimc=\paperwidth%
\advance\@tempdimc by -6mm
\advance\@tempdimc by 0mm
%\mbox{}\vspace{-8mm}
%\begin{beamercolorbox}[ht=1mm,sep=.1cm,wd=\@tempdima]{titlerule}
%\end{beamercolorbox}
%\mbox{}\vspace{-6mm}
\begin{beamercolorbox}[ht=10mm,sep=.2cm,ignorebg,wd=\@tempdima]{titlerule}
\end{beamercolorbox}
\mbox{}\vspace{-6mm}
\begin{beamercolorbox}[ht=4mm,sep=.2cm,wd=\@tempdima]{titlerule}
\end{beamercolorbox}
\mbox{}\vspace{-5mm}\transparent{.80}\mbox{}%
\begin{beamercolorbox}[ht=42mm,sep=.2cm,center,wd=\@tempdima]{titleframe}
\vspace{-3mm}%
{\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par}%
\mbox{}\vspace{-5mm}{\transparent{.80}\mbox{}%
\hspace{-1cm}\begin{beamercolorbox}[ht=44mm,sep=.2cm,center,wd=\@tempdima]{titleframe}
{\usebeamercolor[fg]{title}\usebeamerfont{title}\inserttitle\par}%
\ifx\insertsubtitle\@empty%
\vskip0.7em%
\vskip0.1em%
{\usebeamerfont{subtitle}\vMaxPhantom\par}%
\else%
\vskip0.7em%
\vskip0.1em%
{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\vMaxPhantom\par}%
\fi%
\vbox{}
@ -91,12 +93,15 @@
\usebeamerfont{date}\usebeamercolor[fg]{date}\insertdate
\end{beamercolorbox}
\end{beamercolorbox}
\vspace{2mm}
\vspace{2mm}}
\begin{beamercolorbox}[ht=\@tempdimb,wd=\@tempdima,ignorebg]{lhWhite}
\end{beamercolorbox}
\vspace{1mm}
\begin{beamercolorbox}[wd=\@tempdima,ignorebg]{lhWhite}
\raisebox{-\fboxsep}{{\setlength{\fboxsep}{0pt}\lhcomLogoLight[width=42mm]}}%
\begin{beamercolorbox}[wd=\@tempdimc,ignorebg]{lhWhite}
\raisebox{-\fboxsep}{{\setlength{\fboxsep}{0pt}
\begin{picture}(0,0)
\put(-10,-4){\colorbox{lhWhite}{\quad\vbox to 10mm{\vfil\hbox to 44mm{\lhcomLogoLight[width=42mm]\enspace}\vfil}}}
\end{picture}}}%
\hfill%
{\partnerLogo[height=4mm]}%
\end{beamercolorbox}

View File

@ -318,15 +318,10 @@
\advance\@tempdima by -6mm%
\@tempdimb=\paperheight%
\advance\@tempdimb by -29mm%
\begin{frame}[plain]
\begin{beamercolorbox}[ht=1mm,sep=.1cm,wd=\@tempdima]{titlerule}
\end{beamercolorbox}
\mbox{}\vspace{-6mm}
\begin{beamercolorbox}[ht=4mm,sep=.2cm,wd=\@tempdima]{titlerule}
\end{beamercolorbox}
\begin{frame}
% \mbox{}\vspace{-5mm}\transparent{.80}\mbox{}%
\begin{beamercolorbox}[ht=.70\@tempdimb,sep=.2cm,center,dp=.3\@tempdimb,wd=\@tempdima]{}
\begin{beamercolorbox}[ht=.48\@tempdimb,sep=.2cm,center,dp=.3\@tempdimb,wd=\@tempdima]{}
\owasp@thanks
\end{beamercolorbox}
\begin{beamercolorbox}[ht=23mm,sep=.2cm,center,wd=\@tempdima]{footer}
@ -419,9 +414,15 @@
\newcommand{\partnerLogo}[1][]{}
\NewEnviron{abstractframe}[1][]{%
\begin{frame}<beamer:0>{plain,label={fra:abstract-en},#1}
\centerline{\emph{\inserttitle: \insertsubtitle}}
\bigskip\begin{abstract}\footnotesize
% \begin{frame}<beamer:0>{plain,label={fra:abstract-en},#1}
\begin{frame}[label={fra:abstract-en},#1]
\begin{center}\LARGE\textcolor{owaspOrange}
{\inserttitle%
\ifx\insertsubtitle\empty\relax%
\else%
: \insertsubtitle%
\fi%
}\end{center} \bigskip\begin{abstract}\footnotesize
\BODY
\end{abstract}\end{frame}
}