出色的简历编辑

出色的简历编辑

有人能帮我编辑包含电话号码、电子邮件地址、领英 ID 等详细信息的行间距吗?我只输入了我的邮件 ID 和联系电话。但是,那条线不在页面的中心。它向左移动了一点。而如果我输入邮件 ID、联系电话和领英 ID,那条线就会在页面的中心。请有人帮我解决这个问题。提前感谢您的时间。

答案1

我测试了sharelatex版本,发现了你问题中提到的问题。

从那时起,documentclass 似乎已经得到改进,它在这里:

https://github.com/posquit0/Awesome-CV/blob/master/awesome-cv.cls

(请下载并使用此文件)

结果好多了,但电子邮件末尾仍留有空格,导致结果看起来不完美居中。(请仔细查看下面的第二张图片,并与我修复后的第三张图片进行比较)

将 430-516 行更改为:

\begin{minipage}[c]{\headertextwidth}
\ifthenelse{\equal{#1}{L}}{\raggedright}{\ifthenelse{\equal{#1}{R}}{\raggedleft}{\centering}}
        \headerfirstnamestyle{\@firstname}\headerlastnamestyle{{}\acvHeaderNameDelim\@lastname}%
        \\[\acvHeaderAfterNameSkip]%
        \ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position\\[\acvHeaderAfterPositionSkip]}}%
        \ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address\\[\acvHeaderAfterAddressSkip]}}%
        \headersocialstyle{%
          \newbool{isstart}%
          \setbool{isstart}{true}%
          \def\isntstart{$\;$\setbool{isstart}{false}}%koleygr:Used this command as a macro: 
%(for faster and not for better) The idea is that we need a space on start of
% "social" elements because on end it will always be one .
%The maintainer can use better way for the space of cource
          \ifthenelse{\isundefined{\@mobile}}%
            {}%
            {%
              \isntstart%
              \faMobile\acvHeaderIconSep\@mobile%
            }%
          \ifthenelse{\isundefined{\@email}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}%
            }%
          \ifthenelse{\isundefined{\@homepage}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \href{http://\@homepage}{\faHome\acvHeaderIconSep\@homepage}%
            }%
          \ifthenelse{\isundefined{\@github}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \href{https://github.com/\@github}{\faGithubSquare\acvHeaderIconSep\@github}%
            }%
          \ifthenelse{\isundefined{\@gitlab}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \href{https://gitlab.com/\@gitlab}{\faGitlab\acvHeaderIconSep\@gitlab}%
            }%
          \ifthenelse{\isundefined{\@stackoverflowid}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \href{https://stackoverflow.com/users/\@stackoverflowid}{\faStackOverflow\acvHeaderIconSep\@stackoverflowname}%
            }%
          \ifthenelse{\isundefined{\@linkedin}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \href{https://www.linkedin.com/in/\@linkedin}{\faLinkedinSquare\acvHeaderIconSep\@linkedin}%
            }%
          \ifthenelse{\isundefined{\@twitter}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \href{https://twitter.com/\@twitter}{\faTwitter\acvHeaderIconSep\@twitter}%
            }%
          \ifthenelse{\isundefined{\@skype}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \faSkype\acvHeaderIconSep\@skype%
            }%
          \ifthenelse{\isundefined{\@reddit}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \href{https://www.reddit.com/user/\@reddit}{\faReddit\acvHeaderIconSep\@reddit}%
            }%
          \ifthenelse{\isundefined{\@xing}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \href{https://www.xing.com/profile/\@xing}{\faXingSquare\acvHeaderIconSep\@xing}
            }%
          \ifthenelse{\isundefined{\@extrainfo}}%
            {}%
            {%
              \ifbool{isstart}{\isntstart}{\acvHeaderSocialSep}%
              \@extrainfo%
            }%
        } \\[\acvHeaderAfterSocialSkip]%
        \ifthenelse{\isundefined{\@quote}}%
          {}%
          {\headerquotestyle{\@quote\\}\vspace{\acvHeaderAfterQuoteSkip}}%
\end{minipage}%

结果是:

在此处输入图片描述

相关内容