在表格中插入箭头

在表格中插入箭头

图像

上面是在Mircosoft Word中画的表格,在LaTeX平台可以像在word中一样插入箭头吗?

我必须在表格中插入箭头,或者花括号也可以。我试过了,但没能成功。

答案1

可以使用以下方法创建箭头马查。我的是一个简单的例子,可以改进一下:

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath}
\usepackage{tikz}

\begin{document}
\begin{table}
\centering
\setlength{\tabcolsep}{15pt} % Default value: 6pt
\renewcommand{\arraystretch}{2} % Default value: 1
\begin{tabular}{|l|}
\hline
\tikzset{every picture/.style={line width=0.75pt}}
\begin{tikzpicture}[x=0.75pt,y=0.75pt,yscale=-1,xscale=1]
\draw  [fill={rgb, 255:red, 36; green, 87; blue, 226 }  ,fill opacity=1 ] (158.5,127.65) .. controls (158.5,108.76) and (135.44,93.45) .. (107,93.45) -- (107,78) .. controls (135.44,78) and (158.5,93.31) .. (158.5,112.2) ;\draw  [fill={rgb, 255:red, 36; green, 87; blue, 226 }  ,fill opacity=1 ] (158.5,112.2) .. controls (158.5,126.22) and (145.79,138.28) .. (127.6,143.55) -- (127.6,138.4) -- (107,154.13) -- (127.6,164.15) -- (127.6,159) .. controls (145.79,153.73) and (158.5,141.67) .. (158.5,127.65)(158.5,112.2) -- (158.5,127.65) ;
\end{tikzpicture}
A little text into table.\\
\hline
\end{tabular}
\end{table}
\end{document}

在此处输入图片描述

相关内容