我正在尝试使用 Overleaf latex 编辑器准备简历,但我对 latex 还不熟悉。我尝试将我的名字以大尺寸放在左侧,将联系人放在右侧。我使用以下配置,
\newcommand{\name}[1]{\def\@name{#1}}
\newcommand{\tagline}[1]{\def\@tagline{#1}}
\newcommand{\mailaddress}[1]{\printinfo{\mailsymbol}{#1}}
\newcommand{\phone}[1]{\printinfo{\phonesymbol}{#1}}
\newcommand{\linkedin}[1]{\printinfo{\linkedinsymbol}{#1}}
\newcommand{\personalinfo}[1]{\def\@personalinfo{#1}}
\newcommand{\makecvheader}{%
\begin{center}
\begin{minipage}[b]{1\textwidth}
\raggedright\color{emphasis}
{\Huge\bfseries\MakeUppercase{\@name}\par}
\medskip
{\large\bfseries\color{accent}\@tagline\par}
\end{minipage}
\begin{minipage}[b]{1\textwidth}
\begin{flushright}
{\footnotesize\bfseries\@personalinfo\par}
\end{flushright}
\end{minipage}
\end{center}
\medskip
}
并编码为
\name{John Doe}
\tagline{\hspace{1mm} Software Engineer}
\personalinfo{%
\mailaddress{\small [email protected]}\\%
\smallskip
\phone{\small +00 0000000000}\\%
\smallskip
\linkedin{\small linkedin.com/in/johndoe/}
}
%% Make the header extend all the way to the right, if you want.
\begin{fullwidth}
\makecvheader
\end{fullwidth}
我无法删除联系人详细信息旁边的竖线。我们该如何解决这个问题?
谢谢...