%% %% Pin in the Sky magazine article template %% %% Copyright (c) Ian Allison %% Pacific Institute for the Mathematical Sciences (PIMS) %% %% ==================================================================== %% This is the official LaTeX class file for authors submitting %% articles to the Pi in the Sky magazine of the Pacific Institute for %% the Mathematical Sciences. %% %% Support sites: %% http://www.pims.math.ca %% http://www.pims.math.ca/resources/publications %% http://www.pims.math.ca/resources/publications/pi-sky %% %% ==================================================================== %% Legal Notice: %% 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 3 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, see . %% ==================================================================== \NeedsTeXFormat{LaTeX2e} \ProvidesClass{PiInTheSky}[2010/10/31 PIMS Pi In The Sky Article Class] \LoadClass[twocolumn]{article} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} \ProcessOptions \renewcommand{\section}{% \@startsection {section}{1}{0pt}{-1.5ex plus -1ex minus -.2ex}% {1ex plus .2ex}{\large\bfseries}% } \setcounter{secnumdepth}{0} \renewcommand{\tiny}{\fontsize{6}{7pt}\selectfont} \renewcommand{\footnotesize}{\fontsize{9}{9pt}\selectfont} \renewcommand{\scriptsize}{\fontsize{9}{10.5pt}\selectfont} \renewcommand{\normalsize}{\fontsize{12}{13.92pt}\selectfont} \renewcommand{\large}{\fontsize{14}{17pt}\selectfont} \renewcommand{\Large}{\fontsize{17}{20.74pt}\selectfont} \renewcommand{\LARGE}{\fontsize{20.74}{24.88pt}\selectfont} \renewcommand{\huge}{\fontsize{20.74}{26pt}\selectfont} \renewcommand{\Huge}{\fontsize{24.88}{28pt}\selectfont} \setlength{\textwidth}{6.5in} \setlength{\textheight}{9in} % Penalize hyphenation as it will mess up 2 column layout \hyphenpenalty=1000 \hbadness=2200 \binoppenalty=1000 \relpenalty=800 \marginparsep 10pt \marginparwidth 20pt \marginparpush 25pt \lineskip 0pt \normallineskip 0pt \lineskiplimit 0pt \normallineskiplimit 0pt % Use the geometry package for neat margins \RequirePackage[margin=0.5in]{geometry} \columnsep 0.25in \oddsidemargin 0.5in \evensidemargin 0.5in \addtolength{\oddsidemargin}{-1in} \addtolength{\evensidemargin}{-1in} \RequirePackage{ccaption} \captionnamefont{\small\bfseries} \captiontitlefont{\small} \renewcommand{\fnum@figure}{\textbf{Fig.~\thefigure}} \newcommand{\mytitle}[1]{% \vskip 0.5em {\bf\Huge #1} } \newcommand{\myauthor}[1]{% \vskip 0.5em {\LARGE #1} \vskip 1.5em } \renewcommand{\@maketitle}{ \begin{center} \mytitle{\@title} \end{center} \begin{flushright}{ \myauthor{\@author} } \end{flushright} } \newenvironment{biography}[1]% {\small\begin{itshape}\textbf{#1}} {\end{itshape}} \RequirePackage{graphicx} \newcommand{\picturebiography}[3]% {\begin{minipage}[b]{0.55\linewidth} \begin{small} \begin{itshape} \textbf{#1} #3 \end{itshape} \end{small} \end{minipage} \hspace{0.1in} \begin{minipage}[b]{0.35\linewidth} \centering \includegraphics[width=1in]{#2} \end{minipage} } \pagestyle{empty} \RequirePackage{natbib}