From e70151a9037e528a4aa4ccf9c86868fe745d726f Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 13 Feb 2015 00:20:41 +0000
Subject: fancyslides (12feb15)

git-svn-id: svn://tug.org/texlive/trunk@36263 c570f23f-e606-0410-a88d-b1316a301751
---
 .../tex/latex/fancyslides/fancyslides.cls          | 177 +++++++++++++++++++++
 1 file changed, 177 insertions(+)
 create mode 100644 Master/texmf-dist/tex/latex/fancyslides/fancyslides.cls

(limited to 'Master/texmf-dist/tex/latex/fancyslides/fancyslides.cls')

diff --git a/Master/texmf-dist/tex/latex/fancyslides/fancyslides.cls b/Master/texmf-dist/tex/latex/fancyslides/fancyslides.cls
new file mode 100644
index 00000000000..0b16d79b344
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/fancyslides/fancyslides.cls
@@ -0,0 +1,177 @@
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{fancyslides}[2015/02/12 my custom beamer slides class]
+\LoadClassWithOptions{beamer}
+
+
+
+%%%% this is a custom class for preparing presentations
+%%%% contact me if anything goes wrong
+%%%% or you want to contribute to the work
+%%%% pawel.lupkowski@gmail.com
+
+%%%  Version: 1.0
+
+%%%% first release: 24.05.2013
+%%%% corrections and improvements
+%%%% May 2013 minor corrections and improvements (custom colours added).
+%%%% Feb 2015 handout option allowed, solution by Ignasi Furio, (http://tex.stackexchange.com/) - thank you.
+%%%% Many thanks to Staszek Wawrykiewicz for his helpful comments and advices.
+
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3a of this license or (at your option) any later
+%% version. The latest version of this license is in:
+%% http://www.latex-project.org/lppl.txt
+
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%% PACKAGES %%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\RequirePackage{framed}    %% FOR FRAMED SLOGANS
+\RequirePackage{tikz}      %% FOR POINTED SLOGANS
+
+
+%%% redefines points for itemize
+\setbeamertemplate{itemize items}{$\bullet$}
+\newcommand{\fitem}[1]{$\bullet$~#1 \ }
+\newcommand{\pitem}[1]{$\bullet$~#1 \pause}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%% FRAMES FOR SLOGANS %%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\newenvironment{mybox}{%
+  \def\FrameCommand{\fboxsep=1cm \colorbox{\strcolor}}%
+  \MakeFramed {\FrameRestore}}%
+ {\endMakeFramed}
+
+
+\newenvironment{mybox2}{%
+  \def\FrameCommand{\fboxsep=1cm \colorbox{white}}%
+  \color{red}\MakeFramed {\FrameRestore}}%
+ {\endMakeFramed}
+
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%% COLOURS            %%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\definecolor{white}{rgb}{1,1,1}
+\definecolor{red}{rgb}{0,0,0}
+\definecolor{grey}{rgb}{0.90196079, 0.90196079, 0.90196079}
+\definecolor{blue}{rgb}{0.12941177, 0.45882353, 0.60784316}
+\definecolor{green}{rgb}{0.44313726 0.78431374 0.21568628}
+\definecolor{orange}{rgb}{1 0.49803922 0.16470589}
+
+
+
+\newcommand{\customtextcol}[1]{#1} %text inside boxes and dots
+
+\newcommand{\slogan}[1]{\Huge \MakeUppercase{#1}} %text inside boxes and dots
+\newcommand{\fbckg}[1]{\usebackgroundtemplate{\includegraphics[width=\paperwidth]{#1}}}%frame background
+
+\newcommand{\thankyou}{\pointedsl{thank you}} %% thank you slide
+
+%%% defines pointed slogan
+\newcommand{\pointedsl}[1]{
+\pgfsetfillopacity{\structureopacity}
+\begin{center}
+\tikz{ \fill[\strcolor] (0,0) circle (20ex);
+\pgfsetfillopacity{1}
+\node at (0,0) {
+{\slogan{#1}}
+};
+}%%
+\end{center}
+}
+
+
+%%% defines framed slogan
+\newcommand{\framedsl}[1]{
+\pgfsetfillopacity{\structureopacity}
+  \begin{mybox}
+\pgfsetfillopacity{1}
+\begin{center}
+  {\slogan{#1}}
+\end{center}
+\end{mybox}
+}
+
+
+
+%%% itemised list frame
+\newcommand{\itemized}[1]{
+\pgfsetfillopacity{\structureopacity}
+  \begin{mybox}
+\pgfsetfillopacity{1}
+\begin{center}
+\begin{Large}
+\begin{itemize}
+\pgfsetfillopacity{1}
+#1
+\end{itemize}
+\end{Large}
+\end{center}
+\end{mybox}
+}
+
+
+
+
+%%% starting slide
+\newcommand{\startingslide}[1]{
+\begin{frame}
+\pgfsetfillopacity{\structureopacity}
+  \begin{mybox}
+\pgfsetfillopacity{1}
+\begin{center}
+{\Huge \titlephrase
+   
+}
+    
+\end{center}
+\end{mybox}
+
+\vspace{-1.5cm}
+
+\pgfsetfillopacity{0.60}
+\begin{mybox2}
+\pgfsetfillopacity{0.80}
+\name \ $\bullet$ \  \affil \ $\bullet$ \ \email
+\end{mybox2}
+\end{frame}
+}
+
+
+
+
+%%% misc slide: for putting different stuff into it
+\newcommand{\misc}[1]{
+\pgfsetfillopacity{\structureopacity}
+  \begin{mybox}
+\pgfsetfillopacity{1}
+#1
+\end{mybox}
+}
+
+
+%%% sources slide
+\newcommand{\sources}[1]{
+\pgfsetfillopacity{\structureopacity}
+\begin{mybox}
+\begin{block}{{\Huge \bf SOURCES}}
+\pgfsetfillopacity{1}
+~\\
+#1
+\end{block}
+\end{mybox}  
+}
+
+
+
+\endinput
\ No newline at end of file
-- 
cgit v1.2.3

