LaTex 插入图像,以及应用表格
插入图像
参考:http://www.ctex.org/documents/latex/graphics/
1: \includegraphics[width=20mm]{head.png}
应用表格进行布局
参考:http://en.wikibooks.org/wiki/LaTeX/Tables
1: \documentclass[a4paper, 11pt]{article}
2: \usepackage{ctex}
3: \usepackage{graphicx}
4: \usepackage{multirow}
5: \begin{document}
6: \newcommand{\songbox}[2]{\makebox[#1][l]{\songti#2}}
7: \newcommand{\fangbox}[2]{\makebox[#1][l]{\fangsong#2}}
8: \newcommand{\heibox}[2]{\makebox[#1][l]{\heiti#2}}
9: \newcommand{\kaibox}[2]{\makebox[#1][l]{\kaishu#2}}
10: \newcommand{\youbox}[2]{\makebox[#1][l]{\youyuan#2}}
11: \newcommand{\libox}[2]{\makebox[#1][l]{\lishu#2}}
12: \noindent
13: \begin{tabular}{l l l l}
14: \heiti姓名:&\kaishu金龙 & 1 & \multirow{3}{*}{\includegraphics[width=20mm]{head.png}} \\
15: 1 & 1 & 1 \\
16: 1 & 1 & 1 \\
17: \end{tabular}
18: \end{document}