latex - 如何调整我的 latex 简历标题上的 Logo

标签 latex overleaf

我正在使用 altacv 模板在 latex 中制作此简历。我想将此 Logo 添加到文档的右上角,与我的名字位于同一行,但我不知道该怎么做。 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,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{<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b88a8989888888898bf8d4cdd5cb96dddccd96c8d3" rel="noreferrer noopener nofollow">[email protected]</a> }
  \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 的链接 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,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{<a href="https://stackoverflow.com/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="34060505040404050774584159471a5150411a445f" rel="noreferrer noopener nofollow">[email protected]</a> }
  \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

关于latex - 如何调整我的 latex 简历标题上的 Logo ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65586735/

相关文章:

r - 如何在所有其他代码块之后强制 Knitr 评估\Sexpr

R markdown 格式标题 - pdf 输出

latex - Overleaf API - 如何以编程方式上传图像?

latex - 如何删除 Overleaf 表格中的中间水平线

latex - Overleaf 中的 Biblatex 不显示引文或引用书目

pdf - 当我在 Overleaf 中导入 PDF 文件时,数学模式字符变为 "bold"(阴影)

latex - 两页布局的全页图片

r - 将单元格颜色映射到 kableExtra 中的数据值以创建热图表

latex - latex 引用书