%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % % CERN foil -- Basic simple form style option for making foils. % % % % Loosely based on an idea from Nicole % % % % Style can ne used by calling it in the documentstyle % % \documentstyle[...,cernfoil.sty]{...} % % % % Michel Goossens / CN-AS % % % % Last Mod.: 11 Januaty 1993 m.g. 20:45 (Version 1.12) % % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \typeout{This is cernfoil.sty -- version January 11th 1993 (V1.12)} % First some useful definitions for getting ``funny'' characters \def\bs{{\rm\tt\char92{}}} %%%%% backslash %%%%% \def\lqb{{\`{}}} %%%%% left quote brace %%%%% \def\rqb{{\'{}}} %%%%% right quote brace %%%%% \def\lcb{{\tt\char'173{}}} %%%%% left brace %%%%% \def\rcb{{\tt\char'175{}}} %%%%% right brace %%%%% \def\lsb{{\tt\char'133{}}} %%%%% left brace %%%%% \def\rsb{{\tt\char'135{}}} %%%%% right brace %%%%% \def\lab{{\tt\char'74{}}} %%%%% left brace %%%%% \def\rab{{\tt\char'76{}}} %%%%% right brace %%%%% \def\vsp{{\tt\char32{}}} %%%%% visual space %%%%% \def\vb{{\tt\char'174{}}} %%%%% vertical bar %%%%% % Define the title \newsavebox{\Title} \savebox{\Title}{\huge\null} % Define page layout parameters \hoffset=-5mm \voffset=-24mm \textwidth=18cm \oddsidemargin=0.8cm \evensidemargin=0.8cm \textheight=24cm \parindent=0.0cm \parskip=0.5cm \topmargin=0pt \headheight=0.5cm \headsep=3mm \footskip=1.7cm \footheight=1cm % For generating a ``standard'' foil, we need the fancyheadings style \input fancyheadings.sty \headwidth=19.0cm \headrulewidth 0pt \footrulewidth 0pt \setlength{\unitlength}{1cm} % \font\cernlogofont=cernlogo% Using this trick foils can also be % \lhead{\begin{picture}(0.0001,0.0001) % \put(9.0,-13.2){\oval(19,25.6)}\end{picture}% % {\cernlogofont c}} % printed on 3812 printers... % \rhead{{\cernlogofont c}} \lhead{\mbox{\begin{picture}(0.00001,0.00001) % \put(9.0,-13.2){\oval(19,25.6)}\end{picture} \put(9.0,-13){\oval(19,25)} \put(-7.,-1.){\epsfysize=0.2cm\epsffile{lbnl.eps}}\end{picture}}} % \epsfig{file=/a/sts/home/sts/u1/julio/tex/lbnl.eps,width=5mm}}} \rhead{} \lfoot{\today} \cfoot{{\usebox{\Title}\thepage}} \rfoot{\@author} %%%%%%%%%%%% Command \tableofcontent %%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\Tableofcontents{% \begin{center}\huge\bf Table of Contents\end{center} \markboth{Table of Contents}{Table of Contents} \@starttoc{toc}} \def\Tabledesmatieres{% \begin{center}\huge\bf Table des mati\`eres\end{center} \markboth{TABLE DES MATI\`ERES}{TABLE DES MATI\`ERES} \@starttoc{toc}} %%%%%%%%%%%% Command transptittre %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\Trtitle}[1]{\savebox{\Title}{\Large#1-}} %%%%%%%%%%%% Command transpar %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\Transpar}{\LARGE\newpage} %%%%%%%%%%%% Command tr %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\Tr{\protect\Transpar\null\vspace*{0mm}} %%%%%%%%%%%% Command tran %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\Tran#1{\Tr\protect\typeout{#1}\vspace*{-10mm} \begin{center}\protect\huge\protect\bf #1\end{center}\vspace{-0.1cm} % \chead{\protect\huge\protect#1} % \addcontentsline{toc}{section}{#1}} %%%%%%%%%%%% Command Stitle %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\Stitle}[1]{% \vspace*{-3mm}\begin{center}\bf#1\end{center}\vspace*{-3mm}% \addcontentsline{toc}{subsection}{#1}} %%%%%%%%%%%% Command Exemple %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\Exemples}{Exemples~:\par} \newcommand{\Exemple}{Exemple~:\par} \newcommand{\Examples}{Examples~:\par} \newcommand{\Example}{Example~:\par} \pagestyle{fancy} \sloppy \endinput