Skip to content

Instantly share code, notes, and snippets.

@aurghyadip
Created July 2, 2017 05:39
Show Gist options
  • Select an option

  • Save aurghyadip/e5b376b3407096cf80c8c8e2b258860a to your computer and use it in GitHub Desktop.

Select an option

Save aurghyadip/e5b376b3407096cf80c8c8e2b258860a to your computer and use it in GitHub Desktop.
Latex Template for OMR Sheet
\documentclass{exam}
\usepackage{tikz}
\usepackage{subfig}
\usepackage{amsmath}
\usepackage[margin=1.0in]{geometry}
\pagestyle{empty}
\title{\textbf{Mock Test OMR Sheet}}
\author{Author Name}
\date{}
\begin{document}
\maketitle
{\centering
Instructions for the exam should be here.}
\vspace{5mm}
\noindent\makebox[\textwidth]{Name:\enspace\hrulefill}
\vspace{5mm}
\begin{tikzpicture}[font=\small]
\foreach \line in {1,2,...,15} {
\begin{scope}[yshift=-\line cm]
\foreach \letter/\position in {A/1, B/2, C/3, D/4} {
\node at (0,0) {\normalsize\textbf{\line}};
\node[draw,circle,inner sep=1pt] at ({\position * 0.5},0) {\letter};
}
\end{scope}
}
\end{tikzpicture}
\hfill
\begin{tikzpicture}[font=\small]
\foreach \line in {16,17,...,30} {
\begin{scope}[yshift=-\line cm]
\foreach \letter/\position in {A/1, B/2, C/3, D/4} {
\node at (0,0) {\normalsize\textbf{\line}};
\node[draw,circle,inner sep=1pt] at ({\position * 0.5},0) {\letter};
}
\end{scope}
}
\end{tikzpicture}
\hfill
\begin{tikzpicture}[font=\small]
\foreach \line in {31,32,...,45} {
\begin{scope}[yshift=-\line cm]
\foreach \letter/\position in {A/1, B/2, C/3, D/4} {
\node at (0,0) {\normalsize\textbf{\line}};
\node[draw,circle,inner sep=1pt] at ({\position * 0.5},0) {\letter};
}
\end{scope}
}
\end{tikzpicture}
\hfill
\begin{tikzpicture}[font=\small]
\foreach \line in {46,47,...,50} {
\begin{scope}[yshift=-\line cm]
\foreach \letter/\position in {A/1, B/2, C/3, D/4} {
\node at (0,0) {\normalsize\textbf{\line}};
\node[draw,circle,inner sep=1pt] at ({\position * 0.5},0) {\letter};
}
\end{scope}
}
\end{tikzpicture}
\vfill
{\centering Correct Answers($\times$ 1) : \hrulefill Wrong Answers ($\times (-\frac{1}{4})$) : \hrulefill Total Marks : \hrulefill}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment