diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 00:02:12 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 00:02:12 +0000 |
commit | 74b27b0f613cdf35c980b95c5902d399593349ab (patch) | |
tree | 78814c84fd2b60188b23adf0a4b2a40f9e749f39 /Master | |
parent | 3ef5de5acd1d59a12ca142cd00acd96c490473bb (diff) |
pdfslide
git-svn-id: svn://tug.org/texlive/trunk@1183 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfslide/bg.jpg | bin | 0 -> 10933 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfslide/d12.jpg | bin | 0 -> 42173 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfslide/metablue.pdf | bin | 0 -> 2951 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfslide/metagray.pdf | bin | 0 -> 2945 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfslide/metagreen.pdf | bin | 0 -> 2953 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfslide/metalgray.pdf | bin | 0 -> 2944 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfslide/pdfslide.cfg | 45 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfslide/pdfslide.sty | 336 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pdfslide/slide.clo | 171 |
9 files changed, 552 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/pdfslide/bg.jpg b/Master/texmf-dist/tex/latex/pdfslide/bg.jpg Binary files differnew file mode 100644 index 00000000000..12fd12f0f04 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pdfslide/bg.jpg diff --git a/Master/texmf-dist/tex/latex/pdfslide/d12.jpg b/Master/texmf-dist/tex/latex/pdfslide/d12.jpg Binary files differnew file mode 100644 index 00000000000..05150d3fae7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pdfslide/d12.jpg diff --git a/Master/texmf-dist/tex/latex/pdfslide/metablue.pdf b/Master/texmf-dist/tex/latex/pdfslide/metablue.pdf Binary files differnew file mode 100644 index 00000000000..a609f4f9025 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pdfslide/metablue.pdf diff --git a/Master/texmf-dist/tex/latex/pdfslide/metagray.pdf b/Master/texmf-dist/tex/latex/pdfslide/metagray.pdf Binary files differnew file mode 100644 index 00000000000..9ee15f66d37 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pdfslide/metagray.pdf diff --git a/Master/texmf-dist/tex/latex/pdfslide/metagreen.pdf b/Master/texmf-dist/tex/latex/pdfslide/metagreen.pdf Binary files differnew file mode 100644 index 00000000000..be55aa1e88d --- /dev/null +++ b/Master/texmf-dist/tex/latex/pdfslide/metagreen.pdf diff --git a/Master/texmf-dist/tex/latex/pdfslide/metalgray.pdf b/Master/texmf-dist/tex/latex/pdfslide/metalgray.pdf Binary files differnew file mode 100644 index 00000000000..aea67ae8d62 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pdfslide/metalgray.pdf diff --git a/Master/texmf-dist/tex/latex/pdfslide/pdfslide.cfg b/Master/texmf-dist/tex/latex/pdfslide/pdfslide.cfg new file mode 100644 index 00000000000..22a7d2f7682 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pdfslide/pdfslide.cfg @@ -0,0 +1,45 @@ +%% +%% pdfslide.cfg +%% +%% +%% +%% ------- attributes for section heads ------ +%% +\chapnumfont={\large\rmfamily\scshape\color{orange}} + \chapfont={\Huge\rmfamily\color{orange}} + \secfont={\Large\rmfamily\bfseries} + \ssecfont={\large\rmfamily\bfseries} + \sssecfont={\normalsize\bfseries} + \parafont ={\normalfont\sffamily} + \def\capfont{\@setfontsize\capfont{40}{40}\sffamily\color{white}} + \def\titlefont{\@setfontsize\titlefont{24}{26}\color{dm}\rmfamily\bfseries} + \def\authorfont{\@setfontsize\authorfont{17.28}{18}\rmfamily\color{dm}} + \def\addressfont{\@setfontsize\addressfont{12}{14}\sffamily\color{dm}} + \def\rcdfont{\@setfontsize\rcdfont{10}{12}\sffamily\color{white}} + \def\numfont{\@setfontsize\rcdfont{8}{7}\sffamily\color{white}} + \headskip=24pt % skip above the section heading. can be changed at any page. +%% +%% ------- various colors --------- +%% + \definecolor{panelbackground}{rgb}{1,.549,0} + \definecolor{button}{rgb}{0,0,.8} % button color + \definecolor{buttondisable}{gray}{.7}% button color when disabled + \definecolor{buttonbackground}{rgb}{0,.624,.820}%button background in ams option + \definecolor{buttonshadow}{rgb}{.001,0,.502}% button shadow in ams option + \definecolor{orange}{rgb}{1,.549,0} + \definecolor{section0}{rgb}{0,.5,.1} % for chapter + \definecolor{section1}{rgb}{0,.5,1} % for section + \definecolor{section2}{rgb}{0,.5,.5} % for subsection + \definecolor{section3}{rgb}{0,.5,.4} % for subsubsection + \definecolor{section4}{rgb}{.4,.5,.2}% for paragraph + \definecolor{section5}{rgb}{.5,.5,.3}% for subparagraph +%% +%%-------- button text ----------- +%% + \Panelgobackname{Back} + \Panelclosename{Close} + +\endinput +%% +%% end of file `pdfslide.cfg' +%%
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/pdfslide/pdfslide.sty b/Master/texmf-dist/tex/latex/pdfslide/pdfslide.sty new file mode 100644 index 00000000000..a86cb00b814 --- /dev/null +++ b/Master/texmf-dist/tex/latex/pdfslide/pdfslide.sty @@ -0,0 +1,336 @@ +%% +%% +%% This is file `pdfslide.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% pdfslide.dtx (with options: `package') +%% +%% File: pdfslide.dtx Copyright (c) 1999, C. V. Radhakrishnan +%% <cvr@river-valley.com> +%% +%% This package may be distributed under the terms of the LaTeX Project +%% Public License, as described in lppl.txt in the base LaTeX distribution. +%% Either version 1.0 or, at your option, any later version. +%% +\ProvidesPackage{pdfslide} + [1999/10/10 v0.50 slides with PDF (CVR)] +\RequirePackage[pdftex]{graphicx} +\newif\if@nocfg \@nocfgfalse +\newif\if@ams \@amstrue +\newif\if@contnav \@contnavfalse +\DeclareOption{nocfg}{\@nocfgtrue} +\DeclareOption{ams}{\@amstrue} +\DeclareOption{contnav}{\@contnavtrue} +\ProcessOptions +\ExecuteOptions{ams} +\def\ScreenLastPage{100} +\RequirePackage{colortbl} +\RequirePackage{amssymb,amsbsy,fancybox} +\RequirePackage[pdftex,pdfpagemode=none,colorlinks,% + pdfmenubar=false,% + pdfhighlight=/I,% + pdftoolbar=false,% +% pdfpagemode=FullScreen,% + pdffitwindow=true,pdfcenterwindow=true,% + pdfwindowui=false,menucolor=menucolor,% + pdfview=Fit,pdfstartview=Fit]{hyperref} + \RequirePackage{ifthen} %removed pifont + \newdimen\@Leftmargin \@Leftmargin=0cm + \newdimen\@Rightmargin \@Rightmargin=0cm + \newdimen\@Topmargin \@Topmargin=0cm + \newdimen\@Bottommargin \@Bottommargin=0cm + % + \def\InitLayout{ + \setlength{\textwidth}{\paperwidth} + \addtolength{\textwidth}{-\@Leftmargin} + \addtolength{\textwidth}{-\@Rightmargin} + \setlength{\textheight}{\paperheight} + \addtolength{\textheight}{-\@Topmargin} + \addtolength{\textheight}{-\@Bottommargin} + \addtolength{\textheight}{-\headheight} + \addtolength{\textheight}{-\headsep} + \addtolength{\textheight}{-\footskip} + \setlength{\oddsidemargin}{\@Leftmargin} + \addtolength{\oddsidemargin}{-1in} + \setlength{\evensidemargin}{\@Rightmargin} + \addtolength{\evensidemargin}{-1in} + \setlength{\topmargin}{\@Topmargin} + \addtolength{\topmargin}{-1in} + } + \InitLayout + \def\screensize#1#2{\paperheight=#1% + \paperwidth=#2 + \InitLayout + } + \def\marginsize#1#2#3#4{ + \@Leftmargin=#1 + \@Rightmargin=#2 + \@Topmargin=#3 + \@Bottommargin=#4 + \InitLayout + } + \definecolor{menucolor}{rgb}{1,.25,0} + \definecolor{paleblue}{rgb}{0,0,0.1} + \input slide.clo + \setlength\footskip{1\baselineskip} + \AtEndDocument{% + \clearpage \addtocounter{page}{-1}% + \immediate\write\@auxout{\string\gdef\string\ScreenLastPage{\arabic{page}}}% + } +% +\def\st{\vrule height11pt depth 2pt width0pt} + \def\ps@headings{\ps@sidebar} + \def\ps@plain{\ps@sidebar} + \def\ps@empty{\ps@title} + \def\ps@myheadings{\ps@sidebar} + \def\ps@firstpage{\ps@ftitle} + \def\maketitle{\@mtitle} + \voffset-.25in + \marginsize{.3in}{.3in}{-.050in}{.3in} + \def\marginsize#1#2#3#4{} + \setcounter{tocdepth}{1} + \setcounter{secnumdepth}{1} + \setlength\paperwidth{8in} + \setlength\paperheight{5.85in} %5.5 + \@Leftmargin=.3in + \@Rightmargin=.3in + \@Topmargin=.5in + \@Bottommargin=.3in + \voffset-.185in %-.2in + \headsep 25pt + \pdfpagewidth=.832\paperwidth %%7.5in + \pdfpageheight=\paperheight %%6.3in + \advance\pdfpageheight by -.5in + \newlength\panelwidth \setlength\panelwidth{.09\paperwidth}%%.265 + \newlength\panelheight \setlength\panelheight{1\textheight} + \newlength\textareawidth \setlength\textareawidth{\pdfpagewidth} + \newlength\textareaheight\setlength\textareaheight{\pdfpageheight} + \parskip 1pt plus2pt minus 1pt + \setlength{\textheight}{\textareaheight}%%6in + \addtolength{\textheight}{-.5\@Bottommargin} + \setlength{\textwidth}{\textareawidth}%%5.5 + \evensidemargin=\oddsidemargin + \def\ps@myheadings{\ps@title} + \def\ps@headings{\ps@title} + \def\ps@plain{\ps@sidebar} + \def\ps@empty{\ps@title} + +\def\overlay#1{\gdef\@overlay{#1}} +\def\@overlay{BigBlueL.png} +\addtolength\textareawidth{.56in} + + \def\ps@title{% + \def\@evenhead{\if@contnav\hspace*{-.3825in} %3375 + \else\hspace*{-.355in}\fi% + \colorbox{white}{\begin{minipage}[t][1.025\pdfpageheight][c]{\textareawidth}% + {\color{white}\includegraphics[width=7.215in,height=5.84in]{\@overlay}}%7.175 + \end{minipage}}\null\hskip-1.5pt %6.5,6 + \@panel\hspace*{-\panelwidth}% + \hspace*{-3.5\@Rightmargin}\hfil} + \def\@oddhead{\@evenhead} + \def\@evenfoot{\@empty} + \def\@oddfoot{\@empty} + \let\@mkboth\@gobbletwo + \let\chaptermark\@gobble + \let\sectionmark\@gobble + } + \def\ps@sidebar{% + \def\@evenhead{\hspace*{-.385in} %1.5 + \colorbox{white}{\begin{minipage}[t][2pt][c]{\textareawidth} + {\color{white}\hrulefill}\end{minipage}}\null + \ifnum\number\thepage=1\@panel\else\@panel\fi + \hspace*{-\panelwidth}\hspace*{-3.5\@Rightmargin}\hfil} + \def\@oddhead{\@evenhead} + \def\@evenfoot{\@empty} + \def\@oddfoot{\@empty} + \let\@mkboth\@gobbletwo + \let\chaptermark\@gobble + \let\sectionmark\@gobble + } + \definecolor{panelbackground}{rgb}{1,.549,0} + \definecolor{button}{rgb}{0,0,.7} + \definecolor{buttondisable}{gray}{.7} + \def\nBlue{\color{buttonshadow}} + \def\Panelgobackname#1{\gdef\@Panelgobackname{#1}} + \def\Panelclosename#1{\gdef\@Panelclosename{#1}} + \def\@Panelgobackname{Back} + \def\@Panelclosename{Close} + \RequirePackage{amssymb,amsbsy} + \def\@panel{{\colorbox{panelbackground} + {\begin{minipage}[t][1.025\pdfpageheight][t]{\panelwidth} + \vspace*{20pt} + \begin{center} + \ifodd\thepage + \includegraphics[width=.5\panelwidth,height=1in]{metagray.pdf}\else + \includegraphics[width=.5\panelwidth,height=1in]{metagreen.pdf}\fi\\ + \Acrobatmenu{GoToPage}{\fboxrule1pt\fboxsep2pt\fboxsep2pt% + \color{buttondisable}% + \colorbox{buttondisable}{\textcolor{blue}{\st\sffamily\realsmall\thepage/\ScreenLastPage}}} + \end{center} + \vfill + \begin{center} + \if@contnav + \Acrobatmenu{FirstPage}{\ifnum\thepage=1% + {\color{buttondisable}\First}\else + {\color{button}\First}\fi}\\[4pt]% + \Acrobatmenu{PrevPage}{\ifnum\thepage=1% + {\color{buttondisable}\Prev}\else + {\color{button}\Prev}\fi}\\[4pt]% + \Acrobatmenu{NextPage}{\ifnum\thepage=\number\ScreenLastPage% + {\color{buttondisable}\Next}\else + {\color{button}\Next}\fi}\\[4pt]% + \Acrobatmenu{LastPage}{\ifnum\thepage=\number\ScreenLastPage% + {\color{buttondisable}\Last}\else + {\color{button}\Last}\fi}\\[4pt]% + \Acrobatmenu{GoBack}{\color{button}\Back}\\[4pt] + \Acrobatmenu{GoForward}{\color{button}\Forw}\\[4pt] + \Acrobatmenu{Close}{\color{button}\Close}\\[4pt] + \else + \if@ams\def\st{\vrule height12pt depth 3pt width 0pt} + \fboxsep0pt\fboxrule.2pt + \def\btl{\ensuremath{\blacktriangleleft}} + \def\rtl{\ensuremath{\blacktriangleright}} + \color{white}\fboxsep0pt\fboxrule0pt\shadowsize1pt\sffamily + \Acrobatmenu{FirstPage}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\st\ifnum\thepage=1\color{buttondisable}\else\Black\fi% + {\hfil\scalebox{.5}[1]{\btl\btl}\hfil}}}\nBlue}}\\ + \Acrobatmenu{LastPage}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\st\ifnum\thepage=\number\ScreenLastPage% + \color{buttondisable}\else% + \Black\fi{\hfil\scalebox{.5}[1]{\rtl\rtl}\hfil}}}\nBlue}}\\ + \Acrobatmenu{PrevPage}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\st\ifnum\thepage=1\color{buttondisable}% + \else\Black\fi% + {\hfil\scalebox{.5}[1]{\btl}\hfil}}}\nBlue}}\\ + \Acrobatmenu{NextPage}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\st\ifnum\thepage=\number\ScreenLastPage% + \color{buttondisable}\else\Black\fi% + {\hfil\scalebox{.5}[1]{\rtl}\hfil}}}\nBlue}}\\ + \Acrobatmenu{GoBack}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\hfil\Black\st\realsmall\@Panelgobackname\hfil}}\nBlue}}\\ + \Acrobatmenu{Close}{\shadowbox{\colorbox{buttonbackground}% + {\hbox to .58in{\hfil\Black\st\realsmall\@Panelclosename\hfil}}\nBlue}}\\ +% \if@metapost +% \Acrobatmenu{FirstPage}{\ifnum\thepage=1\Firstg\else +% \First\fi}\\[4pt]% +% \Acrobatmenu{PrevPage}{\ifnum\thepage=1\Prev\else +% \Prev\fi}\\[4pt]% +% \Acrobatmenu{NextPage}{\ifnum\thepage=\number\ScreenLastPage% +% \Nextg\else\Next\fi}\\[4pt]% +% \Acrobatmenu{LastPage}{\ifnum\thepage=\number\ScreenLastPage% +% \Last\else\Last\fi}\\[4pt]% +% \Acrobatmenu{GoBack}{\Back}\\[4pt] +% \Acrobatmenu{Close}{\Close}\\[4pt + \fi + \fi + \end{center} + \vspace*{1pt} + \vfill + \end{minipage}}}\normalcolor\rmfamily + } + \definecolor{orange}{rgb}{1,.549,0} + \def\Black{\color{black}} + \definecolor{panelbackground}{rgb}{.455,.832,.979} + \definecolor{buttonbackground}{rgb}{0,.624,.820} + \definecolor{buttonshadow}{rgb}{.001,0,.502} + + \def\Sectionformat#1#2{% + \ifcase#2% + {\protect\textcolor{section0}{#1}}%level 0 chapter { } + \or {\protect\textcolor{section1}{#1}}%level 1 section { } + \or {\protect\textcolor{section2}{#1}}%level 2 subsection { } + \or {\protect\textcolor{section3}{#1}}%level 3 subsubsection { } + \or {\protect\textcolor{section4}{#1}}%level 4 paragraph { } + \or {\protect\textcolor{section5}{#1}}%level 5 subparagraph { } + \fi + } + \let\scr@section\section \newdimen\headskip \headskip=1\baselineskip + \def\section{\clearpage\null\vskip\headskip\scr@section} + \definecolor{section0}{rgb}{0,0,0} + \definecolor{section1}{rgb}{0,.5,1} + \definecolor{section2}{rgb}{0,.5,.7} + \definecolor{section3}{rgb}{0,.5,.4} + \definecolor{section4}{rgb}{.4,.5,.2} + \definecolor{section5}{rgb}{.5,.5,.3} + +\if@contnav + \font\CVxx=contnav at 15pt + \fboxrule1pt\fboxsep2pt + \def\Prev{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char1}\hfil}}} + \def\Next{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char2}\hfil}}} + \def\First{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char3}\hfil}}} + \def\Last{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char4}\hfil}}} + \def\Back{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char5}\hfil}}} + \def\Forw{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char6}\hfil}}} + \def\Close{\fbox{\hbox to .5cm{\hfil\scalebox{.8}[1.2]{\CVxx\char9}\hfil}}} +\fi + +%\if@metapost +% \def\Prev {\convertMPtoPDF{mp/back.1}{.5}{.5}} +% \def\Prevg{\convertMPtoPDF{mp/backg.1}{.5}{.5}} +% \def\Next {\convertMPtoPDF{mp/next.1}{.5}{.5}} +% \def\Nextg{\convertMPtoPDF{mp/nextg.1}{.5}{.5}} +% \def\First{\convertMPtoPDF{mp/first.1}{.5}{.5}} +% \def\Firstg{\convertMPtoPDF{mp/firstg.1}{.5}{.5}} +% \def\Last {\convertMPtoPDF{mp/last.1}{.5}{.5}} +% \def\Lastg{\convertMPtoPDF{mp/lastg.1}{.5}{.5}} +% \def\Back {\convertMPtoPDF{mp/goback.1}{.5}{.5}} +% \def\Close{\convertMPtoPDF{mp/close.1}{.5}{.5}} +%\fi + +\def\pagedissolve#1{% + \edef\@@processme{% + \pdfpageattr{% + /Trans << /S /#1\space >>% + }}% + \@@processme + }% + +\definecolor{dm}{rgb}{1,.894,.769} + \def\titlefont{\@setfontsize\titlefont{24}{26}\color{dm}\rmfamily\bfseries} + \def\authorfont{\@setfontsize\authorfont{17.28}{18}\rmfamily\color{dm}} + \def\capfont{\@setfontsize\capfont{40}{40}\sffamily\color{white}} + \def\addressfont{\@setfontsize\addressfont{12}{14}\sffamily\color{dm}} + \def\rcdfont{\@setfontsize\rcdfont{10}{12}\sffamily\color{white}} + \def\numfont{\@setfontsize\rcdfont{8}{7}\sffamily\color{white}} + \def\maketitle{\thispagestyle{title} + \noindent\begin{minipage}[t][.95\textheight][c]{.975\textwidth} + \begin{flushleft} + \null\vspace*{30pt} + \ifx\@orgname\@empty\relax\else + {\capfont \@orgname}\\[3pt]\fi + \ifx\@orgurl\@empty\null\vskip72pt\else + {\footnotesize\sffamily\@orgurl}\\[72pt]\fi + {\titlefont \@title}\\[30pt] + {\authorfont \@author}\\[10pt] + {\addressfont \strut\@address\par\strut}\\ + \vfill\par + {\rcdfont \ifx\@notes\@empty\relax\else\@notes\fi} + \end{flushleft} + \end{minipage} + \vfill\par\clearpage + } + \long\def\author#1{\long\gdef\@author{#1}}\let\@author\@empty + \long\def\address#1{\long\gdef\@address{#1}}\let\@address\@empty + \long\def\notes#1{\long\gdef\@notes{#1}}\let\@notes\@empty + \long\def\orgname#1{\long\gdef\@orgname{#1}}\let\@orgname\@empty + \long\def\orgurl#1{\long\gdef\@orgurl{#1}}\let\@orgurl\@empty + % + % + \pagestyle{myheadings} + \def\@linkcolor{black} + \def\@anchorcolor{black} + \def\@citecolor{black} + \def\@filecolor{black} + \def\@urlcolor{black} + \def\@menucolor{black} + \def\@pagecolor{black} + \definecolor{sgray}{rgb}{.545,.601,.650} +% +\if@nocfg\relax\else + \IfFileExists{pdfslide.cfg}{\input pdfslide.cfg}{}\fi +\endinput +%% +%%End of file pdfslide.sty' diff --git a/Master/texmf-dist/tex/latex/pdfslide/slide.clo b/Master/texmf-dist/tex/latex/pdfslide/slide.clo new file mode 100644 index 00000000000..83831e3840b --- /dev/null +++ b/Master/texmf-dist/tex/latex/pdfslide/slide.clo @@ -0,0 +1,171 @@ +\newcommand\realnormalsize{% + \@setfontsize\realnormalsize\@xiipt{14.5}% + \abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + } +\newcommand\realsmall{% + \@setfontsize\realsmall\@xipt{13.6}% + \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ +} +\newcommand\realfootnotesize{% + \@setfontsize\realfootnotesize\@xpt\@xiipt + \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ +} +\newcommand\realscriptsize{\@setfontsize\realscriptsize\@viiipt{9.5}} +\newcommand\realtiny{\@setfontsize\realtiny\@vipt\@viipt} +\newcommand\reallarge{\@setfontsize\reallarge\@xivpt{18}} +\newcommand\realLarge{\@setfontsize\realLarge\@xviipt{22}} +\newcommand\realLARGE{\@setfontsize\realLARGE\@xxpt{25}} +\newcommand\realhuge{\@setfontsize\realhuge\@xxvpt{30}} +\let\realHuge=\realhuge +\renewcommand\normalsize{% + \@setfontsize\normalsize{16}{19.2}% + \abovedisplayskip 14\p@ \@plus3\p@ \@minus7\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 7.5\p@ \@plus3.5\p@ \@minus3\p@ + \belowdisplayskip \abovedisplayskip + } +\normalsize +\renewcommand\small{% + \@setfontsize\small{13}{14.5}% + \abovedisplayskip 13\p@ \@plus3\p@ \@minus6\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@ +} +\renewcommand\footnotesize{% + \@setfontsize\footnotesize\@xiipt{14} + \abovedisplayskip 12\p@ \@plus2\p@ \@minus5\p@ + \abovedisplayshortskip \z@ \@plus3\p@ + \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@ +} +\renewcommand\scriptsize{\@setfontsize\scriptsize\@xpt{11.2}} +\renewcommand\tiny{\@setfontsize\tiny\@ixpt{10.2}} +\renewcommand\large{\@setfontsize\large{17.28}{22}} +\renewcommand\Large{\@setfontsize\Large\@xxvpt{30}} +\renewcommand\LARGE{\@setfontsize\LARGE{30}{36}} +\renewcommand\huge{\@setfontsize\huge{40}{48}} +\let\Huge=\huge +\def\@startsection#1#2#3#4#5#6{% + \if@noskipsec \leavevmode \fi + \par + \@tempskipa #4\relax + \@afterindenttrue + \ifdim \@tempskipa <\z@ + \@tempskipa -\@tempskipa \@afterindentfalse + \fi + \if@nobreak + \everypar{}% + \else + \addpenalty\@secpenalty\addvspace\@tempskipa + \fi + \@ifstar + {\@ssect{#3}{#4}{#5}{#6}}% + {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \protected@edef\@svsec{\@seccntformat{#1}\relax}% #1 + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3\relax}%\@svsec}% + \interlinepenalty \@M #8\@@par}% + \endgroup + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth \else + \protect\numberline{\csname the#1\endcsname}% + \fi + #7}% + \else + \def\@svsechd{% + #6{\hskip #3\relax + %\@svsec + #8}% + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth \else + \protect\numberline{\csname the#1\endcsname}% + \fi + #7}}% + \fi + \@xsect{#5}} +\def\@xsect#1{% + \@tempskipa #1\relax + \ifdim \@tempskipa>\z@ + \par \nobreak + \vskip \@tempskipa + \@afterheading + \else + \@nobreakfalse + \global\@noskipsectrue + \everypar{% + \if@noskipsec + \global\@noskipsecfalse + {\setbox\z@\lastbox}% + \clubpenalty\@M + \begingroup \@svsechd \endgroup + \unskip + \@tempskipa #1\relax + \hskip -\@tempskipa + \else + \clubpenalty \@clubpenalty + \everypar{}% + \fi}% + \fi + \ignorespaces} +\def\@seccntformat#1{}%\csname the#1\endcsname\quad} +\def\@ssect#1#2#3#4#5{% + \@tempskipa #3\relax + \ifdim \@tempskipa>\z@ + \begingroup + #4{% + \@hangfrom{\hskip #1}% + \interlinepenalty \@M #5\@@par}% + \endgroup + \else + \def\@svsechd{#4{\hskip #1\relax #5}}% + \fi + \@xsect{#3}} +\let\Hy@backout\@gobble + +\newtoks\chapnumfont \chapnumfont={\large\sffamily\scshape\color{orange}} +\newtoks\chapfont \chapfont={\Huge\sffamily\color{orange}} +\newtoks\secfont \secfont={\Large\sffamily\bfseries} +\newtoks\ssecfont \ssecfont={\large\sffamily\itshape} +\newtoks\sssecfont \sssecfont={\normalsize\sffamily\itshape} +\newtoks\parafont \parafont ={\normalfont\sffamily} + +\renewcommand\section{\@startsection {section}{1}{\z@}% + {-\z@ \@plus -1ex \@minus -.2ex}% + {1.25ex \@plus.2ex \@minus .2ex}% + {\the\secfont}} + +\renewcommand\subsection{\@startsection{subsection}{2}{\z@}% + {-3.25ex\@plus -1ex \@minus -.2ex}% + {1.25ex \@plus .2ex}% + {\the\ssecfont}} + +\def\subsubsection{\@startsection{subsubsection}{3}{\z@}% + {3ex \@plus 1ex \@minus 1ex}% + {-1em}{\the\sssecfont}} +\let\sssec=\subsubsection + +\def\paragraph{\@startsection{paragraph}{4}{\z@}% + {.5\baselineskip\@plus.2\baselineskip\@minus .1\baselineskip}{-.5em}% + {\the\parafont}} +\let\para=\paragraph + +\endinput + +%% End of file `slide.clo'. |