diff options
19 files changed, 482 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/fancyslides/README b/Master/texmf-dist/doc/latex/fancyslides/README new file mode 100644 index 00000000000..c64d39c2d28 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/README @@ -0,0 +1,33 @@ +Fancyslides +Custom presentation class build upon LaTeX Beamer +Pawel Lupkowski, February 2015 + + +Purpose: +The Fancyslides class is prepared for short presentations with +modern look & feel. It offers the following features: +- custom background for each slide, +- predefined types of slides, +- simplified commands (e.g. for starting and ending slide). + +The class is build upon LaTeX Beamer, so all the commands you +know should work. + +Presentations prepared in Fancyslides should be compiled +with pdflatex. + + +License: +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 + + +Documentation: + +The documentation for the Fancyslides class is in the +file fancyslides.pdf. + +Files example.tex and example.pdf are aslo included to give you an impression of the Fancsyslides look & feel. diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/1.jpg b/Master/texmf-dist/doc/latex/fancyslides/doc/1.jpg Binary files differnew file mode 100644 index 00000000000..1b19e03050e --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/1.jpg diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/2.jpg b/Master/texmf-dist/doc/latex/fancyslides/doc/2.jpg Binary files differnew file mode 100644 index 00000000000..2e2bb83d27e --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/2.jpg diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/blank.jpg b/Master/texmf-dist/doc/latex/fancyslides/doc/blank.jpg Binary files differnew file mode 100644 index 00000000000..b519775ddb3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/blank.jpg diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/blue.png b/Master/texmf-dist/doc/latex/fancyslides/doc/blue.png Binary files differnew file mode 100644 index 00000000000..1820a3e1c86 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/blue.png diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/example.pdf b/Master/texmf-dist/doc/latex/fancyslides/doc/example.pdf Binary files differnew file mode 100644 index 00000000000..8325ef961a8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/example.pdf diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/example.tex b/Master/texmf-dist/doc/latex/fancyslides/doc/example.tex new file mode 100644 index 00000000000..d667fdf0512 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/example.tex @@ -0,0 +1,106 @@ +\documentclass{fancyslides} +\usepackage[utf8]{inputenc} +\usepackage{times} + + +%%% Beamer settings (do not change) +\usetheme{default} +\setbeamertemplate{navigation symbols}{} %no navigation symbols +\setbeamercolor{structure}{fg=\yourowntexcol} +\setbeamercolor{normal text}{fg=\yourowntexcol} + + + +%%%%%%%%%%%%%%%%%%%%%%%%% +%%% CUSTOMISATIONS %%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%% SLIDE ELEMENTS +\newcommand{\structureopacity}{0.75} %opacity for the structure elements (boxes and dots) +\newcommand{\strcolor}{blue} %elements colour (predefined blue; orange; green) + +%%%% TEXT COLOUR +\newcommand{\yourowntexcol}{white} + + + +%%%%%%%%%%%%%%%%%%%%%%%%% +%%% TITLE SLIDE DATA %%%% +%%%%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\titlephrase}{MAKE YOUR POINT CLEAR WITH FANCYSLIDES} +\newcommand{\name}{Your Name} +\newcommand{\affil}{Company} +\newcommand{\email}{your.email@domain.com} + + + + + +\begin{document} + + + + + + + +\startingslide %this generates titlepage from the data above + + + + +\fbckg{1} +\begin{frame} +\pointedsl{your point} +\end{frame} + + +\fbckg{2} +\begin{frame} +\framedsl{explained clearly} +\end{frame} + + +\fbckg{2} +\begin{frame} +\itemized{ +\item BEAMER EASE OF USE +\item MODERN LOOK \& FEEL +} +\end{frame} + + + + + + +\fbckg{2} +\begin{frame} +\framedsl{\pitem{pointed slogan} \pitem{framed slogan} \fitem{beamer features}} +\end{frame} + + + + + + + +\fbckg{1} +\begin{frame} + \thankyou %%%% ending slide with thank you notice +\end{frame} + + + + + +\fbckg{blank} +\begin{frame} +\sources{ +\includegraphics[scale=0.048]{1} \ flickr/lovelornpoets\\ +\includegraphics[scale=0.2]{2} \ flickr/apsmuseum +} +\end{frame} + + +\end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/fancyslides.pdf b/Master/texmf-dist/doc/latex/fancyslides/doc/fancyslides.pdf Binary files differnew file mode 100644 index 00000000000..3ae40ba1c52 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/fancyslides.pdf diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/fancyslides.tex b/Master/texmf-dist/doc/latex/fancyslides/doc/fancyslides.tex new file mode 100644 index 00000000000..0498e808746 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/fancyslides.tex @@ -0,0 +1,164 @@ +\documentclass[11pt]{article} +\usepackage[utf8]{inputenc} +\usepackage{times} +\usepackage{graphicx} +\usepackage{subfigure} + +\title{\includegraphics[scale=1]{fs}} +\author{Paweł Łupkowski\\pawel.lupkowski@gmail.com} +\date{\today} + + + +\begin{document} +\maketitle + + +\section*{Introduction} + +\noindent +The \textit{Fancyslides} class is prepared for short presentations with modern look \& feel. It offers the following features: +\begin{itemize} +\item custom background for each slide, +\item predefined types of slides, +\item simplified commands (e.g. for starting and ending slide). +\end{itemize} + +The class is build upon \LaTeX{} Beamer, so all the commands you know should work. + + +\section*{Compilation} + +\noindent +Presentations prepared in \textit{Fancyslides} should be compiled with \textbf{pdflatex}\\ (see example.tex). + + +\section*{Author, title and stuff} + +To add author, title, affiliation and email information use the following commands from the preamble: + +\begin{verbatim} +\newcommand{\titlephrase}{MAKE YOUR POINT CLEAR...} +\newcommand{\name}{Your Name} +\newcommand{\affil}{Organisation} +\newcommand{\email}{your.email@domain.com} +\end{verbatim} + + +To generate the title slide use the command {\tt \textbackslash startingslide} after the begin document command. There is no need to put the {\tt \textbackslash startingslide} command inside the {\tt frame} environment. Title slide looks like the one presented in Figure \ref{fig:1}. + + +\section*{Slides} + +A slide structure is the following: + +\begin{verbatim} +\fbckg{1} +\begin{frame} +\pointedsl{your point} +\end{frame} +\end{verbatim} + +So, to generate slide you use standard Beamer's \texttt{frame} environment. Before the opening command you should put {\tt \textbackslash fbckg\{ \}} command. As an argument you put the name of a picture to set as a background image for the slide. + +Inside the \texttt{frame} environment you may put the following predefined commands (see Figure \ref{fig:2}): +\begin{itemize} +\item {\tt \textbackslash pointedsl\{your point\}} -- to generate slide with a point with a text inside (only one line of text is allowed here); +\item \texttt{\textbackslash framedsl\{explained clearly\}} -- to generate a slide with a frame with a text inside (linebreaks are possible) +\item {\tt \textbackslash itemized\{\textbackslash item BEAMER EASE OF USE \textbackslash item STH \textbackslash item STH ELSE\}} -- slide with a frame and itemize environment inside. To introduce new item simply use {\tt \textbackslash item} command. There is no need to open and close the itemize environment; +\item {\tt \textbackslash misc\{\ anything you want \}} -- slide with a frame to put anything you like inside it (e.g. a barchart or a picture, quotation etc.). +\item {\tt \textbackslash sources\{\ list of resources \}} -- slide with a~frame and `SOURCES' note, designed to provide information about sources of graphics or fonts used. +\end{itemize} + + +\begin{figure} + \centering +\mbox{\subfigure[pointedsl]{\includegraphics[scale=0.12]{point}} \quad +\subfigure[framedsl]{\includegraphics[scale=0.12]{frame}} \quad +\subfigure[itemized]{\includegraphics[scale=0.12]{item}} } + \caption{Three predefined slide types} + \label{fig:2} +\end{figure} + +\noindent +If you want to \textbf{uncover} your content \textbf{step by step} you can use the {\tt \textbackslash pitem} command inside {\tt framedsl}. Simply put your point as an argument of {\tt pitem}. {\tt pitem} will generate an item with {\tt pause} at the end. The last item should be introduced by the {\tt fitem} command (no {\tt pause} after this command is used). + +\begin{verbatim} +\fbckg{7} +\begin{frame} +\framedsl{\pitem{pointed slogan} \pitem{framed slogan} +\pitem{beamer features} \fitem{fonts with xelatex}} +\end{frame} +\end{verbatim} + + +To generate the {\bf end slide} with thank you note simply use {\tt \textbackslash thankyou} command inside the \texttt{frame} environment. (This will generate \texttt{pointedsl} with THANK YOU note inside.) +\begin{verbatim} +\fbckg{your background} +\begin{frame} + \thankyou +\end{frame} +\end{verbatim} + + + + +\section*{Structure elements: opacity and colour} + +To change the opacity for the structure elements (boxes and dots) change the value in +\begin{verbatim} +\newcommand{\structureopacity}{0.75} +\end{verbatim} + + +To change the colour of the structure elements use the following command: +\begin{verbatim} +\newcommand{\strcolor}{orange} +\end{verbatim} +Three colours are predefined (see Figure \ref{fig:1}): +\begin{itemize} +\item blue +\item green +\item orange +\end{itemize} + +\begin{figure} + \centering +\mbox{\subfigure[blue]{\includegraphics[scale=0.12]{blue}} \quad +\subfigure[green]{\includegraphics[scale=0.12]{green}} \quad +\subfigure[orange]{\includegraphics[scale=0.12]{orange}} } + \caption{Three predefined colours for structure elements} + \label{fig:1} +\end{figure} + +\noindent +To change a text colour use the command +\begin{verbatim} +\newcommand{\yourowntexcol}{colour name} +\end{verbatim} +where you can put your desired colour name as an argument. + +You can also define your own colour (using RGB values) and use it in this command.\footnote{Easiest way to do this is to use the Inkscape. Simply draw a rectangle and pick up a colour you would like to use. Then choose \textit{Save as...} and point \textit{\LaTeX\ with Pstricks}. Afterwards you may open the result *.tex file and copy the colour definition from it.} + + + + +\section*{Fancyslides package} +The \textit{Fancyslides} package contains: +\begin{itemize} +\item \textit{fancyslides.cls} -- document class; +\item \textit{example.tex} -- an exemplary file ready to compile it with \textit{pdflatex}; +\item \textit{example.pdf} -- a compiled example, to give you an impression of the \textit{Fancsyslides} look \& feel; +\item \textit{blank.jpg}, \textit{1.jpg} and \textit{2.jpg} -- exemplary background graphics; +\item \textit{fancyslides.pdf} -- this short intro. +\end{itemize} + + + +\section*{Acknowledgments} +I would like my thanks to B.~Marciniak, K.~Paluszkiewicz, M.~Urbański, I.~Furió and S.~Wawrykiewicz for testing, helpful comments and remarks. + + + + +\end{document} diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/frame.png b/Master/texmf-dist/doc/latex/fancyslides/doc/frame.png Binary files differnew file mode 100644 index 00000000000..32db6233f6b --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/frame.png diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/fs.pdf b/Master/texmf-dist/doc/latex/fancyslides/doc/fs.pdf Binary files differnew file mode 100644 index 00000000000..4621e6d2e76 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/fs.pdf diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/green.png b/Master/texmf-dist/doc/latex/fancyslides/doc/green.png Binary files differnew file mode 100644 index 00000000000..8220bd15266 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/green.png diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/item.png b/Master/texmf-dist/doc/latex/fancyslides/doc/item.png Binary files differnew file mode 100644 index 00000000000..c02e7f3adc3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/item.png diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/orange.png b/Master/texmf-dist/doc/latex/fancyslides/doc/orange.png Binary files differnew file mode 100644 index 00000000000..adc9a808267 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/orange.png diff --git a/Master/texmf-dist/doc/latex/fancyslides/doc/point.png b/Master/texmf-dist/doc/latex/fancyslides/doc/point.png Binary files differnew file mode 100644 index 00000000000..7f4f588da71 --- /dev/null +++ b/Master/texmf-dist/doc/latex/fancyslides/doc/point.png 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 diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index bd81bae7a3f..cf81cc0d096 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -204,7 +204,7 @@ my @TLP_working = qw( extpfeil extract extsizes facsimile factura facture faktor fancybox fancyhdr fancyhdr-it fancylabel fancynum fancypar - fancyref fancytabs fancytooltips fancyvrb fandol + fancyref fancyslides fancytabs fancytooltips fancyvrb fandol FAQ-en fast-diagram fbb fbithesis fbs fc fcltxdoc fdsymbol featpost fenixpar fetamont feupphdteses feyn feynmf feynmp-auto fge diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc index 8deebdd297e..c62ed0bcd48 100644 --- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc @@ -296,6 +296,7 @@ depend factura depend fancylabel depend fancynum depend fancypar +depend fancyslides depend fancytabs depend fancytooltips depend fifo-stack diff --git a/Master/tlpkg/tlpsrc/fancyslides.tlpsrc b/Master/tlpkg/tlpsrc/fancyslides.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/fancyslides.tlpsrc |