
用LaTeX做履歷表時,有時候必須在合併列中插入圖片。如果單單用\includegraphics可能導致表格上下列高不一。這時候建議改用picture環境來插入圖片。如此可以不影響原始表格設定,也更美觀。
\begin{picture}(a,b)(c,d)的意思為將此圖形列印在寬度a,高度b的矩型中,圖形座標為(c,d) 。
範例:
\begin{picture}(40,50)(-341,170)
\includegraphics[width=0.25\textwidth]{cydye.eps}
\end{picture}
\begin{center}
\begin{tabular}
{|p{2.5cm}|p{3cm}|p{2cm}|p{3cm}|p{4cm}|} \hline
\par 姓名 & \par 戴忠淵 & \par 性別 & \par 男 & \raisebox{-6.00ex}[0cm][0cm]{} \\[8pt] \cline{1-4}
\par 身份證字號 & \par X987654321 & \par 出生日期 & \par 民國63年1月10日 & \\[8pt] \cline{1-4}
\par 通訊地址 & \multicolumn{3}{p{9cm}|}{高雄市鼓山區太空站8樓} & \\[8pt] \cline{1-4}
\par 聯絡電話 & \par (07)9876543 & \par 手機 & \par 987654321 & \\[8pt] \cline{1-4}
\par e-mail & \multicolumn{3}{p{9cm}|}{chungyuandye@gmail.com} & \\[8pt] \hline
\end{tabular}
\end{center}
\section{學歷}
\begin{center}
\begin{tabular}
{|p{4cm}|p{4cm}|p{2cm}|p{5cm}|} \hline
\rowcolor[gray]{.9}\par 學校名稱 & \par 主修學門系所 & \par 學位 & \par 起訖年月 \\[8pt] \hline
\par 淡江大學 & \par 管理科學研究所 & \par 博士 & \par 民國86年9月$\sim$90年1月 \\[8pt] \hline
\par 淡江大學 & \par 管理科學研究所 & \par 碩士 & \par 民國84年9月$\sim$86年6月 \\[8pt] \hline
\par 國立台灣海洋大學 & \par 航運管理系 & \par 學士 & \par 民國80年10月$\sim$84年6月 \\[8pt] \hline
\end{tabular}
\end{center}
結果:

讀者回應 ( 0 意見 )
訂閱發佈留言 (Atom)
發佈留言
Please leave your name and tell me what you thought about this site. Comments, suggestions and views are welcomed.
如果這篇文章對你有幫助,那請留個訊息給我~