Compare commits

...

5 Commits

Author SHA1 Message Date
Achim D. Brucker 3aa4a1caac Initial commit. 2017-04-20 20:31:56 +01:00
Achim D. Brucker 033a1b14d6 Initial commit. 2017-04-19 22:52:23 +01:00
Achim D. Brucker ef53e26b4b Initial commit. 2017-04-18 20:27:23 +01:00
Achim D. Brucker 143562efc5 Initial setup for regular headline. 2017-04-17 06:16:19 +01:00
Achim D. Brucker 6668c70139 Basic color setup. 2017-04-16 21:45:12 +01:00
6 changed files with 381 additions and 0 deletions

View File

@ -0,0 +1,26 @@
%% Copyright (C) 2016 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]
\ProvidesPackage{beamercolorthemelh-poster}
[2017/04/14 v0.0 LaTeX poster class implementing the cooperate design of LogicalHacking.com]
\mode<presentation>
\ifthenelse{\boolean{lh@inverse}}{%
\setbeamercolor{block title}{fg=white bg=lhOrange}
\setbeamercolor{block body}{fg=lhCyanDark, bg=white}
}{
\setbeamercolor{headline}{fg=lhWhite, bg=lhDarkGray}
\setbeamercolor{block title}{fg=lhOrange, bg=lhBlack}
\setbeamercolor{block body}{fg=black, bg=lhWhite}
}
\mode
<all>

View File

@ -0,0 +1,85 @@
%% 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.
%%
\ProvidesPackage{beamerthemelh-poster}
[2017/04/14 v0.0 LaTeX poster class implementing the cooperate design of LogicalHacking.com]
\usetheme{lh-presentation}
\usefonttheme{lh-poster}
\usecolortheme{lh-poster}
\setbeamertemplate{rhlogo}{}
\setbeamertemplate{webpage}{www.brucker.ch}
\newlength{\logoheight}
\newlength{\titleheight}
\newlength{\headlinewidth}
\newlength{\rhlogowidth}
\usepackage{calc}
\setlength{\logoheight}{4cm}%
\setlength{\rhlogowidth}{0cm}%
\setlength{\headlinewidth}{.9\paperwidth}%
\mode<presentation>
\setbeamertemplate{headline}{
\setlength{\headlinewidth}{\paperwidth-4cm}%
\leavevmode%
\vskip15mm\hspace{2cm}%
\begin{minipage}{\paperwidth}
\begin{beamercolorbox}[wd=\headlinewidth]{headline}
\begin{minipage}[t][\logoheight+3cm][t]{8cm}
\begin{tikzpicture}[overlay,remember picture]
\node[anchor=north west,yshift=-3.7cm,xshift=4cm]
at (current page.north west) {
\ifthenelse{\boolean{lh@inverse}}{%
\lhLogoLight[height=\logoheight]
}{
\lhLogoDark[height=\logoheight]
}
};
\end{tikzpicture}
\end{minipage}%
\begin{minipage}[t][\logoheight+5cm][t]{\headlinewidth-16cm}
\vspace*{\fill}
\begin{center}
\usebeamercolor[fg]{title}%
\usebeamerfont{title}\inserttitle\\[1ex]
\usebeamerfont{author}\insertauthor\\[1ex]
\usebeamerfont{institute}\insertinstitute\\[1ex]
\vspace*{\fill}
\end{center}
\end{minipage}%
\end{beamercolorbox}
\begin{minipage}[t][\logoheight+2cm][t]{8cm}
\usebeamertemplate*{rhlogo}%
\end{minipage}
\end{minipage}
}
\setbeamertemplate{block begin}{
\vskip.75ex
\begin{beamercolorbox}[rounded=false,shadow=true,leftskip=1cm,colsep*=0.75ex]{block title}%
\usebeamerfont*{block title}\insertblocktitle
\end{beamercolorbox}%
{\ifbeamercolorempty[bg]{block body}{}{\nointerlineskip\vskip-0.5pt}}%
\usebeamerfont{block body}%
\begin{beamercolorbox}[rounded=true,shadow=false,colsep*=.75ex,sep=.75ex,vmode]{block body}%
\ifbeamercolorempty[bg]{block body}{\vskip-.25ex}{\vskip-.75ex}\vbox{}%
}
\setbeamertemplate{block end}{
\end{beamercolorbox}
}
\mode<all>
\endinput

47
lh-poster/example.tex Normal file
View File

@ -0,0 +1,47 @@
%\documentclass[orientation=landscape,size=a1,scale=1.2]{lh-poster}
\documentclass[inverse,orientation=landscape,size=a1,scale=1.2]{lh-poster}
%\documentclass[orientation=portrait,size=a1,scale=1.2]{lh-poster}
%\documentclass[inverse,orientation=portrait,size=a1,scale=1.2]{lh-poster}
\title{A Simple Poster Example}
\subtitle{}
\institute[The University of Sheffield]
{Department of Computer Science, The University of Sheffield, Sheffield, UK}
\author[A.D. Brucker]{Achim D. Brucker\\[0.2em]
\texttt{\small\href{mailto:"Achim D. Brucker"
<a.brucker@sheffield.ac.uk>}{a.brucker@sheffield.ac.uk}}
}
%%
% \setbeamertemplate{rhlogo}{\includegraphics[width=6cm]{partnerlogo}}
\begin{document}
\begin{frame}
\begin{columns}[t]
\begin{column}{.32\textwidth}
\begin{block}{Test Title}
\begin{itemize}
\item First item.
\item Second item.
\item Third item.
\end{itemize}
\end{block}
\begin{block}{Test Title}
Some text \ldots
\end{block}
\end{column}
\begin{column}{.32\textwidth}
\begin{block}{Test Title}
\end{block}
\begin{block}{Test Title}
\end{block}
\end{column}
\begin{column}{.32\textwidth}
\begin{block}{Test Title}
\end{block}
\begin{block}{Test Title}
\end{block}
\end{column}
\end{columns}
\end{frame}
\end{document}

