2

I am making this cv in latex using an altacv template. I want to add this logo to the top right of the document in the same line as my name but I can't figure out how to do that. The pdf currently looks like this:

pdf pic

and this is the code for this part

\PassOptionsToPackage{dvipsnames}{xcolor}

%% Use the "normalphoto" option if you want a normal photo instead of cropped to a circle
% \documentclass[10pt,a4paper,normalphoto]{altacv}

\documentclass[10pt,a4paper,normalphoto]{altacv}

\usepackage{graphicx}
\graphicspath{ {images/} }
\usepackage{float}
\usepackage[export]{adjustbox}
\usepackage{wrapfig}

% Change the page layout if you need to
\geometry{left=1cm,right=9cm,marginparwidth=6.8cm,marginparsep=1.2cm,top=1.25cm,bottom=1.25cm,footskip=2\baselineskip}


% If using pdflatex:
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[default]{lato}


\begin{document}

\name{Osama Younus}
\begin{figure}[H]
    \centering
    \includegraphics[width=1.15in, height=.40in, right]{lums.png}
\end{figure}
\tagline{Software Developer}

\personalinfo{%
  \email{21100013@lums.edu.pk }
  \phone{--------------}
  \linkedin{https://www.linkedin.com/in/osamayounus20/}
  \github{https://git.io/JLNIB}

}

%% Make the header extend all the way to the right, if you want. 
\begin{fullwidth}
\makecvheader

\end{fullwidth}


\end{document}

here is the link for the logo logo

Osama Younus
  • 115
  • 1
  • 8

1 Answers1

3
\PassOptionsToPackage{dvipsnames}{xcolor}

%% Use the "normalphoto" option if you want a normal photo instead of cropped to a circle
% \documentclass[10pt,a4paper,normalphoto]{altacv}

\documentclass[10pt,a4paper,normalphoto]{altacv}

\usepackage{graphicx}
\graphicspath{ {images/} }
\usepackage{float}
\usepackage[export]{adjustbox}
\usepackage{wrapfig}

% Change the page layout if you need to
\geometry{left=1cm,right=9cm,marginparwidth=6.8cm,marginparsep=1.2cm,top=1.25cm,bottom=1.25cm,footskip=2\baselineskip}


% If using pdflatex:
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[default]{lato}

\begin{document}

\name{Osama Younus\hspace*{6.5cm}\lowercase{\includegraphics[width=1.15in]{example-image-duck}}}

\tagline{Software Developer}

\personalinfo{%
  \email{21100013@lums.edu.pk }
  \phone{--------------}
  \linkedin{https://www.linkedin.com/in/osamayounus20/}
  \github{https://git.io/JLNIB}

}

%% Make the header extend all the way to the right, if you want. 
\begin{fullwidth}
\makecvheader

\end{fullwidth}


\end{document}

enter image description here