您的位置:首页 > 其它

LaTex 插入图像,以及应用表格

2013-11-13 15:41 316 查看

插入图像

参考:http://www.ctex.org/documents/latex/graphics/

\includegraphics[width=20mm]{head.png}


应用表格进行布局

参考:http://en.wikibooks.org/wiki/LaTeX/Tables

\documentclass[a4paper, 11pt]{article}
\usepackage{ctex}
\usepackage{graphicx}
\usepackage{multirow}
\begin{document}
\newcommand{\songbox}[2]{\makebox[#1][l]{\songti#2}}
\newcommand{\fangbox}[2]{\makebox[#1][l]{\fangsong#2}}
\newcommand{\heibox}[2]{\makebox[#1][l]{\heiti#2}}
\newcommand{\kaibox}[2]{\makebox[#1][l]{\kaishu#2}}
\newcommand{\youbox}[2]{\makebox[#1][l]{\youyuan#2}}
\newcommand{\libox}[2]{\makebox[#1][l]{\lishu#2}}
\noindent
\begin{tabular}{l l l l}
\heiti姓名:&\kaishu金龙 & 1 & \multirow{3}{*}{\includegraphics[width=20mm]{head.png}} \\
1 & 1 & 1 \\
1 & 1 & 1 \\
\end{tabular}
\end{document}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: