I have choices typeset in a tabbing environment for a multiple-choice test that require more inter-line spacing. I use \\[1.2\normalbaselineskip] to separate the rows. Preceding the tabbing environment, I need a little more than the default inter-line spacing. I tried using \\[\normalbaselineskip] but got more space than I got using \\[1.2\normalbaselineskip] to separate rows in the tabbing environment. What command should I use to give a proper inter-line spacing?



\noindent \textbf{92.) }If \textit{f} is a function such that $f^{\prime}(x) = -f(x)$, which of the following is equal to $\int x f(x) \, \mathit{dx}$? \\ [\normalbaselineskip]
\hspace*{3em} \= \hspace{2.5in} \= \kill
\> \textbf{a.) }$(x + 1)f(x) + C$               \> \textbf{b.) }$-(x + 1)f(x) + C$ \\[1.2\normalbaselineskip]
\> \textbf{c.) }$\dfrac{x^{2}}{2} \, f(x) + C$  \> \textbf{d.) }$-\dfrac{x^{2}}{2} \, f(x) + C$ \\[1.2\normalbaselineskip]
\> \textbf{e.) }$-\dfrac{x^{2}}{2} \, f(x)\left(1 + \frac{x}{3}\right) + C$

  • Perhaps replacing \\[\normalbaselineskip] (???) with \bigskip… But your code is so… ahem! …strange. – GuM May 3 '17 at 17:08
  • To begin with, you don’t need \usepackage{amsmath} with the amsart document class. – GuM May 3 '17 at 17:14
  • 1
    never use \\ at the end of a paragraph (such as before tabbing) – David Carlisle May 3 '17 at 17:14
  • @David Carlisle Would you use \backslash \backslash at the end of a paragraph? In this case, the user wants to skip a line to start a row of choices. Is this a different situation because the choices are in a tabbing environment? – user143462 May 3 '17 at 18:05
  • 2
    @user143462 no never use \\ at the end of the paragraph it makes an underfull hbox of badness 10000 (which is the maximum value of TeX's badness measure) and awful spacing. – David Carlisle May 3 '17 at 18:32

Leave the numbering and formatting to LaTeX. This also has the advantage that you can \label the items and later \reference them. The code below defines an environment tabbedenum to be used as follows.

\begin{tabbedenum}[optional indentation]{number of columns}
\item ...
\item ...

This will generate a list numbered by letters arranged in several columns. The optional indentation, by default 0pt, allows you to indent the complete multi-column list.

enter image description here




\item If $f$ is a function such that $f^{\prime}(x) = -f(x)$, which of
  the following is equal to $\int x f(x) \, \mathit{dx}$?
  \item $(x + 1)f(x) + C$
  \item $-(x + 1)f(x) + C$
  \item $\dfrac{x^{2}}{2} \, f(x) + C$
  \item $-\dfrac{x^{2}}{2} \, f(x) + C$
  \item $-\dfrac{x^{2}}{2} \, f(x)\left(1 + \frac{x}{3}\right) + C$

  • How do you indent the first column of choices? – user74973 May 3 '17 at 18:23
  • @user74973 I have added an optional argument to tabbedenum for indenting it, see above. – gernot May 3 '17 at 18:53
  • Is that \medskip\par\noindent? If it is, can I have \medskip\medskip\par\noindent. I would want the indentation to be more - half as much more to twice as much. – user74973 May 4 '17 at 17:06
  • @user74973 No, it is the optional argument to tabbedenum, which is 1em in my code above. Try 1.5em or 2em instead. \medskip is the vertical space before a)b)c)... If you want to change it, you can try \bigskip or \vskip{...some length...}. – gernot May 4 '17 at 17:16
  • @user74973 I've modified the code a bit and have added an explanation. – gernot May 4 '17 at 17:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.