diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/sciposter/sciposter.cls | 60 |
1 files changed, 36 insertions, 24 deletions
diff --git a/Master/texmf-dist/tex/latex/sciposter/sciposter.cls b/Master/texmf-dist/tex/latex/sciposter/sciposter.cls index 6dcdb35381d..4dba4fe58fc 100644 --- a/Master/texmf-dist/tex/latex/sciposter/sciposter.cls +++ b/Master/texmf-dist/tex/latex/sciposter/sciposter.cls @@ -1,12 +1,18 @@ %% -%% This is file `sciposter.cls' v 1.17 +%% This is file `sciposter.cls' v 1.18 %% %% Authors Michael H.F. Wilkinson and Alle Meije Wink -%% June 15, 2006 +%% August 18, 2006 %% %% Derived from IWIposter.cls, 18/11/2003, same authors %% Problems, bugs and comments to %% m.h.f.wilkinson@rug.nl +%% version 1.18, 2006/08/18 : +%% - footer layout options changed \LEFTSIDEfootlogo command +%% added +%% - \PARstart command problem fixed, by redefining it using +%% the lettrine package by Daniel Flipo +%% - bug in babel support fixed (\abstractname hook used now) %% version 1.17, 2006/06/15 : %% - interfacing to babel implemented by using \figurename %% and \tablename in table caption. Thanks to Marcus @@ -64,6 +70,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/06/01] \LoadClass{article} \RequirePackage{ifthen} +\RequirePackage{lettrine} \newcommand{\papertype}{a0} \newcommand{\requestpointsize}{25pt} @@ -524,10 +531,8 @@ \setpspagesize }{} \pagestyle{empty} - \makeatletter - \renewcommand{\@oddfoot}{\hfill \footlogo\\} - \pagecolor{mainCol} - + \setfooter + \pagecolor{mainCol} } % @@ -562,17 +567,30 @@ } % % -% - - +% +\newboolean{footlogo@leftside} +% +\newcommand{\LEFTSIDEfootlogo}[1][true]{% + \setboolean{footlogo@leftside}{#1} + \setfooter +} % \newcommand{\footlogo}{} +\newcommand{\@conference}{} +% +\newcommand{\setfooter}{% + \ifthenelse{\boolean{footlogo@leftside}}{% + \renewcommand{\@oddfoot}{\footlogo \hfill \@conference\\} + }{% + \renewcommand{\@oddfoot}{\@conference \hfill \footlogo\\} + } +} % % \newcommand{\conference}[1]{% arg:name of conference -%\setlength{\footskip}{0.02\paperheight}% \makeatletter -\renewcommand{\@oddfoot}{\footnotesize #1 \hfill \footlogo\\} +\renewcommand{\@conference}{\footnotesize #1} +\setfooter } \renewcommand{\maketitle}{% @@ -767,7 +785,7 @@ \renewcommand{\subsection}{\secdef\SubSection\sSubSection} %%% \renewenvironment{abstract} -{\section*{Abstract}\it} +{\section*{\abstractname}\it} {} %%% %%% @@ -938,19 +956,13 @@ \setboolean{userightlogo}{false} \setlength{\titlewidth}{\textwidth} } + % -%%% \PARstart command purloined from IEEEtran.cls -% -\def\PARstart#1#2{\ifthenelse{\equal{\secstyle}{boxed}}{\vspace{0.5\secskip}}{} - \begingroup\def\par{\endgraf\endgroup\lineskiplimit=0pt} - \setbox2=\hbox{\uppercase{#2~}}\newdimen\tmpht \tmpht \ht2 - \advance\tmpht by \baselineskip\font\huge=cmr10 at \tmpht - \setbox1=\hbox{{\Huge #1}} - \count7=\tmpht \count8=\ht1\divide\count8 by 1000 \divide\count7 by\count8 - \tmpht=.001\tmpht\multiply\tmpht by \count7\font\hhuge=cmr10 at \tmpht - \setbox1=\hbox{{\Huge #1}} \noindent \hangindent1.05\wd1 - \hangafter=-2 {\hskip-\hangindent \lower1\ht1\hbox{\raise1.0\ht2\copy1}% - \kern-0\wd1}\copy2\lineskiplimit=-1000pt} +%%% \PARstart command redefined using lettrine package of Danial Flipo +%% only included here for backwards compatibility + +\newcommand{\PARstart}[2]{\lettrine{#1}{#2}} + \endinput |