Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \newif\ifPublicPrinter
- \PublicPrintertrue
- \ifPublicPrinter
- \PassOptionsToPackage{draft}{graphicx}
- \fi
- \documentclass[addpoints]{exam}
- \usepackage{luacode,fontspec}
- \usepackage{graphicx}
- \usepackage{unicode-math,siunitx}
- \ifPublicPrinter
- \setmainfont{redacted-script-regular.ttf}
- \setmathfont{redacted-script-regular.ttf}
- \setmathfont[range=\mathup/{num}]{redacted-script-regular.ttf}
- \setmathfont[range=\mathrm]{redacted-script-regular.ttf}
- \setmathfont[range=\mathit]{redacted-script-light.ttf}
- \setmathfont[range=\mathbf]{redacted-script-bold.ttf}
- \setmathfont[range={"2032}]{redacted-script-regular.ttf}
- \fi
- \qformat{Question \thequestion\ (\totalpoints)\hfill}
- \begin{document}
- \begin{questions}
- \question[7]
- some text to be replaced by a dummy one \textsuperscript{super} \textsubscript{sub}.
- \includegraphics[width=0.25\linewidth]{example-image}\vspace{\baselineskip}
- \underline{$\symbf{\Delta V \leq 5}~ \si{\kilo\m\per\hour}$}
- \[\num{-8e-06}~N_e^2 + {0.072}~N_e - \beta\]
- \begin{tabular}{c}
- \hline
- some text\\
- another text\\
- \hline
- \end{tabular}
- \end{questions}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement