Advertisement
diaaa

Untitled

Sep 1st, 2018
522
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. %\setlength{\extrarowheight}{1.5cm}
  17.  
  18. \firstpageheader%
  19. {}%
  20. {%
  21. \renewcommand{\arraystretch}{2}
  22. \setlength{\tabcolsep}{0em}
  23. \begin{tabular}{L{0.333\textwidth}C{0.334\textwidth}R{0.333\textwidth}}
  24. \hline
  25. {text} & \includegraphics[align=c,scale=0.25]{example-image} & {text}\\
  26. \hline
  27. \multicolumn{3}{c}{\cellcolor{gray!20}some long text}\\
  28. \hline
  29. \multicolumn{3}{c}{
  30. \begin{tabular}{L{0.5\textwidth}R{0.5\textwidth}}
  31. TEXT & TEXT
  32. \end{tabular}
  33. }\\
  34. \hline
  35. \end{tabular}
  36. }%
  37. {}
  38.  
  39.  
  40. \begin{document}
  41. \setlength{\parindent}{0cm}
  42. \begin{questions}
  43. \question some question
  44. \question some question
  45. \end{questions}
  46. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement