欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Tex表格里插入Tikz绘制的图形

程序员文章站 2022-05-28 12:57:30
...

直接把\begin{tikzpicture} ,这部分内容放在表格里就好了。
如下图,把原点放入第三格中。
Tikz图形代码:

        \begin{tikzpicture}[scale=1.2]
		\fill[brown] (1ex,0ex) circle (1.2ex);
		\end{tikzpicture}

表格代码:

\begin{table}
	\centering
	\begin{tabular}{m{1.2cm}m{1.2cm}m{7cm}}
		\multirow{3}{*}{{\large \textbf{AAA}}} & \textbf{} &
		\begin{tikzpicture}[scale=1.2]
		\fill[brown] (1ex,0ex) circle (1.2ex);
		\end{tikzpicture}
		\\
		& \textbf{} & 
		\begin{tikzpicture}[scale=1.2]
		\fill[brown] (1ex,0ex) circle (1.2ex);
		\end{tikzpicture}
		\\
		& \textbf{} & 
		\begin{tikzpicture}[scale=1.2]
		\fill[brown] (1ex,0ex) circle (1.2ex);
		\end{tikzpicture}
	\end{tabular}
\end{table}

效果
Tex表格里插入Tikz绘制的图形

相关标签: tex latex