%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%% GOCAD MEETING STYLE %%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This style should be suitable for both Linux and Windows, and pdflatex or % latex (DVI) compilation. % % You should not edit this file without good reason! %-------------------------------------------------------- % Year specific variables \newcommand{\meetingedition}{28} \newcommand{\meetingdate}{June 2008} %-------------------------------------------------------- % Packages definition % (not in the .tex to lighten it) \usepackage{amsmath} \usepackage{natbib} \usepackage{vmargin} \usepackage{lastpage} \usepackage{fancyhdr} \usepackage{vmargin} \usepackage{hyperref} \usepackage[centerlast,small]{caption} % Let's try to do something neat for pdflatex... %\usepackage{ifpdf} %\ifpdf % we are running pdflatex, so convert .eps files to .pdf \message{Loading graphicx for PDF compilation...} \usepackage[pdftex]{graphicx} % To include postscript figures with pdflatex % \usepackage{epstopdf} %\else % we are running LaTeX, not pdflatex % \message{Loading graphicx for DVI compilation...} % \usepackage[dvips]{graphicx} %\fi %--------------------------------------------------------- % Various settings %\setmarginsrb{marge gauche}{marge haute}{marge droite}{marge basse} % {hauteur d'entete} {distance entete-texte} % {hauteur pied de page} {distance bas de page - bas % pied de page} \setmarginsrb{2cm}{1cm}{2cm}{15mm}{1cm}{5mm}{2cm}{1cm} \bibliographystyle{abbrvnat} %--------------------------------------------------- % For title and title over-riding report % set the paper size and the margins % \setpapersize{A4} \renewcommand{\floatpagefraction}{0.99} \renewcommand{\topfraction}{0.99} \renewcommand{\bottomfraction}{0.99} \renewcommand{\textfraction}{0.05} % variables used to write the title and the head/foot notes \newcommand{\VAR@title} {} \newcommand{\VAR@shorttitle} {} \newcommand{\VAR@author} {} \newcommand{\VAR@authorfoot} {} \newcommand{\VAR@date} {} \newcommand{\VAR@totalpage} {} \newcommand{\@Titre}[1]{} \newcommand{\@PetitTitre}[1]{} \newcommand{\@Auteurs}[1]{} \newcommand{\@Date}[1]{} \newcommand{\shorttitle}[1]{ \renewcommand{\VAR@shorttitle}{#1} } \renewcommand{\title}[1]{ \renewcommand{\VAR@title}{#1} } \renewcommand{\author}[1]{ \renewcommand{\VAR@author}{#1} } \newcommand{\shortauthor}[1]{ \renewcommand{\VAR@authorfoot}{#1} } \renewcommand{\date}[1]{ \renewcommand{\VAR@date}{#1} } \newcommand{\totalpage}[1] { \renewcommand{\VAR@totalpage}{#1} } \date{\meetingdate{}} % Have to define the new maketitle \def\maketitle{\par \begingroup \def\thefootnote{\fnsymbol{footnote}} \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}} \if@twocolumn \twocolumn[\@maketitle] \else \newpage \global\@topnum\z@ \@maketitle \fi\thispagestyle{plain}\@thanks \endgroup \setcounter{footnote}{0} \let\maketitle\relax \let\@maketitle\relax } \def\@maketitle{\newpage \null \vspace*{0.2cm} \begin{center} {\Large \VAR@title \par} \vspace{4.5mm} {\normalsize \VAR@author \par} {\normalsize \VAR@date \par} \vspace*{6.5mm} \end{center} } % Specify the way the title, author name and number of page will % be located \pagestyle{fancy} \renewcommand{\headrulewidth}{0.5pt} \renewcommand{\footrulewidth}{0.5pt} \lhead{} \chead{ \meetingedition{}$^{th}$ GOCAD-MEETING } \rhead{} \lfoot{ \begin{tabular} {p{8.5cm} p{6.3cm} p{1.5cm}} { \VAR@shorttitle } & { \it \VAR@authorfoot } & {\thepage{} / \VAR@totalpage} \end{tabular} } \cfoot{} \rfoot{} \totalpage{\pageref{LastPage}} % Caption style \setlength{\captionmargin}{20pt} \renewcommand{\captionfont}{\sl} \renewcommand{\captionlabelfont}{\normalfont} %------------------------------------------------ % new commands that can be used % \renewcommand{\floatsep}{10pt} \renewcommand{\floatpagefraction}{0.99} \renewcommand{\topfraction}{0.99} \renewcommand{\bottomfraction}{0.99} \renewcommand{\textfraction}{0.01} %maximum fraction of the page for %floating stuffs \newcommand\bib[3]{\item #1 {\it #2} #3} \newenvironment{prog}{ \begin{quote}\begin{small}\begin{tabbing} 000\= 111\= 222\= 333\= 444\= 555\= 666\= 777\= 888\= 999\= \kill \\ }{ \\ \end{tabbing}\end{small}\end{quote} } \newenvironment{qsmall}{ \begin{quote}\begin{small} }{ \end{small}\end{quote} } % % the "program" environment @ % \newenvironment{program}{ \begin{quote}\begin{small} }{ \end{small}\end{quote} } % Sections, notations \newcommand{\subsubsubsection}[1]{\subsubsection{\sl #1}} % % The GOCAD Command % \newcommand{\gocad} {{\sc{g$\bigcirc$cad}}}