Physics307L F09:People/Smith/styles/uereport

% UE report style for Physics

\immediate\write16{ --> Report Style for UE Physics Department.}% \immediate\write16{ --> Version 1.1.0}% \immediate\write16{ --> See LICENSE file for legal stuff}%

\usepackage{epsfig}               % for placing eps figures \usepackage{natbib}           % for citations \bibliographystyle{apjuc}       % for bibliography style

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % These are the fonts that we use throughout this style. Hopefully the use for % % each one is self explanitory... % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newfont{\titlefont}{cmbx18} \newfont{\abstractfont}{cmbcsc10 scaled 1200} \newfont{\secfont}{cmbx14} \newfont{\subsecfont}{cmbx12} \newfont{\subsubsecfont}{cmr12} \renewcommand{\small}{\fontsize{10}{12}\selectfont}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Set up standard stuff - margins, spacing, indenting, etc... % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\topmargin     -0.5in \textheight    8.5in \oddsidemargin 0.15in \evensidemargin 0.15in \textwidth     6.2in \parindent     0pt \baselineskip  14pt \parskip       \baselineskip \listparindent 0pt

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % For making the title line stuff (including the abstract). % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\department#1{\gdef\@department{#1}} \def\university#1{\gdef\@university{#1}} \def\citystatezip#1{\gdef\@citystatezip{#1}} \def\course#1{\gdef\@coursename{#1}} \def\email#1{\gdef\@email{#1}} \def\experimentalists#1{\gdef\@experimentalists{#1}} \def\date#1{\gdef\@date{#1}}

\renewcommand\@maketitle{ \null \vspace{-0.5in} \begin{center} {\titlefont \@title \par} \vskip 3pt {\lineskip .25em \begin{tabular}[t]{c}Author: \@author\\ Experimentalists: \@experimentalists\\\\ {\it \@department, \@university ,}\\ {\it \@citystatezip}\\\\ {\it \@coursename :$\;$ \@date }\\ {\it \@email} \end{tabular}\par} \end{center} }

\def\abstract#1{ \vspace{\baselineskip} \centerline{\vbox{\hsize 5.5 true in \noindent{\abstractfont Abstract.} {\small #1}}} }

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % I like the fonts and spacing for sections to be a little less "loud" than   % % the defaults. This fixes up sections, subsections, and subsubsections. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\renewcommand\section{\@startsection {section}{1}{\z@}% {-1.5ex \@plus -1ex \@minus -.2ex}% {0.1pt \@plus.2ex}% {\secfont}} \renewcommand\subsection{\@startsection{subsection}{2}{\z@}% {-1.25ex\@plus -1ex \@minus -.2ex}% {0.1ex \@plus .2ex}% {\subsecfont}} \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}% {-1.00ex\@plus -1ex \@minus -.2ex}% {0.1ex \@plus .2ex}% {\subsubsecfont}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Figure macro. How we define this macro depends on whether we are running   % % PDFLaTeX or regular LaTeX. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\ifx\pdfoutput\undefined \def\genfig#1#2{\par\centerline{\pdfximage width #2 true in {#1}% \pdfrefximage\pdflastximage}} \else \def\genfig#1#2{\par\centerline{\epsfxsize=#2 true in \epsfbox{#1}}} \fi

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % The captions for the article class kind of suck. We want the figure number % % to be boldfaced, and we want the spacing to be singled spaced. So we crib  % % and hack the makecaption macro. % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\long\def\@makecaption#1#2{% % \setlength{\baselineskip}{14pt} %  \vskip\abovecaptionskip %  \sbox\@tempboxa{{\bf #1.} #2}% %  \ifdim \wd\@tempboxa >\hsize %     {\bf #1.} #2\par %  \else %    \global \@minipagefalse %     \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}% % \fi %  \vskip\belowcaptionskip% % \setlength{\baselineskip}{14pt} %}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%