logicalhacking-latex/lh-presentation/beamerinnerthemelh.sty

81 lines
2.7 KiB
Plaintext
Raw Normal View History

2016-11-20 06:06:16 +00:00
%% 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]
2016-11-24 07:54:31 +00:00
\ProvidesPackage{beamercolorthemelh}
2016-11-20 06:06:16 +00:00
[2016/11/01 v0.0 LaTeX presentation class implementing the cooperate design of LogicalHacking.com]
\usepackage{transparent}
\mode<presentation>
\setbeamertemplate{sections/subsections in toc}[square]
2016-12-27 23:17:29 +00:00
\setbeamertemplate{items}[square] % [circle]
2016-11-20 06:06:16 +00:00
\defbeamertemplate*{title page}{lh}[1][]
{
% <background image>
\setbox\beamer@tempbox=\vbox to \paperheight {\vfil
\hbox to \paperwidth{%
\ifx\inserttitlegraphic\@empty%
\else%
\inserttitlegraphic\hyper@pagetransition\hyper@pageduration%
\fi%
}%
\vfil}%
\vbox{\hbox{\hskip-\Gm@lmargin\box\beamer@tempbox\box\@tempboxa}}%
\vskip-\paperheight%
% </background image>
2016-11-20 06:06:16 +00:00
\@tempdima=\paperwidth%
\advance\@tempdima by -6mm
\advance\@tempdima by 0mm
\@tempdimb=\paperheight
\advance\@tempdimb by -52mm
\mbox{}\vspace{-8mm}
2016-12-21 23:59:51 +00:00
\begin{beamercolorbox}[ht=1mm,sep=.1cm,wd=\@tempdima]{titlerule}
2016-11-20 06:06:16 +00:00
\end{beamercolorbox}
\mbox{}\vspace{-6mm}
2016-12-21 23:59:51 +00:00
\begin{beamercolorbox}[ht=4mm,sep=.2cm,wd=\@tempdima]{titlerule}
2016-11-20 06:06:16 +00:00
\end{beamercolorbox}
\mbox{}\vspace{-5mm}\transparent{.75}\mbox{}%
2016-12-21 23:59:51 +00:00
\begin{beamercolorbox}[ht=40mm,sep=.2cm,wd=\@tempdima]{titleframe}
2016-11-20 06:06:16 +00:00
\vspace{-2mm}%
2016-12-21 23:59:51 +00:00
{\usebeamerfont{title}\usebeamercolor[fg]{title}\inserttitle\par%
2016-11-20 06:06:16 +00:00
\ifx\insertsubtitle\@empty%
\else%
\vskip0.25em%
}{\usebeamerfont{subtitle}\usebeamercolor[fg]{subtitle}\insertsubtitle\par}%
\fi%
\vbox{}
\vfill
\begin{beamercolorbox}[sep=4pt,center,#1]{author}
2016-12-21 23:59:51 +00:00
\usebeamerfont{author}\usebeamercolor[fg]{author}\insertauthor
2016-11-20 06:06:16 +00:00
\end{beamercolorbox}
\begin{beamercolorbox}[sep=4pt,center,#1]{institute}
2016-12-21 23:59:51 +00:00
\usebeamerfont{institute}\usebeamercolor[fg]{institute}\insertinstitute
2016-11-20 06:06:16 +00:00
\end{beamercolorbox}
\begin{beamercolorbox}[sep=4pt,center,#1]{date}
2016-12-21 23:59:51 +00:00
\usebeamerfont{date}\usebeamercolor[fg]{date}\insertdate
\end{beamercolorbox}
\end{beamercolorbox}
\vspace{2mm}
2016-11-20 06:06:16 +00:00
\begin{beamercolorbox}[ht=\@tempdimb,wd=\@tempdima,ignorebg]{white}
\end{beamercolorbox}
\vspace{1mm}
\begin{beamercolorbox}[wd=\@tempdima,ignorebg]{white}
2016-11-28 19:35:06 +00:00
\raisebox{-\fboxsep}{{\setlength{\fboxsep}{0pt}\lhcomLogoDark[width=34mm]}}
2016-11-20 06:06:16 +00:00
\hfill%
{\partnerLogo[height=4mm]}%
\end{beamercolorbox}
2016-12-21 23:59:51 +00:00
\begin{beamercolorbox}[ht=16mm,sep=.2cm,wd=\@tempdima,ignorebg]{titlerule}
2016-11-20 06:06:16 +00:00
\end{beamercolorbox}
}
\mode<all>