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.
This commit is contained in:
parent
e5a7c62ef1
commit
1427834714
193
csc-poster.sty
193
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 <sfllaw@engmail.uwaterloo.ca> Mon, 20 Jan 2003 20:14:41 -0500
|
||||
%%
|
||||
%% Version 1.3
|
||||
%% * Cleaned up function defintions.
|
||||
%% -- Simon Law <sfllaw@engmail.uwaterloo.ca> 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
|
||||
|
|
|
@ -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
|
||||
|
|
BIN
csclogo.pdf
BIN
csclogo.pdf
Binary file not shown.
Loading…
Reference in New Issue