% -------------------------------------------------------------------- % piers2002.sty - LaTeX style file for PIERS 2002 abstract submission. % Author: Tomasz M. Grzegorczyk , May 2001. % % Usage: % \documentclass{article} % \usepackage{piers2002} % --------------------------------------------------------------------- \typeout{Document Style Option `PIERS 2002 proceedings style Version 1.0'.} %============================================================ %--- page format ------ \setlength { \paperwidth } {8.5in} \setlength { \paperheight } {11in} \setlength { \hoffset } {-1in} \setlength { \voffset } {-1in} \setlength { \oddsidemargin } {2.5cm} \setlength { \evensidemargin} {2.5cm} \setlength { \textwidth } {\paperwidth} \setlength { \textheight } {\paperheight} \newlength { \bottommargin } \setlength { \bottommargin } {2.5cm} \setlength { \topmargin } {2.5cm} \setlength { \headheight } {0pt} \setlength { \headsep } {0cm} \setlength { \footskip } {0cm} \addtolength {\textwidth} {-\oddsidemargin} \addtolength {\textwidth} {-\evensidemargin} \addtolength {\textheight} {-\topmargin} \addtolength {\textheight} {-\headheight} \addtolength {\textheight} {-\headsep} \addtolength {\textheight} {-\footskip} \addtolength {\textheight} {-\bottommargin} \flushbottom \pagestyle {empty} %============================================================ %============================================================ %--- some newcommands --- \def\hh#1{\hspace{#1cm}} \def\vv#1{\vspace*{#1}} \def\ath#1{\addtocontents{ath}{#1}} \def\col{&:&} \def\pbc#1{\parbox[t]{.9\textwidth}{\begin{center}#1\end{center}}} \def\pbl#1{\protect\parbox[t]{.9\textwidth}{#1\protect\rule[-1ex]{1ex}{0em}}} %============================================================ %============================================================ \AtBeginDocument{% \authortitle { } \stateprov { } \postalcode { } \phone { } \fax { } \email { } \misc { } \presentedby { } \mailto { } \topic { } \chairman { } \presentation{ } } \AtEndDocument{% \def\makeauthorfile{\@starttoc{ath}} \newpage \makeauthorfile } %============================================================ %============================================================ %--- space for floats - figures and tables --- \floatsep 0.9ex plus 0.3ex minus 0.6ex \textfloatsep 4ex plus 3ex minus 1.5ex \def \textfraction {0.10} \def \floatpagefraction {0.60} \def \topfraction {0.90} \def \bottomfraction {0.90} %============================================================ %============================================================ %--- define title aspects --- \def\titlefont{\LARGE\bf} \date{} \def\@author {} \def\@authortitle {} \def\@affiliation {} \def\@address {} \def\@city {} \def\@stateprov {} \def\@postalcode {} \def\@country {} \def\@phone {} \def\@fax {} \def\@email {} \def\@misc {} \def\@topic {} \def\@chairman {} \def\@presentation{} \def\@presentedby {} \def\@mailto {} \def\@authorname {{\bf Name }} \def\@affiliationname {{\bf Affiliation }} \def\@addressname {{\bf Address }} \def\@phonename {{\bf Phone }} \def\@faxname {{\bf Fax }} \def\@emailname {{\bf E-mail }} \def\@miscname {{\bf Misc. }} \def\@presentedbyname {{\bf\small Presenting author: }} \def\@mailtoname {{\bf\small Corresponding author: }} \def\@topicname {{\bf\small Suggested topic: }} \def\@chairmanname {{\bf\small Session chaired by: }} \def\@presentationname{{\bf\small Preferred presentation: }} %\def\title #1 {\gdef\@title{\titlefont \protect #1}} \def\title #1 {\gdef\@title {\protect #1}} \def\author #1 {\gdef\@author {\protect #1} } \def\authortitle #1 {\gdef\@authortitle {\protect #1} } \def\affiliation #1 {\gdef\@affiliation {\protect #1} } \def\address #1 {\gdef\@address {\protect #1} } \def\city #1 {\gdef\@city {\protect #1} } \def\stateprov #1 {\gdef\@stateprov {\protect #1} } \def\postalcode #1 {\gdef\@postalcode {\protect #1} } \def\country #1 {\gdef\@country {\protect #1} } \def\phone #1 {\gdef\@phone {\protect #1} } \def\fax #1 {\gdef\@fax {\protect #1} } \def\email #1 {\gdef\@email {\protect #1} } \def\misc #1 {\gdef\@misc {\protect #1} } \def\presentedby #1 {\gdef\@presentedby {\protect #1} } \def\mailto #1 {\gdef\@mailto {\protect #1} } \def\topic #1 {\gdef\@topic {\protect #1} } \def\chairman #1 {\gdef\@chairman {\protect #1} } \def\presentation#1 {\gdef\@presentation{\protect #1} } %============================================================ %============================================================ %--- Author output --- \def\makeauthor{\par %----- \begin{center} \begin{tabular}{c} {\bf \pbc{\@author}} \\[-6.0ex] {\rm \pbc{\@affiliation}} \\[-6.0ex] \if \@stateprov\@empty {\it \pbc{\@city,\ \@postalcode,\ \@country}} \else {\it \pbc{\@city,\ \@stateprov\ \@postalcode,\ \@country}} \fi \end{tabular} \end{center} \par\vspace*{-7.0ex} \addtocontents{ath}{\protect\rule{10cm}{.05em}\par\vv{2ex}} \addtocontents{ath}{\protect\begin{tabular}{lll}} %----- \if \@author\@empty \else \if \@authortitle\@empty \ath{\@authorname\col\pbl{\@author}\\[.5ex]} \else \ath{\@authorname\col\pbl{\@author\ (\@authortitle)}\\[.5ex]} \fi \fi %----- \if \@affiliation \@empty \else \ath{\@affiliationname\col\pbl{\@affiliation} \\[.5ex]} \fi %----- \if \@address \@empty \else \ath{\@addressname\col\pbl{\@address} \\[.5ex]} \fi %----- \if \@city \@empty \else \ath{&& \pbl{\@city} \\[.5ex]} \fi %----- \if \@stateprov \@empty \ath{&& \pbl{\@postalcode,\ \@country} \\[.5ex]} \else \ath{&& \pbl{\@stateprov\ \@postalcode,\ \@country} \\[.5ex]} \fi %----- \if \@phone \@empty \else \ath{\@phonename\col\pbl{\@phone} \\[.5ex]} \fi %----- \if \@fax \@empty \else \ath{\@faxname\col\pbl{\@fax} \\[.5ex]} \fi %----- \if \@email \@empty \else \ath{\@emailname\col\pbl{\@email} \\[.5ex]} \fi %----- \if \@misc \@empty \else \ath{\@miscname\col\pbl{\@misc} \\[.5ex]} \fi %----- \addtocontents{ath}{\protect\end{tabular}\par\vspace*{2ex}} \addtocontents{ath}{\protect\rule{10cm}{.05em}\par\vv{2ex}} } %============================================================ %============================================================ %--- Title output --- \def\maketitle{ \par \begingroup \def\thefootnote{\fnsymbol{footnote}}% \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}% \if@twocolumn \twocolumn[\@maketitle]% \else \newpage \global\@topnum\z@ \@maketitle \fi \@thanks \endgroup \let\maketitle\relax \let\@maketitle\relax \gdef\@thanks{}\gdef\@author{}\gdef\titlefont\@title{}\let\thanks\relax } \def\@maketitle{\newpage \addtocontents{ath}{\centerline{\Large Title of the paper:}} \addtocontents{ath}{\protect\vspace*{.5cm}} \addtocontents{ath}{{\Large \bf\@title}\par} \addtocontents{ath}{\vspace*{.5cm}} \null \if0\@ptsize\vspace{-10mm}\else\vspace{-12mm}\fi \begin{center}% {\setlength{\baselineskip}{4.3ex}\titlefont \@title \par} \vspace*{-2ex} } %============================================================ %============================================================ %--- Abstract definition \def\abstract{\fontsize{11pt}{13pt}\selectfont\vspace*{10ex}} \def\endabstract{\vspace*{2cm} \noindent \begin{tabular}{lll} %----- \if \@presentedby \@empty \else \@presentedbyname\col\pbl{\small\@presentedby} \\ \fi %----- \if \@mailto \@empty \else \@mailtoname\col\pbl{\small\@mailto} \\ \fi %----- \if \@topic \@empty \else \@topicname\col\pbl{\small\@topic} \\ \fi %----- \if \@chairman \@empty \else \@chairmanname\col\pbl{\small\@chairman} \\ \fi %----- \if \@presentation \@empty \else \@presentationname\col\pbl{\small\@presentation} \\ \fi %----- \end{tabular}} %============================================================ %============================================================ %--- Bibliography definition \def\thebibliography#1{\section*{\small REFERENCES}\list {\arabic{enumi}.} {\settowidth\labelwidth{[#1]}\leftmargin\labelwidth \advance\leftmargin\labelsep \usecounter{enumi}} \def\newblock{\hskip .11em plus .33em minus .07em} %% reduce vspace between items \parskip -0.7ex plus 0.5ex minus 0ex \if0\@ptsize\else\small\fi %% smaller fonts \sloppy\clubpenalty4000\widowpenalty4000 \sfcode`\.=1000\relax} \let\endthebibliography=\endlist %============================================================ % end of piers2002.sty