Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass[12pt]{article}
- \usepackage{amsmath}
- \usepackage{graphicx}
- \usepackage{hyperref}
- \usepackage[utf8]{inputenc}
- %\usepackage{minted}
- \newcommand{\impact}[1] {
- \vspace*{12pt}
- \noindent Impact -- #1}
- \newcounter{solution}
- \setcounter{solution}{1}
- \newcommand{\Solution}[1] {
- \newline Solution \thesolution{} -- #1
- \refstepcounter{solution}}
- \newcommand{\desc}[1]{\ignorespaces}
- \begin{document}
- \section{Something}
- \subsubsection{Test XX}
- Lorem Ipsum...
- \impact{High}
- \Solution{Test this.}
- \desc{This is the description}
- \subsubsection{Test YY}
- Lorem Ipsum...
- \impact{Low}
- \Solution{Do not do this.}
- \desc{Description 2}
- \subsubsection{Table}
- \begin{table}[h]
- \begin{tabular}{|l|l|l|l|}
- \hline
- & Description & Impact & Solution \\ \hline
- 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
- 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
- \end{tabular}
- \end{table}
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement