我想设置一个选择题的环境,让如图所示的问题和答案列表,以及一些注释行(如“结束”、“非常感谢”)排版在最后一页的末尾。我该如何写呢?
像这样:
\documentclass[12pt]{examdesign}
\usepackage{fourier}
\usepackage{xcolor}
\usepackage{amsmath,amsxtra,latexsym, amssymb, amscd}
\usepackage{tikz, pgfplots}
\usetikzlibrary{arrows}
\usepackage[mathletters]{ucs}
\usepackage{pgfplots}
\pgfplotsset{compat=1.7}
\usepackage[utf8x]{inputenc}
\usepackage{color}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{wrapfig}
\usepackage{times}
\usepackage{dethi}
\usepackage{booktabs}
\usepackage{multirow,bigstrut}
\usepackage{tabu}
\usepackage{pgfplots,caption}
\usepackage[a4paper,tmargin=1.0cm, bmargin=1.5cm, lmargin=1.5cm, rmargin=1.5cm]{geometry}
\pgfplotsset{
dirac/.style={
mark=triangle*,
mark options={scale=2},
ycomb,
scatter,
visualization depends on={y/abs(y)-1 \as \sign},
scatter/@pre marker code/.code={\scope[rotate=90*\sign,yshift=-2pt]}
}
}
\ContinuousNumbering
\ShortKey
\NumberOfVersions{1} %
\SectionPrefix{\relax }
\codeexam{821}
\tieudequestion
\tieudeanswer
\tieudeend
\ngoac{}{.}
\chuquestion{Question}
\mautext{black}
\pagenumber{6}
\renewcommand{\baselinestretch}{1.125}
\NoRearrange
}
我有一个 exam.sty 文件
\ProvidesPackage{exams}
\RequirePackage{ifthen}
\ProcessOptions\relax
\parskip=0pt
\parindent=0pt
\makeatletter
\newcommand{\@Name}{\ }
\newcommand{\@Note}{\ }
\newcommand\@sques{\ }
\newcommand{\@examend}{\ }
\newcounter{codeexam}
\newcommand{\code}[1]{\setcounter{madetracnghiem}{#1}
\addtocounter{codeexam}{-1}}
\newcommand{\Name}[1]{\renewcommand{\@Name}{\makebox[10cm]{{\bf #1:}\dotfill} }}
\newcommand{\Note}[1]{\renewcommand{\@note}{\makebox[10cm]{{\bf #1:}\dotfill} }}
\newcommand{\numberofquestion}[1]{\renewcommand{\@sques}{ #1}}
\makeatother
\renewcommand{\Fullpages}{\setlength{\topmargin}{0pc}
\setlength{\oddsidemargin}{0pc}
\setlength{\evensidemargin}{0pc}
\setlength{\headheight}{0pt}
\setlength{\headsep}{0pt}
\setlength{\textwidth}{17truecm}
\setlength{\textheight}{25truecm}
%\setlength{\hoffset}{-0.5cm}
\setlength{\voffset}{-1cm}
}
\makeatletter
\def\headerofexam{
\begin{examtop}
%-----------------------------