Skip to content

Instantly share code, notes, and snippets.

@KevinGutowski
Last active September 1, 2020 19:32
Show Gist options
  • Save KevinGutowski/98ca9548e1525bb09024c79f5c35a506 to your computer and use it in GitHub Desktop.
Save KevinGutowski/98ca9548e1525bb09024c79f5c35a506 to your computer and use it in GitHub Desktop.
Gradescope MC Latex Formatting
\usepackage{wasysym}
% ---- Convenience commands -----
% Choose one option (bubbles)
\newcommand{\chooseone}{{\Large$\Circle$\ \ }}
% Choose all options that apply (boxes)
\newcommand{\choosemany}{{\Large$\Square$\ \ }}
% ---- Example Usage | Multiple Choice -----
\chooseone True \hspace{10pt} \chooseone False
% ---- Example Usage | Select All -----
\choosemany Option 1 \hspace{10pt} \choosemany Option 2 \hspace{10pt} \choosemany Option 3
% If you want them as a list (instead of next to each other)
\usepackage{enumitem}
\begin{itemize}[label={}]
\item \chooseone True
\item \chooseone False
\end{itemize}
\begin{itemize}[label={}]
\item \choosemany Option 1
\item \choosemany Option 2
\item \choosemany Option 3
\end{itemize}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment