1

I am trying to draw arrows next to a table like this:

table

I was able to draw vertical arrows using the technique shown here:

$\left.
  \begin{tabular}{|c|c|c|}
    \hline medium & high & high \\
    \hline low & medium & high \\
    \hline low & low & medium \\
    \hline
  \end{tabular}
\right\uparrow
\rotatebox[origin=c]{90}{Impact}$

table latex

However I have no idea how to draw the horizontal arrow on top of the table. This answer seems to use the same technique to draw horizontal arrows but I was unable to adapt it. It should also be possible to use TikZ but I would like to keep it simple.

2

With xrightarrow:

\documentclass{article}
\usepackage{amsmath, amssymb}
\usepackage{bigstrut}
\usepackage{array, rotating, cellspace}
\setlength{\cellspacetoplimit}{6pt}
\setlength{\cellspacebottomlimit}{6pt}

\begin{document}

$\xrightarrow[%
  \left.\begin{tabular}{|*{3}{>{\sffamily}Sc|}}
    \hline medium & high & high \\
    \hline low & medium & high \\
    \hline low & low & medium \\
    \hline
  \end{tabular}%
  \enspace \right\uparrow\hskip-1em\rlap{\hskip 1.25em\rotatebox[origin=c]{90}{\sffamily Impact}}]
{\textsf{\normalsize Likelihood}\bigstrut} $

\end{document} 

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.