nstanger / ouexam

University of Otago LaTeX exam template
0 stars 1 forks source link

Clash between marks positioning and marking schedule #26

Open nstanger opened 10 years ago

nstanger commented 10 years ago

An interesting problem here:

\begin{question}{1}
    What transport layer protocol is preferred for real-time video streaming?
    \begin{enumerate}
        \item ICMP
        \item FTP
        \item TCP
        \item UDP
    \end{enumerate}
    \vspace*{-1.65\baselineskip}
    \begin{marking}

        D UDP (?)
    \end{marking}
\end{question}

The negative \vspace is to force the marks to appear on the same line as the final multi-choice option. However, this also causes the marking schedule to overprint the final multi-choice option, which is sub-optimal. I guess the workaround is to put a positive \vspace in the marking environment to counteract the negative one, but this is only a band-aid.

This probably only applies for things like multiple choice questions where the marks appear after an enumerate environment or similar, as these all tend to add trailing space.

The ultimate solution to this is probably to resolve #9.