简历标题行显示顺序混乱

简历标题行显示顺序混乱

我正在使用FAANG路径简历模板用于创建简历,但我需要为更多网站添加额外的一行。在此模板标题中,\ 在项目之间形成菱形,因此我不确定如何在没有该命令的情况下创建换行符。我尝试添加额外的 \address{} 行,但它在标题中的顺序乱了(就在名称下方,而不是在最后一行下方)。

\documentclass{resume} % Use the custom resume.cls style

\usepackage[left=0.4 in,top=0.4in,right=0.4 in,bottom=0.4in]{geometry} % Document margins
\newcommand{\tab}[1]{\hspace{.2667\textwidth}\rlap{#1}} 
\newcommand{\itab}[1]{\hspace{0em}\rlap{#1}}
\name{Your Name Here} % Your name
% You can merge both of these into a single line, if you do not have a website.
\address{999-999-9999 \\ City, CA} 
\address{\href{mailto:[email protected]}{[email protected]} \\ \href{https://linkedin.com/in/fist-last}{linkedin.com/in/fist-last} } 
\address{\href{https://researchgate.net/profile/fist-last}{researchgate.net/profile/fist-last} \\ \href{https://github.com/fist-last}{github.com/fist-last} }  %

\begin{document}
\end{document}

在此处输入图片描述

答案1

试试这个代码。现在\\将开始新行,而不是插入菱形。

A

\documentclass{resume} % Use the custom resume.cls style

\usepackage[left=0.4 in,top=0.4in,right=0.4 in,bottom=0.4in]{geometry} % Document margins
\newcommand{\tab}[1]{\hspace{.2667\textwidth}\rlap{#1}} 
\newcommand{\itab}[1]{\hspace{0em}\rlap{#1}}


\name{Firstname Lastname} % Your name
% You can merge both of these into a single line, if you do not have a website.
\address{+1(123) 456-7890 \\ San Francisco, CA} 

\address{\href{mailto:[email protected]}{[email protected]} \\ \href{https://linkedin.com/company/faangpath}{linkedin.com/company/faangpath} \\ 
    \href{www.faangpath.com}{www.faangpath.com}}  %


% *************************************added <<<<<<<<<<<<<<<<<<<<<<<<<<<<
\renewcommand{\printaddress}[1]{%
\parbox{\textwidth}{\begin{center} #1\end{center}}
 \par
\addressskip
}
% *************************************


\begin{document}

%----------------------------------------------------------------------------------------
%   OBJECTIVE
%----------------------------------------------------------------------------------------

\begin{rSection}{OBJECTIVE}
{Software Engineer with 2+ years of experience in XXX, seeking full-time XXX roles.}
\end{rSection}
%----------------------------------------------------------------------------------------
%   EDUCATION SECTION
%----------------------------------------------------------------------------------------

\begin{rSection}{Education}
{\bf Master of Computer Science}, Stanford University \hfill {Expected 2020}\\
Relevant Coursework: A, B, C, and D.

{\bf Bachelor of Computer Science}, Stanford University \hfill {2014 - 2017}

\end{rSection}

\end{document}

相关内容