两栏题目(练习包)

两栏题目(练习包)

我如何在多列中编写问题和子问题?我希望将这些问题放在两列中

\documentclass[14pt]{extarticle}
\usepackage[margin=1.in]{geometry}
\usepackage{amsmath, exercise}

\renewcommand{\baselinestretch}{1.25} 
\parskip=10pt

\begin{document}

\begin{Exercise}[label=Ex1]
Simplify the following fractions.
\Question {$ \dfrac{t^2 - 16}{t^2 - 8t + 16} $}
\Question {$ \dfrac{2t^2 + 3t + 2}{t^2 - t - 2} $}
\Question {$ \dfrac{2t^2 - 4t - 6}{t^2 - 6t + 9} $}
\Question {$ \dfrac{2t^2 - t + -32}{4t^2 + 4t - 24} $}
\Question {$ \dfrac{7t^3 - 7t}{4t^3 + 2t^2 - 2t} $}
\end{Exercise}

\end{document}

答案1

根据记录exercise,第 4 节,您可以使用

\begin{Exercise}
  ...
  \begin{multicols}{2}
    \Question ...
    \Question ...
    \EndCurrentQuestion
  \end{multicols}
\end{Exercise}

将问题排版为多列。请注意\EndCurrentQuestion在 之前使用的\end{multicols}

完整示例:

\documentclass{extarticle}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath, exercise}
\usepackage{multicol}

\renewcommand{\baselinestretch}{1.25}
\parskip=10pt


\begin{document}

\begin{Exercise}[label=Ex1]
  Simplify the following fractions.
  \begin{multicols}{2}
    \Question {$ \dfrac{t^2 - 16}{t^2 - 8t + 16} $}
    \Question {$ \dfrac{2t^2 + 3t + 2}{t^2 - t - 2} $}
    \Question {$ \dfrac{2t^2 - 4t - 6}{t^2 - 6t + 9} $}
    \Question {$ \dfrac{2t^2 - t + -32}{4t^2 + 4t - 24} $}
    \Question {$ \dfrac{7t^3 - 7t}{4t^3 + 2t^2 - 2t} $}
    \EndCurrentQuestion
  \end{multicols}
\end{Exercise}

\end{document}

在此处输入图片描述

相关内容