diff options
author | Karl Berry <karl@freefriends.org> | 2020-08-20 21:10:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-08-20 21:10:48 +0000 |
commit | 807f068b398c5941246eba117c4d14c205a493f1 (patch) | |
tree | 61f1e5efb084bf79cdc35ef03955a1adb7132edc /Master/texmf-dist/tex/latex | |
parent | 7c46a832ab35fe8fc260808e288b9bb4cd917333 (diff) |
elpres (20aug20)
git-svn-id: svn://tug.org/texlive/trunk@56141 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
6 files changed, 294 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/elpres/elpres.cls b/Master/texmf-dist/tex/latex/elpres/elpres.cls index b1786496d31..f5334dd234d 100644 --- a/Master/texmf-dist/tex/latex/elpres/elpres.cls +++ b/Master/texmf-dist/tex/latex/elpres/elpres.cls @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{elpres}[2020/07/12 class for plain electronic presentations] +\ProvidesClass{elpres}[2020/08/15 class for plain electronic presentations] % % 2004/06/19 v0.1 - initial version % @@ -24,6 +24,8 @@ % new class option `nofonts' for use with lualatex. % - documentation updated % +% 2020/08/15 v0.6 - command `slidetitlecolor' added, color scheme files +% added, most parts of the documentation rewritten % % Options: select fonts @@ -75,18 +77,25 @@ \LoadClass{article} \RequirePackage{ifthen} -\RequirePackage{xcolor} +\RequirePackageWithOptions{xcolor} +\RequirePackage{graphicx} \ifthenelse{\equal{\screenformat}{scr4x3}}{% -\RequirePackage[foot=10.2pt,head=0pt,paperwidth=128mm,paperheight=96mm,left=5mm,top=5mm,right=7mm,bottom=8mm]{geometry}% + \RequirePackage[foot=10.2pt,head=0pt,% + paperwidth=128mm,paperheight=96mm,% + left=5mm,top=5mm,right=7mm,bottom=8mm]{geometry}% }{} \ifthenelse{\equal{\screenformat}{scr16x9}}{% -\RequirePackage[foot=10.2pt,head=0pt,paperwidth=176mm,paperheight=99mm,left=5mm,top=5mm,right=7mm,bottom=8mm]{geometry}% + \RequirePackage[foot=10.2pt,head=0pt,% + paperwidth=176mm,paperheight=99mm,% + left=5mm,top=5mm,right=7mm,bottom=8mm]{geometry}% }{} \ifthenelse{\equal{\screenformat}{scr16x10}}{% -\RequirePackage[foot=10.2pt,head=0pt,paperwidth=160mm,paperheight=100mm,left=5mm,top=5mm,right=7mm,bottom=8mm]{geometry}% + \RequirePackage[foot=10.2pt,head=0pt,% + paperwidth=160mm,paperheight=100mm,% + left=5mm,top=5mm,right=7mm,bottom=8mm]{geometry}% }{} @@ -94,10 +103,6 @@ \RequirePackage{fancyhdr} \renewcommand{\headrulewidth}{0mm} -%% \pagestyle{fancy} -%% \rfoot{\thepage} -%% \cfoot{} -%% \lfoot{} \renewcommand{\maketitle}% {\ClassError{elpres}{Caution: ``maketitle'' command not supported}% @@ -107,17 +112,27 @@ \fancypagestyle{pres}{% \fancyhf{}% -\fancyfoot[RO]{\footnotesize \thepage}% +\rfoot{\footnotesize \thepage}% } +\renewcommand{\rhead}{\ClassError{elpres}{Caution: + command ``rhead'' not supported}} +\renewcommand{\chead}{\ClassError{elpres}{Caution: + command ``chead'' not supported}} +\renewcommand{\lhead}{\ClassError{elpres}{Caution: + command ``lhead'' not supported}} +\renewcommand{\fancyhead}{\ClassError{elpres}{Caution: + ``fancyhead'' not supported}} + \pagestyle{pres} %% menu for navigation symbols \ifthenelse{\equal{\navigation}{withnavi}}{% \hypersetup{menubordercolor=white}% \rfoot{% - \scriptsize% - \textcolor[gray]{0.6}{% + \scriptsize% + \providecolor{epnavigationmenucolor}{rgb}{0.6,0.6,0.6} + \textcolor{epnavigationmenucolor}{% \Acrobatmenu{FirstPage}{$\ll$}\hspace{0.5em}% \Acrobatmenu{PrevPage}{$<$}\hspace{0.5em}% \Acrobatmenu{NextPage}{$>$}\hspace{0.5em}% @@ -135,10 +150,18 @@ \setlength{\parindent}{0mm} %% plain slide -- heading line + +\providecommand{\sli@tico}{black} + +\providecommand{\slidetitlecolor}[1]{% + \renewcommand{\sli@tico}{#1}% +} + \newenvironment{psli}[1][]% - {{\raggedright \large\bfseries #1\par}\par\vspace*{\stretch{1}}}% +{{\raggedright \large\bfseries \textcolor{\sli@tico}{#1}\par}% + \par\vspace*{\stretch{1}}}% {\par\vspace*{\stretch{1}}\newpage} - + %% raw slide -- no heading \newenvironment{rsli}{}{\newpage}% @@ -175,14 +198,33 @@ {\end{description}% \vspace{-0.7ex}}% -\ifthenelse{\equal{\fontna}{tmrfo}}{\RequirePackage{mathptmx}\RequirePackage{courier}}{} -\ifthenelse{\equal{\fontna}{helvetfo}}{\RequirePackage[scaled=0.92]{helvet}\RequirePackage{courier}}{} -\ifthenelse{\equal{\fontna}{initialisiert}}{\renewcommand{\familydefault}{\sfdefault}}{} -\ifthenelse{\equal{\fontna}{withoutfont}}{}{} + \ifthenelse{\equal{\fontna}{tmrfo}}% + {\RequirePackage{mathptmx}% + \RequirePackage{courier}}{} + + \ifthenelse{\equal{\fontna}{helvetfo}}% + {\RequirePackage[scaled=0.92]{helvet}% + \RequirePackage{courier}}{} + + \ifthenelse{\equal{\fontna}{initialisiert}}{\renewcommand{\familydefault}% + {\sfdefault}}{} + + \ifthenelse{\equal{\fontna}{withoutfont}}{}{} \newcommand{\auvimm}[2]{\href{#2}{#1}} \newcommand{\fromlinktext}[2]{\hyperlink{#2}{#1}} \newcommand{\totargettext}[2]{\hypertarget{#2}{#1}} +%% (External): Default colors for defined slide elements, the are modified in +%% style files -- these color names may be used by authors of presentations + +% (External): normal text color +\definecolor{eptextcolor}{rgb}{0,0,0} +\color{eptextcolor} +% (External): highlighted text +\definecolor{ephighlightcolor}{rgb}{0.6,0.1,0.1} +% (External): may be used on the title page +\definecolor{eptitlecolor}{rgb}{0.6,0.1,0.1} + % vim: syntax=tex tw=2048 ai diff --git a/Master/texmf-dist/tex/latex/elpres/elpresbluelightgrayscheme.sty b/Master/texmf-dist/tex/latex/elpres/elpresbluelightgrayscheme.sty new file mode 100644 index 00000000000..fe2353df141 --- /dev/null +++ b/Master/texmf-dist/tex/latex/elpres/elpresbluelightgrayscheme.sty @@ -0,0 +1,45 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{elpresbluelightgrayscheme}[2020/08/15 elpres layout scheme blue lightgray] + +\definecolor{epturquoise}{rgb}{0.1,0.83,0.8} +\definecolor{eplistheadcolor}{rgb}{0.75,0.8,1} % color for list heads +\definecolor{epturquoisealert}{rgb}{0.2,1,1} % for highlighting text + + +\definecolor{alert}{named}{epturquoisealert} % for highlighting text +\definecolor{ephighlightcolor}{rgb}{0.9,0.94,0.1} % Ext: to be used for highlighting text +\definecolor{eptitlecolor}{named}{epturquoise} % Ext: to be used on the title page +\slidetitlecolor{epturquoise} % color for slide titles + +\definecolor{epdarkblue}{rgb}{0.12,0.02,0.5} +\definecolor{epbackgroundcolor}{named}{epdarkblue} +\definecolor{background}{named}{epbackgroundcolor} +\pagecolor{epbackgroundcolor} + +\definecolor{eplinkbordercolor}{rgb}{0.16,0.1,0.75} + +\hypersetup{menubordercolor=epbackgroundcolor,% + linkbordercolor=eplinkbordercolor,% + urlbordercolor= eplinkbordercolor,% + } +% navigation menu border color, color for normal link borders, +% for URLs + +\definecolor{epnavigationmenucolor}{rgb}{0.2,0.2,0.72} % navigation menu symbol color +\definecolor{eptextcolor}{rgb}{0.7,0.7,0.75} % Ext: normal text color +\color{eptextcolor} % Ext: normal text color + +\renewcommand{\labelitemi}{\includegraphics[scale=0.06]{ep-ball-01}} +\renewcommand{\labelitemii}{\includegraphics[scale=0.055]{ep-ball-01}} +\renewcommand{\labelitemiii}{\includegraphics[scale=0.05]{ep-ball-01}} +\renewcommand{\labelitemiii}{\includegraphics[scale=0.045]{ep-ball-01}} + +\renewcommand{\labelenumi}{\textcolor{eplistheadcolor}{\textbf{\theenumi.}}} +\renewcommand{\labelenumii}{\textcolor{eplistheadcolor}{\textbf{\theenumii.}}} +\renewcommand{\labelenumiii}{\textcolor{eplistheadcolor}{\textbf{\theenumiii.}}} +\renewcommand{\labelenumiv}{\textcolor{eplistheadcolor}{\textbf{\theenumiv.}}} + +\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}% + \textcolor{eplistheadcolor}{\textbf{#1}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/elpres/elpresgrayscheme.sty b/Master/texmf-dist/tex/latex/elpres/elpresgrayscheme.sty new file mode 100644 index 00000000000..af5bd77766f --- /dev/null +++ b/Master/texmf-dist/tex/latex/elpres/elpresgrayscheme.sty @@ -0,0 +1,45 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{elpresgrayscheme}[2020/08/15 elpres layout scheme gray] + +\definecolor{epgreen}{rgb}{0.11,0.34,0.3} +\definecolor{eplistheadcolor}{named}{epgreen} % color for list heads +\definecolor{epgreenalert}{rgb}{0.05,0.55,0.35} + +\definecolor{alert}{named}{epgreenalert} % used by overlays package +\definecolor{ephighlightcolor}{rgb}{0.6,0,0.1} % Ext: to be used for highlighting text +\definecolor{eptitlecolor}{named}{epgreen} % Ext: to be used on the title page +\slidetitlecolor{eptitlecolor} % color for slide titles + +\definecolor{epgray}{rgb}{0.8,0.8,0.8} +\definecolor{epbackgroundcolor}{named}{epgray} +\definecolor{background}{named}{epbackgroundcolor} % used by overlays package +\pagecolor{epbackgroundcolor} + +\definecolor{eplinkbordercolor}{rgb}{0.68,0.68,0.65} + +\hypersetup{menubordercolor=epbackgroundcolor,% + linkbordercolor=eplinkbordercolor,% + urlbordercolor= eplinkbordercolor,% + } +% navigation menu border color, color for normal link borders, +% for URLs + +\definecolor{epnavigationmenucolor}{rgb}{0.52,0.52,0.52} % navigation menu symbol color +\definecolor{eptextcolor}{rgb}{0.16,0.16,0.16} % Ext: normal text color +\color{eptextcolor} % Ext: normal text color + + +\renewcommand{\labelitemi}{\includegraphics[scale=0.065]{ep-ball-03}} +\renewcommand{\labelitemii}{\includegraphics[scale=0.055]{ep-ball-03}} +\renewcommand{\labelitemiii}{\includegraphics[scale=0.05]{ep-ball-03}} +\renewcommand{\labelitemiii}{\includegraphics[scale=0.045]{ep-ball-03}} + +\renewcommand{\labelenumi}{\textcolor{eplistheadcolor}{\textbf{\theenumi.}}} +\renewcommand{\labelenumii}{\textcolor{eplistheadcolor}{\textbf{\theenumii.}}} +\renewcommand{\labelenumiii}{\textcolor{eplistheadcolor}{\textbf{\theenumiii.}}} +\renewcommand{\labelenumiv}{\textcolor{eplistheadcolor}{\textbf{\theenumiv.}}} + +\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}% + \textcolor{epgreen}{\textbf{#1}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/elpres/elpreswhitebluescheme.sty b/Master/texmf-dist/tex/latex/elpres/elpreswhitebluescheme.sty new file mode 100644 index 00000000000..9879923cc9d --- /dev/null +++ b/Master/texmf-dist/tex/latex/elpres/elpreswhitebluescheme.sty @@ -0,0 +1,48 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{elpreswhitebluescheme}[2020/08/15 elpres layout scheme white blue] + +\definecolor{epdarkblue}{rgb}{0.12,0.09,0.65} +\definecolor{eplistheadcolor}{named}{epdarkblue} % color for list heads +\definecolor{epbluealert}{rgb}{0.2,0.1,0.82} % for highlighting text + + +\definecolor{alert}{named}{epbluealert} % for highlighting text +\definecolor{ephighlightcolor}{rgb}{0.66,0.03,0.2} % Ext: to be used for highlighting text +\definecolor{eptitlecolor}{named}{epdarkblue} % Ext: to be used on the title page +\slidetitlecolor{epdarkblue} % color for slide titles + +\definecolor{epwhite}{rgb}{1,1,1} +\definecolor{epbackgroundcolor}{named}{epwhite} +\definecolor{background}{named}{epbackgroundcolor} +\pagecolor{epbackgroundcolor} + +\definecolor{eplinkbordercolor}{rgb}{0.83,0.79,0.79} + +\hypersetup{menubordercolor=epbackgroundcolor,% + linkbordercolor=eplinkbordercolor,% + urlbordercolor= eplinkbordercolor,% + } +% navigation menu border color, color for normal link borders, +% for URLs + +\definecolor{epnavigationmenucolor}{rgb}{0.7,0.7,0.76} % navigation menu symbol color +\definecolor{eptextcolor}{rgb}{0.2,0.16,0.16} % Ext: normal text color +\color{eptextcolor} % Ext: normal text color + +\renewcommand{\labelitemi}{\includegraphics[scale=0.06]{ep-ball-05}} +\renewcommand{\labelitemii}{\includegraphics[scale=0.055]{ep-ball-05}} +\renewcommand{\labelitemiii}{\includegraphics[scale=0.05]{ep-ball-05}} +\renewcommand{\labelitemiii}{\includegraphics[scale=0.045]{ep-ball-05}} + +\renewcommand{\labelenumi}{\textcolor{eplistheadcolor}{\textbf{\theenumi.}}} +\renewcommand{\labelenumii}{\textcolor{eplistheadcolor}{\textbf{\theenumii.}}} +\renewcommand{\labelenumiii}{\textcolor{eplistheadcolor}{\textbf{\theenumiii.}}} +\renewcommand{\labelenumiv}{\textcolor{eplistheadcolor}{\textbf{\theenumiv.}}} + +\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}% + \textcolor{epdarkblue}{\textbf{#1}}} + +\definecolor{epverydarkblue}{rgb}{0.06,0.01,0.22} +\color{epverydarkblue} + +\endinput diff --git a/Master/texmf-dist/tex/latex/elpres/elpreswhiteredscheme.sty b/Master/texmf-dist/tex/latex/elpres/elpreswhiteredscheme.sty new file mode 100644 index 00000000000..911873b1f71 --- /dev/null +++ b/Master/texmf-dist/tex/latex/elpres/elpreswhiteredscheme.sty @@ -0,0 +1,48 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{elpreswhiteredscheme}[2020/08/15 elpres layout white red] + +\definecolor{epdarkred}{rgb}{0.6,0.09,0.1} +\definecolor{eplistheadcolor}{named}{epdarkred} % color for list heads +\definecolor{epredalert}{rgb}{0.75,0.2,0.28} % for highlighting text + + +\definecolor{alert}{named}{epredalert} % for highlighting text +\definecolor{ephighlightcolor}{rgb}{0.18,0.03,0.67} % Ext: to be used for highlighting text +\definecolor{eptitlecolor}{named}{epdarkred} % Ext: to be used on the title page +\slidetitlecolor{epdarkred} % color for slide titles + +\definecolor{epwhite}{rgb}{1,1,1} +\definecolor{epbackgroundcolor}{named}{epwhite} +\definecolor{background}{named}{epbackgroundcolor} +\pagecolor{epbackgroundcolor} + +\definecolor{eplinkbordercolor}{rgb}{0.83,0.79,0.79} + +\hypersetup{menubordercolor=epbackgroundcolor,% + linkbordercolor=eplinkbordercolor,% + urlbordercolor= eplinkbordercolor,% + } +% navigation menu border color, color for normal link borders, +% for URLs + +\definecolor{epnavigationmenucolor}{rgb}{0.75,0.7,0.7} % navigation menu symbol color +\definecolor{eptextcolor}{rgb}{0.2,0.16,0.16} % Ext: normal text color +\color{eptextcolor} % Ext: normal text color + +\renewcommand{\labelitemi}{\includegraphics[scale=0.06]{ep-ball-02}} +\renewcommand{\labelitemii}{\includegraphics[scale=0.055]{ep-ball-02}} +\renewcommand{\labelitemiii}{\includegraphics[scale=0.05]{ep-ball-02}} +\renewcommand{\labelitemiii}{\includegraphics[scale=0.045]{ep-ball-02}} + +\renewcommand{\labelenumi}{\textcolor{eplistheadcolor}{\textbf{\theenumi.}}} +\renewcommand{\labelenumii}{\textcolor{eplistheadcolor}{\textbf{\theenumii.}}} +\renewcommand{\labelenumiii}{\textcolor{eplistheadcolor}{\textbf{\theenumiii.}}} +\renewcommand{\labelenumiv}{\textcolor{eplistheadcolor}{\textbf{\theenumiv.}}} + +\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}% + \textcolor{epdarkred}{\textbf{#1}}} + +\definecolor{epverydarkred}{rgb}{0.26,0.1,0.16} +\color{epverydarkred} + +\endinput diff --git a/Master/texmf-dist/tex/latex/elpres/elpreswhitetealscheme.sty b/Master/texmf-dist/tex/latex/elpres/elpreswhitetealscheme.sty new file mode 100644 index 00000000000..833426a25f1 --- /dev/null +++ b/Master/texmf-dist/tex/latex/elpres/elpreswhitetealscheme.sty @@ -0,0 +1,48 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{elpreswhitetealscheme}[2020/08/15 elpres layout scheme white teal] + +\definecolor{epdarkteal}{rgb}{0.02,0.35,0.38} +\definecolor{eplistheadcolor}{named}{epdarkteal} % color for list heads +\definecolor{eptealalert}{rgb}{0.1,0.65,0.68} % for highlighting text + + +\definecolor{alert}{named}{eptealalert} % for highlighting text +\definecolor{ephighlightcolor}{rgb}{0.66,0.03,0.2} % Ext: to be used for highlighting text +\definecolor{eptitlecolor}{named}{epdarkteal} % Ext: to be used on the title page +\slidetitlecolor{epdarkteal} % color for slide titles + +\definecolor{epwhite}{rgb}{1,1,1} +\definecolor{epbackgroundcolor}{named}{epwhite} +\definecolor{background}{named}{epbackgroundcolor} +\pagecolor{epbackgroundcolor} + +\definecolor{eplinkbordercolor}{rgb}{0.83,0.79,0.79} + +\hypersetup{menubordercolor=epbackgroundcolor,% + linkbordercolor=eplinkbordercolor,% + urlbordercolor= eplinkbordercolor,% + } +% navigation menu border color, color for normal link borders, +% for URLs + +\definecolor{epnavigationmenucolor}{rgb}{0.7,0.7,0.76} % navigation menu symbol color +\definecolor{eptextcolor}{rgb}{0.2,0.16,0.16} % Ext: normal text color +\color{eptextcolor} % Ext: normal text color + +\renewcommand{\labelitemi}{\includegraphics[scale=0.06]{ep-ball-04}} +\renewcommand{\labelitemii}{\includegraphics[scale=0.055]{ep-ball-04}} +\renewcommand{\labelitemiii}{\includegraphics[scale=0.05]{ep-ball-04}} +\renewcommand{\labelitemiii}{\includegraphics[scale=0.045]{ep-ball-04}} + +\renewcommand{\labelenumi}{\textcolor{eplistheadcolor}{\textbf{\theenumi.}}} +\renewcommand{\labelenumii}{\textcolor{eplistheadcolor}{\textbf{\theenumii.}}} +\renewcommand{\labelenumiii}{\textcolor{eplistheadcolor}{\textbf{\theenumiii.}}} +\renewcommand{\labelenumiv}{\textcolor{eplistheadcolor}{\textbf{\theenumiv.}}} + +\renewcommand{\descriptionlabel}[1]{\hspace{\labelsep}% + \textcolor{epdarkteal}{\textbf{#1}}} + +\definecolor{epverydarkteal}{rgb}{0.02,0.1,0.12} +\color{epverydarkteal} + +\endinput |