19
lh-poster/lh-poster.cls Normal file
View File

@ -0,0 +1,19 @@
%% 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{lh-poster}%
[2017/04/14 v0.0 LaTeX poster class implementing the cooperate design of LogicalHacking.com]
\RequirePackage{ifthen}
\LoadClassWithOptions{beamer}[]
\ProcessOptions\relax
\usetheme{lh-poster}
\usepackage{beamerposter}
\endinput

BIN
lh-presentation/example.pdf Normal file

Binary file not shown.

204
lh-presentation/example.tex Normal file
View File

@ -0,0 +1,204 @@
%\documentclass[aspectratio=169,classification=confidential]{lh-presentation}
\documentclass[inverse,aspectratio=169,classification=confidential]{lh-presentation}
\usepackage[utf8]{inputenc}
\title{A Beamer-theme for LogicalHacking.com}
\subtitle{Example presentation}
\institute[The University of Sheffield]
{Department of Computer Science, The University of Sheffield, Sheffield, UK}
\author[A.D. Brucker] {%
\href{http://www.brucker.uk/}{Achim D. Brucker}\\
\texttt{\footnotesize\href{mailto:"Achim D. Brucker"
<a.brucker@sheffield.ac.uk>}{a.brucker@sheffield.ac.uk}
\hspace{.6cm}
\url{http://www.brucker.uk/}}
}
\titlevisual{visuals/lh-title-visual-code-dark}
\contactauthor{Dr. Achim D. Brucker}
\contactemail{a.brucker@sheffield.ac.uk}
\contacttwitter{adbrucker}
\contactlinkedin{https://de.linkedin.com/in/adbrucker/}
\contactwww{https://www.brucker.ch/}
\contactblog{https://logicalhacking.com/blog/}
\DeclareTextCommand{\nobreakspace}{T1}{\leavevmode\nobreak\ }
\begin{document}
\begin{frame}[plain]
\maketitle
\end{frame}
\AgendaFrame
\section{Introduction}
\subsection{A few example slides}
\frame{\sectionpage}
%\begin{frame}[classification={public-cc-by}]
\begin{frame}[classification={confidential}]
\frametitle{A standard slide}
\framesubtitle{With a frame subtitle}
\begin{itemize}
\item Only first word of slide title \ldots
\begin{itemize}
\item And a second level
\begin{itemize}
\item Officially, a third level should be avoided
\end{itemize}
\end{itemize}
\end{itemize}
\[ x = \sum_{i=0}^{-\infty}\sqrt{-i}\]
\begin{itemize}
\item rm: {\rmfamily The quick {\mdseries brown fox} \emph{jumps over} \textbf{the lazy's doc back}}
\item sf: {\sffamily The quick {\mdseries brown fox} \emph{jumps over} \textbf{the lazy's doc back}}
\item tt: {\ttfamily The quick {\mdseries brown fox} \emph{jumps over} \textbf{the lazy's doc back}}
\item {\Huge Huge} {\huge huge} {\Large Large} {\large large} {\normalsize normal} {\small small}
{\footnotesize footnote} {\scriptsize scriptsize} {\tiny tiny}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Block Examples}
\begin{block}{Regular Block}
asdfsaf asdf asdfasdf asdf
\end{block}
\begin{alertblock}{Alert Block}
asdfsaf asdf asdfasdf asdf
\end{alertblock}
\begin{exampleblock}{Example Block}
asdfsaf asdf asdfasdf asdf
\end{exampleblock}
heorem
I
corollary
I
definition
I
definitions
I
fact
I
example
I
examples
I
proof
\end{frame}
\begin{frame}
A Frame without Title \ldots
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
asdf asdf af
\end{frame}
\section{Conclusion}
\subsection{Concluding remarks}
\frame{\sectionpage}
\begin{frame}[plain,classification=confidential]
\frametitle{A plain slide}
\framesubtitle{With a frame subtitle}
\begin{itemize}
\item Only first word of slide title \ldots
\begin{itemize}
\item And a second level
\begin{itemize}
\item Officially, a third level should be avoided
\end{itemize}
\end{itemize}
\end{itemize}
\[ x = \sum_{i=0}^{-\infty}\sqrt{-i}\]
\end{frame}
\ThanksFrame
\CopyrightFrame
\PartFrame[white][lhMagentaDark]{New Chapter}
\section{Another Section}
\frame{\sectionpage}
\begin{frame}
\frametitle{Conclusion}
\end{frame}
\end{document}