\documentclass[10pt]{article}

\usepackage{ifthen}

\newcommand{\coursenumber}{480}
\newcommand{\coursename}{Senior Seminar}
\newcommand{\semester}{Fall '03}

% A name for this discussion goes here
\newcommand{\discussion}{Name of Discussion}

% Your names go here
\newcommand{\preparedby}{Your Names Here}

% Date of Discussion
\newcommand{\discussiondate}{17/Sept.}

%
% Commands to use in forming content
%

% To start the Primary papers section
% \primarypapers
\newcommand{\primarypapers}{\section*{Primary Papers}\begin{quotation}}

% Journal info for \jarticle and \jwarticle
% \jinfo{Journal} % Journal Title
%       {Volume} % Volume (or '{}' if not vol./no.)
%       {Number (if any)} % Number or Month if Volume is {} or
%                         %  just `{}' Volume but no numbered
%       {1} % First page (or `{}' if genuinely unnumbered)
%       {2} % Last page (`{}' if only one page, or `{(unnumbered)}')
%       {Date} % Date of publication
\newcommand{\jinfo}[6]{%
\ifthenelse{\equal{#1}{}}{(Journal title missing)}{\emph{#1}}, 
\ifthenelse{\equal{#2}{}}
           {\ifthenelse{\equal{#3}{}}{(Volume and number missing)}{{#3}}, }
           {Vol.\ {#2}, \ifthenelse{\equal{#3}{}}{}{No.\ {#3}, }} 
\ifthenelse{\equal{#4}{}}
           {\ifthenelse{\equal{#5}{}}{(Page numbers missing)}{#5}}
           {\ifthenelse{\equal{#5}{}}{pg.\ {#4}}{pp.\ {#4}--{#5}}}, 
\ifthenelse{\equal{#6}{}}{(Publication date missing)}{#6}.
}


% To add a journal article to the list of papers
%\jarticle{Authors} % Authors
%         {Title.} % Title % End with `.', `?', or `!'
%         {Journal} % Journal Title
%         {Volume} % Volume (or Month if not vol./no.)
%         {Number (if any)} % Number  just `{}' if unnumbered
%         {1} % First page (or `{}' if genuinely unnumbered)
%         {2} % Last page (`{}' if only one page, or `{(unnumbered)}')
%         {Date} % Date of publication
\newcommand{\jarticle}[8]{%
\par{#1} {``#2''} {\jinfo{#3}{#4}{#5}{#6}{#7}{#8}}\par
}

% To add a web article to the list of papers
% \warticle{Authors}
%          {Title.} % End with `.', `?', or `!'
%          {Organization}
%          {Date created (if known) }
%          {url (no brackets) }
%          {date accessed}
\newcommand{\warticle}[6]{%
\par{#1} {``#2''} {#3}, \ifthenelse{\equal{#4}{}}{(date unknown)}{#4,} 
\texttt{<#5>}, {accessed #6}.\par
}

% To add a web and journal article to the list of papers
% \jwarticle{Authors}
%           {Title.} % End with `.', `?', or `!'
%           {Organization}
%           {Date created (if known)}
%           {url (no brackets) }
%           {date accessed}
%           {\jinfo{Journal} % Journal Title
%                  {Volume} % Volume (or '{}' if not vol./no.)
%                  {Number (if any)} % Number or Month if Volume is {} or
%                                    %  just `{}' Volume but no numbered
%                  {1} % First page (or `{}' if genuinely unnumbered)
%                  {2} % Last page (`{}' if only one page, or `{(unnumbered)}')
%                  {Date} % Date of publication
%           }  % note that \jinfo is explicit and is between `{' and `}' 
\newcommand{\jwarticle}[7]{%
\par{#1} {``#2''} {#3}, \ifthenelse{\equal{#4}{}}{(date unknown)}{#4,} 
\texttt{<#5>}, {accessed #6}.  Also in {#7}\par}

% To end either papers section
% \papersend
\newcommand{\papersend}{\end{quotation}}

% To start the Additional papers section
% \additionalpapers
\newcommand{\additionalpapers}{\section*{Additional Papers}\begin{quotation}}


% To start a new section of questions (note `{' and `}')
% \sectionstart{Short Title of Paper or Author's Name}
\newcommand{\sectionstart}[1]{\section*{#1}\begin{enumerate}}

% To set a question within a section  (note `{' and `}')
% \question{The text of the question}
\newcommand{\question}[1]{\item {#1}}

% To end a section of questions (necessary)
% \sectionend
\newcommand{\sectionend}{\end{enumerate}}

% halfwide.sty  5.5 in column width
\textwidth 5.5in
\oddsidemargin 0.5in
\evensidemargin 0.5in
\topmargin 0.5in
\textheight 7.6in
\columnwidth \textwidth

\newcommand{\stretchpage}[2]{
\addtolength{\topmargin}{-#1}
\addtolength{\textheight}{#2}}


\parskip \baselineskip

\title{\vspace*{-1in}CS-\coursenumber---\coursename\\
Study questions for \emph{\discussion}\\
\semester}
\author{\preparedby}
\date{\discussiondate}
\pagestyle{myheadings}
\markright{CS-\coursenumber---\semester---\emph{\discussion}}


\begin{document}
\maketitle

\primarypapers

\jarticle{Authors} % Authors
{Title} % Title
{Journal} % Journal Title
{Volume} % Volume 
{Number} % Number
{1--2} % Pages (in form xx--yy) (note _two_ `-'s)
{Date} % Date of publication

\jarticle{Authors}{Title}{Journal}{Volume}{Number}{1--2}{Date}

\papersend

\additionalpapers

\jarticle{Authors}{Title}{Journal}{Volume}{Number}{1--2}{Date}

\papersend

\sectionstart{Short Title of Paper or Author's Name}

\question{The text of the question.}

\question{The text of the question.}

\sectionend

\sectionstart{Short Title of Paper or Author's Name}

\question{The text of the question.}

\question{The text of the question.}

\sectionend

\end{document}
