编辑:

编辑:

EuropassCV 模板是一个不错的简历模板。我想做以下修改以满足我的需求:

  1. 删除所有邮件/网页的链接,使其变成一个简单的 PDF;

  2. 删除各部分分隔水平线末端的方块。

我相信这可以通过修改europasscv.cls文件来完成,但我还不够熟练,无法轻松地操作它。

平均能量损失

\documentclass[english,a4paper]{europasscv}

\ecvname{Betty Smith}
\ecvemail{[email protected]}
\ecvhomepage{www.myhomepage.com}

\begin{document}
  \begin{europasscv}

  \ecvpersonalinfo

  \ecvsection{Work experience}

  \ecvtitle{Year -- Year}{Text.}
  \ecvitem{}{Text.}
  \ecvitem{}{Text.}

  \end{europasscv}
\end{document}

笔记:我正在寻找一个不涉及的答案\RenewDocumentCommand,因为它不编译(我的 TeX 版本已更新,如编辑中所示)。修改达到europasscv.cls相同效果也是可以接受的。

编辑: 错误信息:

错误信息

更新后的版本:

在此处输入图片描述

编辑2日志档案

答案1

您想删除所有指向邮件/网页的链接,以便它变成一个简单的 PDF。嗯,这是一个问题,因为这取决于您使用的查看器:一些 pdf 查看器能够识别网页和邮件并为它们创建正确的链接...

但您可以尝试在序言中添加:

\hypersetup{draft} % <==================================================
%\def\convertstring#1{#1}
\def\processlinks#1{#1}

要删除各部分分隔水平线末尾的方块,您可以简单地重新定义使用的命令,ecvsection如下所示:

