将链接和电子邮件放在左/右角

将链接和电子邮件放在左/右角

如何将链接放在简历左侧,将电子邮件放在简历右侧

LinkedIn :  https://www.linkedin.com/in/abc-934894159/ email: [email protected]

我做了这个

\documentclass[margin]{res}  

% Default font is the helvetica postscript font
\usepackage{helvet}

% Increase text height
\textheight=700pt

\begin{document}

%-------------------------------------------------------------------------------
%   NAME AND ADDRESS SECTION
%-------------------------------------------------------------------------------
\name{Adnan Farooq}

% Note that addresses can be used for other contact information:
% -phone numbers
% -email addresses
% -linked-in profile

\address{\\LinkedIn : https://www.linkedin.com/in/abc-934894159/ \hfill \hfill \hfill [email protected] \\}

% Uncomment to add a third address
%\address{Address 3 line 1\\Address 3 line 2\\Address 3 line 3}
%-------------------------------------------------------------------------------

\begin{resume}

但它正进入中心

在此处输入图片描述

答案1

嗯,这个班级res.cls很老了,不应再使用

不过,这里有一个肮脏的黑客。将您的“地址”伪造为两个“地址”:

\address{\\LinkedIn: https://www.linkedin.com/in/abc-934894159/}
\address{\\[email protected]\\}

因此,有了以下完整的 MWE

\documentclass[margin]{res}  

% Default font is the helvetica postscript font
\usepackage{helvet}
\usepackage{ragged2e}

% Increase text height
\textheight=700pt


\begin{document}

%-------------------------------------------------------------------------------
%   NAME AND ADDRESS SECTION
%-------------------------------------------------------------------------------
\name{Adnan Farooq}

% Note that addresses can be used for other contact information:
% -phone numbers
% -email addresses
% -linked-in profile

\address{\\LinkedIn: https://www.linkedin.com/in/abc-934894159/}
\address{\\[email protected]\\}

% Uncomment to add a third address
%\address{Address 3 line 1\\Address 3 line 2\\Address 3 line 3}
%-------------------------------------------------------------------------------

\begin{resume}
\section{EDUCATION}
\textbf{University of ...} \hfill 2015--2019\\ 
BSc in ..., May 2019
\section{EMPLOYMENT} 
\end{resume}
\end{document}

您将获得以下结果:

生成的 pdf

相关内容