%% LyX 2.2.3 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[12pt,english]{article}
\usepackage[scaled=0.92]{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[landscape,letterpaper]{geometry}
\geometry{verbose}
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[authoryear]{natbib}

\makeatletter
\@ifundefined{date}{}{\date{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage[insidebox,separateanswersheet,automarks]{automultiplechoice}
\usepackage{multicol}
\usepackage{tikz}
\usepackage[absolute]{textpos}

%%%
% Define UNM official colors
%%%
% cherry = PMS1935U, gray = PMS Cool Gray 11U)
\definecolor{UNMcherry}{RGB}{193,5,56}
\definecolor{UNMgray}{HTML}{717275}

%%%
%%% Remove paragraph indentation
%%%
\parindent=0pt
\setlength{\parskip}{0.8\baselineskip}
\raggedright

%%%
%%% Set up AMC environment
%%%
\AMCtext{draft}{}
\AMCtext{message}{}
\renewcommand\AMCsubjectPageTag{%
}
\def\Vhrulefill{\leavevmode\leaders\hrule height 1.7ex depth \dimexpr0.4pt-1.7ex\hfill\kern0pt}

\colorlet{fade}{UNMcherry!80!black}
\renewcommand\AMCsubjectPageTag{%
   \begin{tikzpicture}[remember picture,overlay]
        \draw[color=black,line width=0.5in] (-10in,1.0in) -- (1.1in,1.0in);
        \draw[color=fade,line width=0.25in] (-10in,0.625in) -- (1.1in,0.625in);
    \end{tikzpicture}
}


%%%
%%% Utilities for AMC question and answer formatting
%%%

% filled in label box for slides
\newcommand*\choicelabel[1]{%
    \tikz[baseline=(checkbox.base)]{%
        \node[shape=rectangle,fill=UNMcherry,UNMcherry,draw,inner sep=2pt] (checkbox) {#1};
}% tikz
}% newcommand

% minipage for answer for hanging indent on slides
\newcommand*\choiceanswer[1]{%
    \begin{minipage}[t]{0.8\columnwidth}{#1}\end{minipage}
} % newcommand

\def\AMCformQuestion#1{\vspace{\AMCformVSpace}\par{
    \bf {Question \qbox{ #1:}}}}

\usetikzlibrary{positioning}
\usetikzlibrary{decorations.text}
\usetikzlibrary{decorations.pathmorphing}

\newcommand{\questionfont}{\fontsize{40}{48}\selectfont }

%%%
%%% Make the title bar
%%%

\makeatletter
\def\maketitle{%
    \tikzstyle{every anchor}=[north west]
    \tikzstyle{every text justified}
    \tikzstyle{every text width}=[11in]
    \begin{tikzpicture}[overlay]
        \draw[color=UNMcherry,line width=0.75in] (-1.2in,-1in) -- (11in,-1in);
        \node[color=white,] at (4.33in,-1in) {%
             \fontsize{50}{60}\selectfont\@title};
        \node[color=black] at (4.33in,-3in) {%
             \fontsize{40}{48}\selectfont\@author};
    \end{tikzpicture}
}
\makeatother

% format the question for slides
\def\AMCbeginQuestion#1#2{
    \newpage{}{%
        \begin{tikzpicture}[remember picture,overlay]
            \draw[color=UNMcherry,line width=0.75in] (-1.2in,0.47in) -- (11in,0.47in);
            \node[color=white] at (0.3in,0.47in) {\questionfont{Question #1}};
        \end{tikzpicture}
    }% newpage
    \vspace*{12bp}\LARGE%
}

% format the answers for slides
\def\AMCbeginAnswer{\vspace{24bp}}
\def\AMCendAnswer{\vspace{24bp}}
\def\AMCanswer#1#2{\par\choicelabel{#1}\hspace{24bp}\choiceanswer{#2}\vspace*{12bp}}

% format the answer boxes
\AMCboxDimensions{size=5ex,down=1ex,rule=0pt}
\def\AMCchoiceLabelFormat#1{\color{white}\textbf{#1}}

% override the answer box command in order to color fill the check box
\makeatletter
\renewcommand\AMC@boxedchar[4]{\AMC@LR{\hspace{0pt}%
  {\ifx\@empty#2\@empty \def\AMC@boxcolor{black}\fi%
   \ifAMC@correc\def\AMC@boxcolor{black}\fi%
   \lower\AMC@boxeddown\hbox{\csname AMC@shape@\AMC@shapename\endcsname%
     {\AMC@boxcolor}%
     {\ifx\@empty#4\@empty UNMcherry\else\AMC@boxcolor\fi}{#2}{#3}{\AMCchoiceLabelFormat{#1}}}}}%
}
\makeatother

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%
%%% begin document
%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\makeatother

\usepackage{babel}
\begin{document}
\newcommand{\course}{303}
\newcommand{\coursechap}{2}

\element{chapter2}{

\begin{question}{Question 2}

All other things equal, if the price of foreign-made cars rises, then

\begin{multicols}{2}

\begin{choicescustom}

\wrongchoice{zero. }

\correctchoice{1 house. }

\wrongchoice{2 houses. }

\wrongchoice{3 houses.}

\end{choicescustom}

\end{multicols}

\end{question}

}

\element{chapter2}{

\begin{question}{Question 2}

All other things equal, if the price of foreign-made cars rises, then

\begin{choicescustom}

\wrongchoice{zero. }

\correctchoice{1 house. }

\wrongchoice{2 houses. }

\wrongchoice{3 houses.}

\end{choicescustom}

\end{question}

}

\element{chapter2}{

\begin{question}{Question 2}

All other things equal, if the price of foreign-made cars rises, then

\begin{multicols}{2}

\begin{choices}

\wrongchoice{zero. }

\correctchoice{1 house. }

\wrongchoice{2 houses. }

\wrongchoice{3 houses.}

\end{choices}

\end{multicols}

\end{question}

}

\title{ECON \course}

\author{Quiz on Chapter \coursechap{} reading}

\maketitle
\onecopy{1}{

\insertgroup{chapter\coursechap} 

}
\end{document}
