\documentclass[11pt,a4paper]{article} \usepackage{amssymb} \usepackage{amsmath} \usepackage{geometry} \geometry{ a4paper, total={170mm,257mm}, left=20mm, top=20mm, } \usepackage{pgf} \pgfmathsetseed{\number\pdfrandomseed} % to ensure that it is randomized % use \randomseed for xelatex \newcommand{\randomnum}[1]{% \pgfmathsetmacro{\thenum}{int(random(ceil(#1-#1/4),floor(#1+#1/4)))}% \thenum% }% \newcommand{\answerbox}[1]{%% \fbox{\rule{#1in}{0pt}\rule[-0.5ex]{0pt}{4ex}}} \title{\textbf{Application Form A23}} \author{c3Reg} \date{Control no. \randomnum{1000}} \addtolength{\topmargin}{-2cm} \begin{document} \maketitle \thispagestyle{empty} \section*{} I hereby applicate for the registration of being a hacker. \\ The passport document has been \ \ \ \answerbox{0.1} already issued in a blank state \ \ \ \answerbox{0.1} not yet issued \section*{Personal data} \ Forename/Nick (max. 17 characters) \\ \answerbox{6.5} \\ Surname (max. 17 characters) [optional] \\ \answerbox{6.5} \\ Home(-hackerspace) (max. 17 characters) \\ \answerbox{6.5} \\ \section*{Current situation} \subsection*{Chaos events} This is my \ \ \ \ \answerbox{0.1} first \ \ \ \ \answerbox{0.1} second \ \ \ \ \answerbox{0.1} $\{\exists x \in \mathbb{N} \ |\ x > 2 \}$ \ \ \ Chaos event I've ever visited. \subsection*{The Chaos} I know \ \ \ \answerbox{0.1} nothing$^{1)}$ \ \ \ \answerbox{0.1} somewhat \ \ \ \answerbox{0.1} the secret \ \ \ \ about the Chaos. \\ $^{1)}$Please fill out form R22 \section*{Additional hints} \begin{itemize} \item To register your \textbf{GPG fingerprint} on your passport, please fill out \textbf{Form PKSR20}. \end{itemize} \end{document}