\makeatletter % <=======================================================
\RenewDocumentCommand\ecvsection{o+m}{%
  \@ecvitemcommandfalse
  \ecvupdatecurrentskip{#1}{\bigskipamount}
  \setlength{\ecv@sectionrulelength}{\ecv@rightcolwidth}
  %\addtolength{\ecv@sectionrulelength}{-7pt}
  \ecvitem{\ecvsectionstyle{#2}}
          {\textcolor{ecvrulecolor}{\noindent\rule{\ecv@sectionrulelength}{1pt}}}
  \nopagebreak
  \@ecvoverrideskiptrue
  \setlength{\ecv@currentskip}{\medskipamount}
}
\makeatother % <========================================================

因此,有了以下 MWE

% !TEX encoding = UTF-8
% !TEX program = pdflatex
% !TEX spellcheck = en_GB

\documentclass[english,a4paper]{europasscv}
\usepackage[english]{babel}

\ecvname{Katie Smith}
\ecvaddress{12 Strawberry Hill, Dublin 8 Éire/Ireland}
\ecvmobile{+353 555 123 555}
\ecvtelephone{+353 127 6689}
\ecvworkphone{+353 999 888 777}
\ecvemail{[email protected] [email protected]}
\ecvhomepage{www.myhomepage.com www.another-homepage.com}
% \ecvgithubpage{www.github.com/smith}
% \ecvlinkedinpage{www.linkedin.com/in/katie-smith}
\ecvim{AOL Messenger}{katie.smith}
\ecvim{Google Talk}{ksmith}

\ecvdateofbirth{1 March 1975}
\ecvnationality{Irish}
\ecvgender{Female}

% \ecvpicture[width=3.8cm]{picture.jpg}

% \date{}

\hypersetup{draft} % <==================================================
%\def\convertstring#1{#1}
\def\processlinks#1{#1}

\makeatletter % <=======================================================
\RenewDocumentCommand\ecvsection{o+m}{%
  \@ecvitemcommandfalse
  \ecvupdatecurrentskip{#1}{\bigskipamount}
  \setlength{\ecv@sectionrulelength}{\ecv@rightcolwidth}
  %\addtolength{\ecv@sectionrulelength}{-7pt}
  \ecvitem{\ecvsectionstyle{#2}}
          {\textcolor{ecvrulecolor}{\noindent\rule{\ecv@sectionrulelength}{1pt}}}
  \nopagebreak
  \@ecvoverrideskiptrue
  \setlength{\ecv@currentskip}{\medskipamount}
}
\makeatother % <========================================================



\begin{document}
  \begin{europasscv}

  \ecvpersonalinfo

  \ecvbigitem{Job applied for}{European project manager}

  \ecvsection{Work experience}

  \ecvtitle{August 2002 -- Present}{Independent consultant}
  \ecvitem{}{National Youth Council of Ireland\newline 3 Montague Street, Dublin 2, D02 V327, Ireland}
  \ecvitem{}{Evaluation of European Commission youth training support measures for youth national agencies and young people}

  \ecvtitle{March 2002 -- July 2002}{Internship}
  \ecvitem{}{European Commission, Youth Unit, DG Education and Culture \newline 200, Rue de la Loi, 1049 Brussels (Belgium)}
  \ecvitem{}{
  \begin{ecvitemize}
      \item evaluating youth training programmes and the partnership between the Council of Europe and European Commission
      \item organizing and running a 2 day workshop on non-formal education for Action 5 large scale projects focusing on quality, assessment and recognition
      \item contributing to the steering sroup on training and developing action plans on training for the next 3 years. Working on the Users Guide for training and the support measures
  \end{ecvitemize}
  }
  \ecvitem{}{\ecvhighlight{Business or sector}\quad European institution}

  \ecvtitle{Oct 2001 -- Feb 2002}{Researcher / Independent Consultant}
  \ecvitem{}{Council of Europe, Budapest (Hungary)}
  \ecvitem{}{Working in a research team carrying out in-depth qualitative evaluation of the 2 year Advanced Training of Trainers in Europe using participant observations, in-depth interviews and focus groups. Work carried out in training courses in Strasbourg, Slovenia and Budapest.}


  \ecvsection{Education and training}

  \ecvtitlelevel{1997--2001}{PhD - Thesis Title: 'Young People in the Construction of the Virtual University’, Empirical research on e-learning}{ISCED~6}
  \ecvitem{}{Trinity College Dublin, The University of Dublin, Ireland}

  \ecvtitle{1993--1997}{Bachelor of Science in Sociology and Psychology}
  \ecvitem{}{Trinity College Dublin, The University of Dublin, Ireland}
  \ecvitem{}{
      \begin{ecvitemize}
    \item sociology of risk
    \item sociology of scientific knowledge / information society
    \item anthropology
    \item E-learning and Psychology
    \item research methods
      \end{ecvitemize}
  }

  \pagebreak

  \ecvsection{Personal skills}
  \ecvmothertongue{English}
  \ecvlanguageheader
  \ecvlanguage{French}{C1}{C2}{B2}{C1}{C2}
  \ecvlanguagecertificate{Diplôme d'études en langue française (DELF) B1}
  \ecvlastlanguage{German}{A2}{A2}{A2}{A2}{A2}
  \ecvlanguagefooter

  \ecvblueitem{Communication skills}{
  \begin{ecvitemize}
    \item team work: I have worked in various types of teams from research teams to national league hockey. For 2 years I coached my university hockey team
    \item mediating skills: I work on the borders between young people, youth trainers, youth policy and researchers, for example running a 3 day workshop at CoE Symposium ``Youth Actor of Social Change'', and my continued work on youth training programmes 
    \item intercultural skills: I am experienced at working in a European dimension such as being a rapporteur at the CoE Budapest ``youth against violence seminar'' and working with refugees.
  \end{ecvitemize}
  }

  \ecvblueitem{Organisational / managerial skills}{
  \begin{ecvitemize}
    \item whilst working for a Brussels based refugee NGO ``Convivial'' I organized a ``Civil Dialogue'' between refugees and civil servants at the European Commission 20th June 2002
    \item during my PhD I organised a seminar series on research methods
  \end{ecvitemize}
  }

  \ecvdigitalcompetence{\ecvBasic}{\ecvIndependent}{\ecvProficient}{\ecvIndependent}{\ecvBasic}

  \ecvblueitem{Computer skills}{
  \begin{ecvitemize}
    \item competent with most Microsoft Office programmes
    \item experience with HTML
  \end{ecvitemize}
  }


  \ecvblueitem{Other skills}{Creating pieces of Art and visiting Modern Art galleries. Enjoy all sports particularly hockey, football and running. Love to travel and experience different cultures.}

  \ecvblueitem{Driving licence}{A, B}

  \ecvsection{Additional information}

  \ecvblueitem{Publications}{\textit{How to do Observations: Borrowing techniques from the Social Sciences to help Participants do Observations in Simulation Exercises}, Coyote EU/CoE Partnership Publication, (2002).
}

  \end{europasscv}

\end{document}

你将得到以下结果:

在此处输入图片描述

编辑:

此类有多个版本。您似乎正在使用较旧的版本(请参阅日志文件中的 beta 备注)。

请更改我给出的代码

\makeatletter % <=======================================================
\RenewDocumentCommand\ecvsection{o+m}{%
  \@ecvitemcommandfalse
  \ecvupdatecurrentskip{#1}{\bigskipamount}
  \setlength{\ecv@sectionrulelength}{\ecv@rightcolwidth}
  %\addtolength{\ecv@sectionrulelength}{-7pt}
  \ecvitem{\ecvsectionstyle{#2}}
          {\textcolor{ecvrulecolor}{\noindent\rule{\ecv@sectionrulelength}{1pt}}}
  \nopagebreak
  \@ecvoverrideskiptrue
  \setlength{\ecv@currentskip}{\medskipamount}
}
\makeatother % <======================================================== 

新的代码

\makeatletter % <=======================================================
\renewcommand{\ecvsection}[2][1.3\bigskipamount]{%
  \@ecvitemcommandfalse
  \setlength{\ecv@sectionrulelength}{\ecv@rightcolwidth}
% \addtolength{\ecv@sectionrulelength}{-7pt}
  \ecvitem[#1]{\ecvsectionstyle{#2}}
              {\textcolor{ecvrulecolor}{\noindent\rule{\ecv@sectionrulelength}{1pt}}}
  \nopagebreak
  \@ecvitemskipfalse
  \@ecvlastitemwassectiontrue
  \vspace*{\medskipamount}
}
\makeatother % <========================================================

如果这没有帮助,请将命令的当前定义添加\ecvsection到您的问题中...

相关内容