Advertisement
Guest User

Untitled

a guest
May 10th, 2021
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.32 KB | None | 0 0
  1. \documentclass[12pt]{article}
  2. \usepackage{amsmath}
  3. \usepackage{graphicx}
  4. \usepackage{hyperref}
  5. \usepackage[utf8]{inputenc}
  6. %\usepackage{minted}
  7.  
  8.  
  9. \newcommand{\impact}[1] {
  10. \vspace*{12pt}
  11. \noindent Impact -- #1}
  12.  
  13. \newcounter{solution}
  14. \setcounter{solution}{1}
  15. \newcommand{\Solution}[1] {
  16. \newline Solution \thesolution{} -- #1
  17. \refstepcounter{solution}}
  18.  
  19. \newcommand{\desc}[1]{\ignorespaces}
  20.  
  21. \begin{document}
  22.  
  23. \section{Something}
  24. \subsubsection{Test XX}
  25. Lorem Ipsum...
  26.  
  27. \impact{High}
  28. \Solution{Test this.}
  29. \desc{This is the description}
  30.  
  31. \subsubsection{Test YY}
  32. Lorem Ipsum...
  33.  
  34. \impact{Low}
  35. \Solution{Do not do this.}
  36. \desc{Description 2}
  37.  
  38. \subsubsection{Table}
  39. \begin{table}[h]
  40. \begin{tabular}{|l|l|l|l|}
  41. \hline
  42. & Description                                                                            & Impact & Solution                                                                \\ \hline
  43. 1. & \begin{tabular}[c]{@{}l@{}}1.0.1 Test XX\\ \\ This is the description\end{tabular} & High     & \begin{tabular}[c]{@{}l@{}}Solution 1\\ \\ Test this.\end{tabular}      \\ \hline
  44. 2. & \begin{tabular}[c]{@{}l@{}}1.0.2 Test YY\\ \\ Description 2\end{tabular}           & Low      & \begin{tabular}[c]{@{}l@{}}Solution 2\\ \\ Do not do this.\end{tabular} \\ \hline
  45. \end{tabular}
  46. \end{table}
  47.  
  48. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement