Advertisement
diaaa

Untitled

Feb 9th, 2020
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. \newif\ifPublicPrinter
  2. \PublicPrintertrue
  3.  
  4. \ifPublicPrinter
  5. \PassOptionsToPackage{draft}{graphicx}
  6. \fi
  7.  
  8. \documentclass[addpoints]{exam}
  9. \usepackage{luacode,fontspec}
  10. \usepackage{graphicx}
  11. \usepackage{unicode-math,siunitx}
  12.  
  13. \ifPublicPrinter
  14. \setmainfont{redacted-script-regular.ttf}
  15. \setmathfont{redacted-script-regular.ttf}
  16. \setmathfont[range=\mathup/{num}]{redacted-script-regular.ttf}
  17. \setmathfont[range=\mathrm]{redacted-script-regular.ttf}
  18. \setmathfont[range=\mathit]{redacted-script-light.ttf}
  19. \setmathfont[range=\mathbf]{redacted-script-bold.ttf}
  20. \setmathfont[range={"2032}]{redacted-script-regular.ttf}
  21. \fi
  22.  
  23. \qformat{Question \thequestion\ (\totalpoints)\hfill}
  24.  
  25. \begin{document}
  26.  
  27. \begin{questions}
  28. \question[7]
  29. some text to be replaced by a dummy one \textsuperscript{super} \textsubscript{sub}.
  30.  
  31. \includegraphics[width=0.25\linewidth]{example-image}\vspace{\baselineskip}
  32.  
  33. \underline{$\symbf{\Delta V \leq 5}~ \si{\kilo\m\per\hour}$}
  34.  
  35. \[\num{-8e-06}~N_e^2 + {0.072}~N_e - \beta\]
  36.  
  37. \begin{tabular}{c}
  38. \hline
  39. some text\\
  40. another text\\
  41. \hline
  42. \end{tabular}
  43. \end{questions}
  44. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement