I'm using the template awesome-cv
(https://github.com/posquit0/Awesome-CV) and I'd like to add the company's or the school's logo next to its line. Could someone hint me on how to do it?
Edit: I managed to get the logo on the side the way I wanted, but I can't have it centered vertically: how can I do it? Here's how it looks like, and here's the code:
\newcommand*{\cventrybis}[6]{%
\vspace{-2.0mm}
\setlength\tabcolsep{0pt}
\setlength{\extrarowheight}{0pt}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 16cm} R{16cm}}
\includegraphics[width=1.5cm]{#6} &
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 5.2cm} R{3cm}}
\ifempty{#2#3}
{\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
{\entrytitlestyle{#2} & \entrylocationstyle{#3} \\
\entrypositionstyle{#1} & \entrydatestyle{#4} \\}
\multicolumn{2}{L{\textwidth}}{\descriptionstyle{#5}}
\end{tabular*}%
\end{tabular*}
}
Best Answer
Based on your command
\cventrybis
I created a new command\mycventry
to get the logo (image) centered to the following text. Because it is based on twominipages
it can not span two pages! I added 0.2cm distance between the image and the following text. And I added a new length for the width of the image:\photowidth
. Change it to a value you need, I used 1.5cm.So with the following MWE (see important code changes marked with
<========
)you get the wished result: