1 %% This is csc-poster.sty, which is the LaTeX 2e package for Computer Science
3 %% Copyright (C) 2002,2003 Computer Science Club of the University of Waterloo
5 %% This program is free software; you can redistribute it and/or modify
6 %% it under the terms of the GNU General Public License as published by
7 %% the Free Software Foundation; either version 2 of the License, or
8 %% (at your option) any later version.
10 %% This program is distributed in the hope that it will be useful,
11 %% but WITHOUT ANY WARRANTY; without even the implied warranty of
12 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 %% GNU General Public License for more details.
15 %% You should have received a copy of the GNU General Public License
16 %% along with this program; if not, write to the Free Software
17 %% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 %% This package is based on the original cscposter.sty which was written in
20 %% LaTeX 2.09. Use this package instead, because it is not ugly and happens
23 %% If you need to squeeze down the text on the posters, you should use \csccram
24 %% and if you're really desperate use \cscreallycram.
26 %% Requirements: You must have tetex-bin, tetex-extra and gs installed on your
29 %% If you wish to generate csclogo.pdf for the first time, you ought to
30 %% run `pdflatex -shell-escape myfile.tex` to allow PDFTeX to execute shell
31 %% commands. This is only useful if you are invoking PDFLaTeX.
35 %% * Increased the size of the Speaker byline
36 %% * Merged dtbartle's margin settings, minimizing border whitespace
37 %% -- Gaelan D'costa <gdcosta@csclub.uwaterloo.ca> Wed, 20 June 2007 16:27:33 -500
39 %% * Fixed handling of empty parameters.
40 %% * Allowed \cscsubtitle to be empty.
41 %% * Removed the need to use \noindent.
42 %% * Deprecated some useless commands.
43 %% * Changed the \csc*skip sizes.
44 %% -- Simon Law <sfllaw@engmail.uwaterloo.ca> Mon, 20 Jan 2003 20:14:41 -0500
47 %% * Cleaned up function defintions.
48 %% -- Simon Law <sfllaw@engmail.uwaterloo.ca> Sun, 19 Jan 2003 17:01:14 -0500
51 %% * Use graphics.sty instead of psfig.sty.
52 %% * Renamed csclogo.ps to csclogo.eps.
53 %% * Included epstopdf to support PDFLaTeX.
54 %% -- Simon Law <sfllaw@engmail.uwaterloo.ca> Thu, 07 Nov 2002 06:26:03 -0500
57 %% * Changed to use \vfill for dynamic logo placement
58 %% * Included csclogo.ps directly in this file.
59 %% -- Simon Law <sfllaw@engmail.uwaterloo.ca> Wed, 24 Sep 2002 12:20:03 -0400
62 %% * Rewrote cscposter.sty
63 %% -- Simon Law <sfllaw@engmail.uwaterloo.ca> Wed, 11 Sep 2002 11:18:43 -0400
65 \NeedsTeXFormat{LaTeX2e}
66 \ProvidesPackage{csc-poster}[2002/11/07 v1.2]
71 \RequirePackage{fullpage}
72 \addtolength{\topmargin}{0.5in}
73 \addtolength{\leftmargin}{-0.5in}
74 \addtolength{\rightmargin}{-0.5in}
75 \addtolength{\textheight}{1.3in}
76 \RequirePackage{graphicx}
77 \RequirePackage[T1]{fontenc}
87 \providecommand{\HUGE}{\@setfontsize\HUGE{35.83}{35.83}}
88 \newcommand{\cscfamily}{\renewcommand{\rmdefault}{pnc}}
89 \newcommand{\csctitlefont}{\cscfamily \HUGE \bf}
90 \newcommand{\cscspeakerfont}{\cscfamily \HUGE \it}
91 \newcommand{\csctimefont}{\cscfamily \LARGE \bf}
92 \newcommand{\cscsubtitlefont}{\cscfamily \LARGE \rm}
93 \newcommand{\cscbigsubtitlefont}{\cscfamily \Huge \rm} %% DEPRECATED!
94 \newcommand{\cscbodyfont}{\Large}
97 % Use one of these, before \begin{document} to squeeze posters on to one
99 \newcommand{\csccram}{\renewcommand{\cscbodyfont}{\large}}
100 \newcommand{\cscreallycram}{\renewcommand{\cscbodyfont}{\normalsize}}
105 \newcommand{\cscsmallskip}{\vspace{0.1in}}
106 \newcommand{\cscmedskip}{\vspace{0.3in}}
107 \newcommand{\cscbigskip}{\vspace{0.5in}}
112 \newcommand{\cschead}[2]{%
124 \cscmedskip\@afterindentfalse\@afterheading%
127 \newcommand{\cscfoot}[4]{%
139 \includegraphics[height=1.5in]{csclogo}%
143 \newcommand{\cscsubtitle}[1]{%
146 \centerline{\cscsubtitlefont #1}%
147 \cscmedskip\@afterindentfalse\@afterheading%
152 \newcommand{\cscbigsubtitle}[1]{%
155 \centerline{\cscbigsubtitlefont #1}%
156 \cscmedskip\@afterindentfalse\@afterheading%
163 \begin{filecontents*}{csclogo.eps}
164 %!PS-Adobe-2.0 EPSF-1.2
165 %%Creator:Ian Goldberg
167 %%BoundingBox: 0 0 540 165
169 gsave %0 setlinecap 0 setlinejoin 1 setlinewidth
171 10 %% Half of the line width, where the circles have radius 60
172 %% Calculate the magic angles
173 dup dup dup 2 mul 30 sub exch 60 sub div dup dup mul 1 exch sub sqrt exch atan
174 /csclogomagic1 exch def
175 dup 2 mul 30 add exch 60 add div dup dup mul 1 exch sub sqrt exch atan
176 /csclogomagic2 exch def
179 130 95 60 csclogowid sub 0 180 csclogomagic1 sub arcn
180 70 95 60 csclogowid add csclogomagic2 360 arc
181 190 95 60 csclogowid sub 180 csclogomagic1 neg arcn
182 250 95 60 csclogowid add 180 csclogomagic2 add 180 arc
183 csclogowid dup add 0 rmoveto
184 250 95 60 csclogowid sub 180 csclogomagic1 180 add arcn
185 190 95 60 csclogowid add csclogomagic2 neg 180 arc
186 70 95 60 csclogowid sub 0 csclogomagic1 arcn
187 130 95 60 csclogowid add 180 csclogomagic2 sub 360 arc
189 /Helvetica findfont 48 scalefont setfont
190 (Computer) 330 115 moveto show
191 (Science) 330 75 moveto show
192 (Club) 330 35 moveto show
193 /Helvetica findfont 18 scalefont setfont
194 (A Student Chapter of the ACM) 135 5 moveto show grestore
197 \RequirePackage{ifpdf}
199 \RequirePackage{epstopdf}