提问于:
浏览数:
2390

请问怎么在表格内添加图片内容?
2 回答
1
就把图片当一个字符好了,没啥区别。
```tex
\documentclass{article}
\usepackage{graphicx}
\begin{document}
\begin{tabular}{c|c|c|c}
\hline
name & direction & color & graph\\
\hline
a1 & N-SL & GGGGrrGrrGrr &\includegraphics[width=2cm]{example-image-a.pdf}\\
\hline
\end{tabular}
\end{document}
```

0
插图和使用 figure 浮动体是可以分开的。
lshort-zh-cn 就是分开讲的。
你的回答
请登录后回答
你的回答将会帮助更多人,请务必认真回答问题。