Advertisement
diaaa

Untitled

Aug 31st, 2018
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. \documentclass[
  2. addpoints,
  3. ]{exam}
  4.  
  5. \usepackage{lipsum,graphbox,mdframed,array,ragged2e,booktabs,fmtcount,multicol,multirow,tabularx}
  6. \usepackage[table]{xcolor}
  7. \usepackage[export]{adjustbox}
  8.  
  9. \newcolumntype{L}[1]{>{\RaggedRight\hspace{0pt}}m{#1}}
  10. \newcolumntype{R}[1]{>{\RaggedLeft\hspace{0pt}}m{#1}}
  11. \newcolumntype{C}[1]{>{\Centering\hspace{0pt}}m{#1}}
  12.  
  13. \pagestyle{headandfoot}
  14.  
  15. \extraheadheight{10cm}
  16.  
  17. \firstpageheader%
  18. {}%
  19. {%
  20. \renewcommand{\arraystretch}{2}
  21. \setlength{\tabcolsep}{0em}
  22. \begin{tabularx}{\textwidth}{L{0.333\textwidth}C{0.334\textwidth}R{0.333\textwidth}}
  23. \hline
  24. {text} & \includegraphics[align=c,scale=0.25]{example-image} & {text}\\
  25. \hline
  26. \multicolumn{3}{c}{\cellcolor{gray!20}some long text}\\
  27. \hline
  28. \multicolumn{3}{c}{
  29. \begin{tabularx}{\textwidth}{L{0.5\textwidth}R{0.5\textwidth}}
  30. TEXT & TEXT
  31. \end{tabularx}
  32. }\\
  33. \hline
  34. \end{tabularx}
  35. }%
  36. {}
  37.  
  38.  
  39. \begin{document}
  40. \setlength{\parindent}{0cm}
  41. \begin{questions}
  42. \question some question
  43. \question some question
  44. \end{questions}
  45. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement