diff --git a/csc-poster.sty b/csc-poster.sty index 08ed7c1..f56effc 100644 --- a/csc-poster.sty +++ b/csc-poster.sty @@ -7,20 +7,48 @@ %% LaTeX 2.09. Use this package instead, because it is not ugly and happens %% to work well. %% -%% If you need to squeeze down the text on the posters, you should use \cscram +%% If you need to squeeze down the text on the posters, you should use \csccram %% and if you're really desperate use \cscreallycram. %% +%% Requirements: You must have tetex-bin, tetex-extra and gs installed on your +%% system. +%% +%% If you wish to generate csclogo.pdf for the first time, you ought to +%% run `pdflatex -shell-escape myfile.tex` to allow PDFTeX to execute shell +%% commands. This is only useful if you are invoking PDFLaTeX. +%% %% Changelog: +%% Version 1.2 +%% * Use graphics.sty instead of psfig.sty. +%% * Renamed csclogo.ps to csclogo.eps. +%% * Included epstopdf to support PDFLaTeX. +%% -- Simon Law Thu, 07 Nov 2002 06:26:03 -0500 +%% +%% Version 1.1 +%% * Changed to use \vfill for dynamic logo placement +%% * Included csclogo.ps directly in this file. +%% -- Simon Law Wed, 24 Sep 2002 12:20:03 -0400 +%% +%% Version 1.0 %% * Rewrote cscposter.sty %% -- Simon Law Wed, 11 Sep 2002 11:18:43 -0400 \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{csc-poster}[2002/09/11 v1.0] +\ProvidesPackage{csc-poster}[2002/11/07 v1.2] + +%%%%%%%%%%% +%% PACKAGES +%%%%%%%%%%% +\RequirePackage{fullpage} + \addtolength{\topmargin}{-0.5in} + \addtolength{\textheight}{1.3in} +\RequirePackage{graphicx} +\RequirePackage[T1]{fontenc} %%%%%%%%%%% %% CSC LOGO %%%%%%%%%%% -\begin{filecontents*}{csclogo.ps} +\IfFileExists{csclogo.eps}{}{\begin{filecontents*}{csclogo.eps} %!PS-Adobe-2.0 EPSF-1.2 %%Creator:Ian Goldberg %%Title:CSC Logo @@ -52,16 +80,12 @@ 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*}} -%%%%%%%%%%% -%% PACKAGES -%%%%%%%%%%% -\RequirePackage{fullpage} - \addtolength{\topmargin}{0.5in} - \addtolength{\textheight}{1.3in} -\RequirePackage{psfig} -\usepackage[T1]{fontenc} +\RequirePackage{ifpdf} +\ifpdf + \RequirePackage{epstopdf} +\fi %%%%%%%%%%%%%% %% PAGE LAYOUT @@ -115,7 +139,7 @@ closepath fill \newcommand{\cscfoot}[4]{% {% \begin{center}% - \cscsmallskip% + \vfill% \csctimefont #1\\% #2\\% #3\\% @@ -124,10 +148,8 @@ closepath fill \cscmedskip% #4\\% \fi% - \cscbigskip% - \ifx\undefined\docfont% - \ \psfig{file=csclogo.ps,height=1.5in} \ - \fi% + \vfill% + \includegraphics[height=1.5in]{csclogo}% \end{center}% }% } diff --git a/csclogo.eps b/csclogo.eps index 17a5668..6f2c31c 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 0a6ce36..51e19d2 100644 Binary files a/csclogo.pdf and b/csclogo.pdf differ