我正在使用以下表格代码来创建我的简历顶部列表。但是,我似乎无法让包含图像的列的宽度变窄,因为它看起来不合适。
有没有什么方法可以“压缩”列大小,以便图像周围不会有太多空白?
或者,我可以强制右侧的文本跳转到左侧吗?没有负空间命令吗?
\begin{tabular}{p{4.5in}cp{3in}}\\
\huge{Dr. First Lastname} & \includegraphics[width=0.1in,keepaspectratio]{email} & My City, State Zip, USA\\
\normalsize\textit{Curriculum Vitae} & \includegraphics[width=0.15in,keepaspectratio]{emailat} & [email protected]\\
& \includegraphics[width=0.1in,keepaspectratio]{globe} & www.mysite.com\\
\end{tabular}
答案1
我明白了,只需在右侧文本前使用负 \hspace 值:
\begin{tabular}{p{4.5in}cp{3in}}\\
\huge{Dr. First Lastname} & \includegraphics[width=0.1in,keepaspectratio]{email} & \hspace{-15pt} My City, State Zip, USA\\
\normalsize\textit{Curriculum Vitae} & \includegraphics[width=0.15in,keepaspectratio]{emailat} & \hspace{-15pt} [email protected]\\
& \includegraphics[width=0.1in,keepaspectratio]{globe} & \hspace{-15pt} www.mysite.com\\
\end{tabular}