Implemented inverse option.

This commit is contained in:
Achim D. Brucker 2017-01-30 00:46:25 +00:00
parent 9c1728d328
commit c1ca7de716
4 changed files with 40 additions and 2 deletions

View File

@ -0,0 +1,29 @@
%% 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-core}
[2016/11/01 v0.0 LaTeX presentation class implementing the cooperate design of LogicalHacking.com]
\mode<presentation>
\setbeamercolor{background canvas}{bg=black,fg=white}
\setbeamercolor{footer}{bg=lhDarkGray, fg=lhLightGray}
\setbeamercolor{normal text}{fg=white}
\setbeamercolor*{palette primary}{fg=white, bg=lhDarkGray}
\setbeamercolor*{palette secondary}{bg=white,fg=lhDarkGray}
\setbeamercolor*{palette tertiary}{bg=white,fg=lhLightGray}
\setbeamercolor*{palette quaternary}{bg=white,fg=black}
\setbeamercolor{subitem}{parent=item, fg=lhDarkGray}
\setbeamercolor{subsubitem}{parent=subitem,fg=lhLightGray}
\mode
<all>

View File

@ -49,8 +49,8 @@
\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!10!bg}
\setbeamercolor{item}{parent=local structure,fg=lhOrange,bg=lhDarkGray}
\setbeamercolor{subitem}{parent=item, fg=lhLightGray}
\setbeamercolor{subsubitem}{parent=subitem}
\setbeamercolor{subitem}{parent=item, fg=lhDarkGray}
\setbeamercolor{subsubitem}{parent=subitem,fg=lhLightGray}
\setbeamercolor{kicker}{use=structure,bg=lhLightGray}

View File

@ -25,6 +25,10 @@
\setboolean{lh@title@light}{false}
\DeclareOptionX{titlelight}{\setboolean{lh@title@light}{true}}
%
\newboolean{lh@inverse}
\setboolean{lh@inverse}{false}
\DeclareOptionX{inverse}{\setboolean{lh@inverse}{true}}
%
\def\lh@classification@sel@default{5}
\def\lh@classification@sel{5}
\newcommand{\lh@CCBYNCND}{\href{https://creativecommons.org/licenses/by-nc-nd/4.0/}{CC BY-NC-ND 4.0}}
@ -194,6 +198,10 @@
\usecolortheme{lh-core}
\ifthenelse{\boolean{lh@inverse}}{%
\usecolortheme{lh-core-inverse}
}{%
}
\ifthenelse{\boolean{lh@title@light}}{%
\usecolortheme{lh-titlelight}
}{%

View File

@ -15,6 +15,7 @@
\DeclareOptionBeamer{classification}{\PassOptionsToPackage{classification=#1}{beamerthemelh-presentation}}
\DeclareOptionBeamer{titlelight}{\PassOptionsToPackage{titlelight}{beamerthemelh-presentation}}
\DeclareOptionBeamer{inverse}{\PassOptionsToPackage{inverse}{beamerthemelh-presentation}}
\ProcessOptionsBeamer\relax