summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/sslides
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-12-01 23:01:40 +0000
committerKarl Berry <karl@freefriends.org>2013-12-01 23:01:40 +0000
commit64eeb6fa76f5cca3ef7bedf009c7287a45ef1cb0 (patch)
tree8047846c229e1b61d8e5e5abde2f90014847d59d /Master/texmf-dist/tex/latex/sslides
parent0cafab810427066ef74ce1638b707994839c6598 (diff)
sslides (1dec13)
git-svn-id: svn://tug.org/texlive/trunk@32293 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/sslides')
-rw-r--r--Master/texmf-dist/tex/latex/sslides/sslides.cls52
1 files changed, 52 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/sslides/sslides.cls b/Master/texmf-dist/tex/latex/sslides/sslides.cls
new file mode 100644
index 00000000000..f5feaca8172
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/sslides/sslides.cls
@@ -0,0 +1,52 @@
+%%
+%% LaTeX class file based on slides class.
+%%
+%% sslides.cls
+%% Copyright 2013 Behzad Salimi
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3
+% of this license or any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3 or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Behzad Salimi
+% sites.google.com/site/quadratures
+%
+% This work consists of the files:
+%
+% land-sample-slide.pdf
+% land-sample-slide.tex
+% port-sample-slide.pdf
+% port-sample-slide.tex
+% sslides.cls
+
+% This class file is to set up LaTeX-slides with header and footer.
+
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{sslides}[2010/08/22 Custom LaTeX minimal class]
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{slides}}
+\ProcessOptions
+\LoadClass{slides}
+
+\newcommand{\oddh}[1]{\def\ohead{#1}}
+\newcommand{\oddf}[1]{\def\ofoot{#1}}
+\newcommand{\evenh}[1]{\def\ehead{#1}}
+\newcommand{\evenf}[1]{\def\efoot{#1}}
+
+\def\ps@headings{%
+\def\ps@slide{\def\@oddhead{\ohead}\def\@oddfoot{\ofoot}%
+\def\@evenhead{\ehead}\def\@evenfoot{\efoot}}%
+\def\ps@overlay{\def\@oddhead{\ohead}\def\@oddfoot{\ofoot}%
+\def\@evenhead{\ehead}\def\@evenfoot{\efoot}}%
+\def\ps@note{\def\@oddhead{\ohead}\def\@oddfoot{\ofoot}%
+\def\@evenhead{\ehead}\def\@evenfoot{\efoot}}}
+% Initialize
+\oddh{}\oddf{}\evenh{}\evenf{}
+\pagestyle{headings}
+