微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

如何调整我的 Latex 简历标题上的徽标

如何解决如何调整我的 Latex 简历标题上的徽标

我正在使用 altacv 模板在乳胶中制作此简历。我想将此徽标添加到文档右上角与我的名字相同的行中,但我不知道该怎么做。 pdf 目前看起来像这样:

pdf pic

这是这部分的代码

\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,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}

这里是徽标的链接 logo

解决方法

\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,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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。