% %------------------------------------------------------------------------------- %--- Screen -------------------------------------------------------------------- %------------------------------------------------------------------------------- % \begin{screen} % %------------------------------------------------------------------------------- % Text colours % \definecolor{TextWhite}{rgb}{1,1,1} \definecolor{TextYellow}{cmyk}{0,0,1,0} %------------------------------------------------------------------------------- % Background colour % \definecolor{PaleBlue}{rgb}{0,0.1,0.3} % %------------------------------------------------------------------------------- % Redefine \maketitle % \def\titlefont{\rmfamily\bfseries\huge} \def\authorfont{\rmfamily\large} \def\addressfont{\rmfamily\normalsize} \def\datefont{\rmfamily\normalsize} \def\maketitle{% \noindent\begin{minipage}[t][0.95\textheight][t]{0.975\textwidth} \begin{center} \null\vspace*{0pt} {\titlefont \@title}\\[30pt] {\authorfont \@author}\\[30pt] {\addressfont \@address}\\[10pt] {\hskip1cm}\\ {\datefont \@date} \end{center} \end{minipage} \vfill\par\clearpage} %------------------------------------------------------------------------------- \long\def\title#1{\long\gdef\@title{#1}}\let\@title\@empty \long\def\author#1{\long\gdef\@author{#1}}\let\@author\@empty \long\def\address#1{\long\gdef\@address{#1}}\let\@address\@empty \long\def\date#1{\long\gdef\@date{#1}}\let\@date\@empty %------------------------------------------------------------------------------- % Example of how to automate the generation of page menu entries %------------------------------------------------------------------------------- % Catch section title for use in page mneu, adatped from Hyperref % %\AtBeginDocument{% force changes to occur after nameref package loaded %\def\@sect#1#2#3#4#5#6[#7]#8{% % \setcounter{section@level}{#2}% % \def\@currentlabelname{#7}% % \ifnum#2<2\PageMenuItem{#8}\fi% Slip this in to catch chapter/section titles % \NR@sect{#1}{#2}{#3}{#4}{#5}{#6}[{#7}]{\Sectionformat{#8}{#2}}}}% % %------------------------------------------------------------------------------- % Example of how to force a new page at each \section %------------------------------------------------------------------------------- % %\let\oldsection=\section %\def\section{\clearpage\oldsection} % %------------------------------------------------------------------------------- % Example of how to include movies on a Mac with Quicktime %------------------------------------------------------------------------------- % %\newcommand{\movie}[2]{% arg. 1 : relative path to the movie file % % arg. 2 : hyperlinked key word, starts the movie % \begingroup% % \leavevmode% % \pdfstartlink% % attr{/Border [0 0 0]/H/I/C[0 0.7 0.7]}% % user{/Subtype /Movie /Title (#1)% % /Movie << /F (#1) % % /Poster false>> % use true for a single frame % /A << /ShowControls true % % /Mode /Repeat % auto loop % /FWScale [1 1]>>} % sets horizontal and vertical scales % \pdfliteral{0 1 0 0 k}{#2} % sets the key word's colour % \normalcolor% % \pdfendlink% % \endgroup} % % This is an example \movie{file-name}{movie}. %------------------------------------------------------------------------------- % %------------------------------------------------------------------------------- % Example of how to include movies in Linux with xanim %------------------------------------------------------------------------------- %\newcommand{\movie}[2]{% arg. 1 : relative path to a script file % % arg. 2 : hyperlinked key word, starts the movie % \begingroup% % \leavevmode% % \pdfstartlink% % attr{/Border [0 0 0]/H/I/C[0 0.7 0.7]}% % user{/Subtype/Link/A<>}% % \pdfliteral{0 1 0 0 k}{#2}% % \normalcolor% % \pdfendlink% % \endgroup} % % The script file should be an executable shell script containin all the commands % needed to run the movie. Here is an example script % #!/bin/csh % xanim file-name.mpeg % If this script is stored as my-script then \movie{my-script}{click-here} % will run the movie. You can check that the script has the correct path names % by executing it from the same directory that contains the pdf file. %------------------------------------------------------------------------------- % \end{screen} % %------------------------------------------------------------------------------- %--- Paper --------------------------------------------------------------------- %------------------------------------------------------------------------------- % \begin{paper} % %------------------------------------------------------------------------------- % Text colours % \definecolor{TextWhite}{rgb}{0,0,0} \definecolor{TextYellow}{rgb}{0,0,0} % %------------------------------------------------------------------------------- % Redefine \maketitle % \def\titlefont{\rmfamily\bfseries\huge} \def\authorfont{\rmfamily\large} \def\addressfont{\rmfamily\normalsize} \def\datefont{\rmfamily\normalsize} \def\maketitle{% \noindent\begin{minipage}[t][0.95\textheight][t]{0.975\textwidth} \begin{center} \null\vspace*{0pt} {\titlefont \@title}\\[30pt] {\authorfont \@author}\\[30pt] {\addressfont \@address}\\[10pt] {\datefont \@date} \end{center} \end{minipage} \vfill\par\clearpage} %------------------------------------------------------------------------------- \long\def\title#1{\long\gdef\@title{#1}}\let\@title\@empty \long\def\author#1{\long\gdef\@author{#1}}\let\@author\@empty \long\def\address#1{\long\gdef\@address{#1}}\let\@address\@empty \long\def\date#1{\long\gdef\@date{#1}}\let\@date\@empty %------------------------------------------------------------------------------- \end{paper}