Use colors in table
This commit is contained in:
parent
38a9de9778
commit
ceac086c1c
2 changed files with 23 additions and 18 deletions
|
@ -20,6 +20,7 @@
|
|||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[ngerman]{babel}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage[table]{xcolor}
|
||||
|
||||
\usepackage{forest}
|
||||
\usepackage{rotating}
|
||||
|
@ -46,15 +47,9 @@
|
|||
|
||||
\usepackage{geometry}
|
||||
\geometry{a4paper, top=2.5cm, left=2.5cm, right=2.5cm, bottom=2.5cm}
|
||||
\usepackage{float,listings,xcolor,csquotes,microtype,scrlayer-scrpage,etoolbox}
|
||||
\usepackage{float,listings,csquotes,microtype,scrlayer-scrpage,etoolbox}
|
||||
\usepackage[official]{eurosym}
|
||||
|
||||
\definecolor{codegreen}{rgb}{0,0.6,0}
|
||||
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
|
||||
\definecolor{codepurple}{rgb}{0.58,0,0.82}
|
||||
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
|
||||
\definecolor{weborange}{rgb}{1,0.65,0}
|
||||
|
||||
\usepackage{adjustbox}
|
||||
\usepackage{fancyvrb,amsmath}
|
||||
\RecustomVerbatimCommand{\VerbatimInput}{VerbatimInput}%
|
||||
|
@ -64,12 +59,6 @@
|
|||
commentchar=* % comment character
|
||||
}
|
||||
|
||||
\lstset{language=Go,
|
||||
basicstyle=\ttfamily\scriptsize,
|
||||
keywordstyle=\color{blue}\ttfamily,
|
||||
stringstyle=\color{red}\ttfamily,
|
||||
commentstyle=\color{green}\ttfamily}
|
||||
|
||||
\setuptoc{toc}{totoc}
|
||||
|
||||
\usepackage[
|
||||
|
|
|
@ -3,20 +3,36 @@
|
|||
\begin{table}[!ht]
|
||||
\begin{adjustbox}{width=0.95\textwidth}
|
||||
\centering
|
||||
\begin{tabular}{l|l|l}
|
||||
\begin{tabular}{|l|l|l|}
|
||||
\hline
|
||||
\textbf{Impact Level} & \textbf{Dimension 1} & \textbf{Dimension 2} \\
|
||||
\hline
|
||||
& & \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\begin{tabular}{l|l|l}
|
||||
\begin{tabular}{|l|l|l|}
|
||||
\hline
|
||||
\textbf{Class} & \textbf{Time Period} \\
|
||||
\hline
|
||||
& \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\begin{tabular}{l|l|l}
|
||||
\begin{tabular}{|l|l|l|}
|
||||
\hline
|
||||
\textbf{Risk Level} & \textbf{Description} \\
|
||||
\hline
|
||||
& \\
|
||||
\rowcolor{pink}
|
||||
Lala & \\
|
||||
\hline
|
||||
\rowcolor{orange}
|
||||
& \\
|
||||
\hline
|
||||
\rowcolor{yellow}
|
||||
& \\
|
||||
\hline
|
||||
\rowcolor{lime}
|
||||
& \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\end{adjustbox}
|
||||
\caption{Impact, Occurrence and Defined action levels}
|
||||
|
@ -30,7 +46,7 @@
|
|||
& \multicolumn{5}{l}{\textbf{Consequences}} \\
|
||||
\textbf{Likelihood} & \textbf{Insignificant} & \textbf{Minor} & \textbf{Moderate} & \textbf{Critical} & \textbf{Catastrophic} \\
|
||||
\hline
|
||||
& & & & & \\
|
||||
& & & & \cellcolor{orange} & \\
|
||||
\end{tabular}
|
||||
\end{adjustbox}
|
||||
\caption{Defined levels mapped to action levels}
|
||||
|
|
Reference in a new issue