%% LyX 1.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[letterpaper,twoside,english]{article}
\usepackage{palatino}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\pagestyle{empty}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\date{}
\usepackage{pstricks, multido, graphicx}
\setlength{\textwidth}{7in}
\setlength{\textheight}{9in}
\setlength{\oddsidemargin}{-5mm}
\setlength{\evensidemargin}{-5mm}
\setlength{\topmargin}{-5mm}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\footskip}{0pt}
\setlength{\parindent}{0pt}
\newlength{\omrx}
\setlength{\omrx}{7mm}
\newcommand{\omrbox}{\makebox[\omrx]{%
   \psovalbox[boxsep=false, linecolor=black]{\rule{0.35em}{0pt}}}}
\newcommand{\row}[2]{\raisebox{0.75ex}{\multido{}{#1}{#2}}}
%% identifying information
\newcommand{\infoline}{some text for project ID here}
%% number of questions (rows)
\newcommand{\nR}{20}
%% number of choices (columns)
\newcommand{\nC}{9}
%% project name
\newcommand{\headlabel}{EIS Project Name}
%%\newcommand{\footlabel}{Paper 80/21 June 2001}
\newlength{\thick}
\newlength{\thin}
\newlength{\antibleed}
\newlength{\bheight}
\setlength{\thick}{1.2mm}
\setlength{\thin}{0.6mm}
\setlength{\antibleed}{0.02mm}
\setlength{\bheight}{8mm}
\addtolength{\thick}{-\antibleed}
\addtolength{\thin}{-\antibleed}
\newcommand{\s}{\hspace{\thin}\hspace{\antibleed}}
\renewcommand{\S}{\hspace{\thick}\hspace{\antibleed}}
\renewcommand{\b}{\rule{\thin}{\bheight}}
\newcommand{\B}{\rule{\thick}{\bheight}}

\usepackage{babel}
\makeatother
\begin{document}
{
\sffamily
\makebox[\textwidth][s]{% Place box across whole page.
\raisebox{6mm}[0pt][0pt]{\infoline}
\includegraphics[scale=0.5]{aesi-logo.eps}}
\vspace{2mm}
\begin{minipage}[t]{2ex}
  %% Title
  \makebox[\nC\omrx]{PREFER FIRST}\\
  %% Put headings on columns
  \hspace*{\omrx}\multido{\nColumn=1+1}{\nC}{\makebox[\omrx]{\nColumn}}
  %% Make nR rows of 9 ovals for answers
  \multido{\nRow=1+1}{\nR}{%
    \makebox[\omrx]{\nRow}
    \multido{}{9}{\makebox[7mm]{\psovalbox[linecolor=blue]{\rule{0.35em}{0pt}}}}\\[1mm]}
\end{minipage}\hspace{1cm}
\begin{minipage}[t]{2ex}
  %% Title
  \makebox[\nC\omrx]{PREFER SECOND}\\
  %% Put headings on columns
  \hspace*{\omrx}\multido{\nColumn=1+1}{\nC}{\makebox[\omrx]{\small 1/\nColumn}}
  %% Make nR rows of 9 ovals for answers
  \multido{\nRow=1+1}{\nR}{%
    \hspace*[\omrx]\multido{}{9}{%
    \makebox[7mm]{\psovalbox[linecolor=blue]{\rule{0.35em}{0pt}}}}\\[1mm]}
\end{minipage}
}
\end{document}
