# booklet with sections separate markers

I am writing an exam booklet that has different sets of questions intended for grade 5 to grade 9. I use article class and each section contains a separate set of questions. I wish to put 6 big numbers 5 for pages that contain questions for grade 5, 6 big numbers 6 for pages that contains questions for grade 6, ...etc, all at top margin. Could you suggest any packages for doing this?

For example, pages that have questions for grade 5 look something like this on top margin:

• what is the relationship between grades and sections or any division of doument? 6 big numbers at header? can you explain a bit more? Sep 22 '15 at 5:54

You can use the eso-pic package to add the number at the desired location. Using a macro to hold the number and redefining it, you can get the desired result. A little example:

\documentclass{article}
\usepackage[a6paper]{geometry}% just for the example
\usepackage{xcolor}
\usepackage{lmodern}
\usepackage{eso-pic}
\usepackage{lipsum}

\fontsize{30}{36}\selectfont%
\,{\color{gray!60}\vrule width 3pt}%
}
\AtPageUpperLeft{%
\raisebox{-2\height}{%
}%
}%
}

\begin{document}

\lipsum[1-4]
\clearpage
\lipsum[1-4]
\clearpage
\lipsum[1-4]
\clearpage
\lipsum[1-4]

\end{document}


The result:

Adjust the settings for the \raisebox to get the desired position in your actual document.

• I mean 5 or 6 numbers of each kind on one relevant page. There should be a vertical bars between these big numbers. It is even better to have gray or different colours for both the numbers and the bars. Sep 22 '15 at 14:18
• @Thumbolt Your description is still confusing. Please add to your question an image (even hand-drawn) of the desired output. Sep 22 '15 at 14:26
• I have drawn a photo to illustrate my point. Sep 22 '15 at 14:48
• @Thumbolt Thanks. I've updated my answer. Let me know of that is what you had in mind. Sep 22 '15 at 15:39
• Before the question pages, there should be some pages introducing the competition. So how to delay the effect of the commands until the first page of question set? Sep 22 '15 at 16:47