
我在網路上看到一份簡歷,想知道如何正確格式化在每次經歷旁邊放置公司徽標圖片,如下面的螢幕截圖所示:
使用的模板是眾所周知的資源庫邁克爾·德科特 (Michael DeCorte) 的課程。
不含徽標的正常格式如下:
% Professional Experience
\section{\mysidestyle Professional\\Experience}
\textbf{Software Engineer} \hfill \textbf{04.2016 - present} \\
Contactor at Google ATAP, Mountain View, CA, USA
Working on .....
我的猜測是它使用表格來分別在兩列中顯示徽標和描述,但是,我在將徽標垂直和水平居中對齊時遇到問題。
\begin{tabular}[c]{@{} p{0.5in} p{4.5in} @{}}
\includegraphics[width=0.4in, height=0.4in]{logo.png} &
\textbf{Software Engineer} \hfill \textbf{04.2016 - present} \newline
Contactor at Google ATAP, Mountain View, CA, USA
Working on .....
\end{tabular}
怎樣才能達到我想要的效果呢?
答案1
c
如果您使用而不是該列,則圖像將水平居中p{0.5in}
,並且可以使用垂直居中
\raisebox{-.5\height}{\includegraphics[width=0.4in, height=0.4in]{logo.png}}
.5
有時,根據影像中空白區域的視覺效果和相鄰段落的形狀,除了精確值之外的一些值看起來更好,只需透過眼睛調整以適合您的需求。