From 14278347145d2635694fb6b61c8cef67f26a8f87 Mon Sep 17 00:00:00 2001 From: Simon Law Date: Mon, 20 Jan 2003 20:14:41 -0500 Subject: [PATCH] Version 1.4 * Fixed handling of empty parameters. * Allowed \cscsubtitle to be empty. * Removed the need to use \noindent. * Deprecated some useless commands. * Changed the \csc*skip sizes. Version 1.3 * Cleaned up function defintions. --- csc-poster.sty | 193 ++++++++++++++++++++++++++++--------------------- csclogo.eps | 2 +- csclogo.pdf | Bin 1547 -> 4814 bytes 3 files changed, 111 insertions(+), 84 deletions(-) diff --git a/csc-poster.sty b/csc-poster.sty index f56effc..fc9bdec 100644 --- a/csc-poster.sty +++ b/csc-poster.sty @@ -1,7 +1,20 @@ %% This is csc-poster.sty, which is the LaTeX 2e package for Computer Science %% Club posters. +%% Copyright (C) 2002,2003 Computer Science Club of the University of Waterloo %% -%% Copyright 2002 Computer Science Club of the University of Waterloo +%% This program is free software; you can redistribute it and/or modify +%% it under the terms of the GNU General Public License as published by +%% the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This program is distributed in the hope that it will be useful, +%% but WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +%% GNU General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% along with this program; if not, write to the Free Software +%% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA %% %% This package is based on the original cscposter.sty which was written in %% LaTeX 2.09. Use this package instead, because it is not ugly and happens @@ -18,6 +31,18 @@ %% commands. This is only useful if you are invoking PDFLaTeX. %% %% Changelog: +%% Version 1.4 +%% * Fixed handling of empty parameters. +%% * Allowed \cscsubtitle to be empty. +%% * Removed the need to use \noindent. +%% * Deprecated some useless commands. +%% * Changed the \csc*skip sizes. +%% -- Simon Law Mon, 20 Jan 2003 20:14:41 -0500 +%% +%% Version 1.3 +%% * Cleaned up function defintions. +%% -- Simon Law Sun, 19 Jan 2003 17:01:14 -0500 +%% %% Version 1.2 %% * Use graphics.sty instead of psfig.sty. %% * Renamed csclogo.ps to csclogo.eps. @@ -45,10 +70,91 @@ \RequirePackage{graphicx} \RequirePackage[T1]{fontenc} +%%%%%%%%%%%%%% +%% PAGE LAYOUT +%%%%%%%%%%%%%% +\pagestyle{empty} + +%%%%%%%%%%%%%%%% +%% FONT COMMANDS +%%%%%%%%%%%%%%%% +\providecommand{\HUGE}{\@setfontsize\HUGE{35.83}{35.83}} +\newcommand{\cscfamily}{\renewcommand{\rmdefault}{pnc}} +\newcommand{\csctitlefont}{\cscfamily \HUGE \bf} +\newcommand{\cscspeakerfont}{\cscfamily \LARGE \it} +\newcommand{\csctimefont}{\cscfamily \LARGE \bf} +\newcommand{\cscsubtitlefont}{\cscfamily \LARGE \rm} +\newcommand{\cscbigsubtitlefont}{\cscfamily \Huge \rm} %% DEPRECATED! +\newcommand{\cscbodyfont}{\Large} +% +%% DEPRECATED! +% Use one of these, before \begin{document} to squeeze posters on to one +% page. +\newcommand{\csccram}{\renewcommand{\cscbodyfont}{\large}} +\newcommand{\cscreallycram}{\renewcommand{\cscbodyfont}{\normalsize}} + +%%%%%%%%%%%%%%% +%% DEFINE SKIPS +%%%%%%%%%%%%%%% +\newcommand{\cscsmallskip}{\vspace{0.1in}} +\newcommand{\cscmedskip}{\vspace{0.3in}} +\newcommand{\cscbigskip}{\vspace{0.5in}} + +%%%%%%%%%%%%%%%% +%% DEFINE WRITES +%%%%%%%%%%%%%%%% +\newcommand{\cschead}[2]{% + \begin{center}% + \csctitlefont #1% + \if\@empty#2\relax% + \else% + \\% + \cscspeakerfont% + by\\% + #2% + \fi% + \end{center}% + \cscbodyfont\par% + \cscmedskip\@afterindentfalse\@afterheading% +} + +\newcommand{\cscfoot}[4]{% + \begin{center}% + \vfill% + \csctimefont #1\\% + #2\\% + #3\\% + \if\@empty#4\relax% + \else% + \cscmedskip% + #4\\% + \fi% + \cscbigskip% + \includegraphics[height=1.5in]{csclogo}% + \end{center}% +} + +\newcommand{\cscsubtitle}[1]{% + \if\@empty#1\relax% + \else% + \centerline{\cscsubtitlefont #1}% + \cscmedskip\@afterindentfalse\@afterheading% + \fi% +} + +%% DEPRECATED! +\newcommand{\cscbigsubtitle}[1]{% + \if\@empty#1\relax% + \else% + \centerline{\cscbigsubtitlefont #1}% + \cscmedskip\@afterindentfalse\@afterheading% + \fi% +} + %%%%%%%%%%% %% CSC LOGO %%%%%%%%%%% -\IfFileExists{csclogo.eps}{}{\begin{filecontents*}{csclogo.eps} +\begin{filecontents*}{csclogo.eps} %!PS-Adobe-2.0 EPSF-1.2 %%Creator:Ian Goldberg %%Title:CSC Logo @@ -80,90 +186,11 @@ closepath fill (Club) 330 35 moveto show /Helvetica findfont 18 scalefont setfont (A Student Chapter of the ACM) 135 5 moveto show grestore -\end{filecontents*}} +\end{filecontents*} \RequirePackage{ifpdf} \ifpdf \RequirePackage{epstopdf} \fi -%%%%%%%%%%%%%% -%% PAGE LAYOUT -%%%%%%%%%%%%%% -\pagestyle{empty} - -%%%%%%%%%%%%%%%% -%% FONT COMMANDS -%%%%%%%%%%%%%%%% -\providecommand{\HUGE}{\@setfontsize\HUGE{35.83}{35.83}} -\newcommand{\cscfamily}{\renewcommand{\rmdefault}{pnc}} -\newcommand{\csctitlefont}{\cscfamily \HUGE \bf} -\newcommand{\cscspeakerfont}{\cscfamily \LARGE \it} -\newcommand{\csctimefont}{\cscfamily \LARGE \bf} -\newcommand{\cscsubtitlefont}{\cscfamily \LARGE \rm} -\newcommand{\cscbigsubtitlefont}{\cscfamily \Huge \rm} -\newcommand{\cscbodyfont}{\Large} -% -% Use one of these, before begindocument to squeeze posters onto one -% page. -\newcommand{\csccram}{\renewcommand{\cscbodyfont}{\large}} -\newcommand{\cscreallycram}{\renewcommand{\cscbodyfont}{\normalsize}} - -%%%%%%%%%%%%%%% -%% DEFINE SKIPS -%%%%%%%%%%%%%%% -\newcommand{\cscsmallskip}{\vspace{0.1in plus 1fil}} -\newcommand{\cscmedskip}{\vspace{0.3in plus 1fil}} -\newcommand{\cscbigskip}{\vspace{0.5in plus 1fil}} - -%%%%%%%%%%%%%%%% -%% DEFINE WRITES -%%%%%%%%%%%%%%%% -\newcommand{\cschead}[2]{% - {% - \begin{center}% - \csctitlefont #1% - \if{#2}\empty - \else% - \\% - \cscspeakerfont% - by\\% - #2% - \fi% - \end{center}% - \cscmedskip% - }% - \cscbodyfont% -} - -\newcommand{\cscfoot}[4]{% - {% - \begin{center}% - \vfill% - \csctimefont #1\\% - #2\\% - #3\\% - \if{#4}\empty - \else% - \cscmedskip% - #4\\% - \fi% - \vfill% - \includegraphics[height=1.5in]{csclogo}% - \end{center}% - }% -} - -\newcommand{\cscsubtitle}[1]{% - {% - \centerline{\cscsubtitlefont #1}% - \cscmedskip% - }% -} - -\newcommand{\cscbigsubtitle}[1]{% - {% - \centerline{\cscbigsubtitlefont #1}% - \cscmedskip% - }% -} +\endinput diff --git a/csclogo.eps b/csclogo.eps index 6f2c31c..17a5668 100644 --- a/csclogo.eps +++ b/csclogo.eps @@ -4,7 +4,7 @@ %%BoundingBox: 0 0 540 165 %%EndComments gsave %0 setlinecap 0 setlinejoin 1 setlinewidth -newpath +newpath 10 %% Half of the line width, where the circles have radius 60 %% Calculate the magic angles dup dup dup 2 mul 30 sub exch 60 sub div dup dup mul 1 exch sub sqrt exch atan diff --git a/csclogo.pdf b/csclogo.pdf index 51e19d2c995c0304a2c817dbb6cf7948e35c3b33..0a6ce3616db7d6ba41451fc8678900154fa0e48e 100644 GIT binary patch literal 4814 zcmb_g3piBU+dl}kNrg(CusNx5!k#;mlKUms+>%R~#x|xfni&(ih%QPcmqIa!D0GoH zxpZ7B-H_5j#VLtGsG}T(zO~1UI-URbe9!ki-+rDoYwdUa-phK|yVic+(Q-1k)FtSV zAgzYM6WI_I#>4Eb+n_aT5IZ!O$qRt>0mT`yWCik24vbg^(s`&k%3%AUMn({q$3f{q zP*}R#$wp2qUcO;?FVxwtwoPaJiwD1~R^rU!ePrAFe$VsnQ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