如何在撰写简历时去掉逗号?

如何在撰写简历时去掉逗号?

我正在制作精彩简历(从这里下载https://www.overleaf.com/latex/templates/awesome-cv/dfnvtnhzhhbm)。尽管如此,我还是无法去掉“BS in Computer Science and Engineering”后面的逗号。输出如下:在此处输入图片描述

以下是完整代码:


\documentclass[]{awesome-cv}
\usepackage{multicol}

\newenvironment{cvitems*}[1][2]
 {\setlength{\multicolsep}{0pt}%
  \vspace{-\baselineskip}%
  \begin{multicols}{#1}
  \begin{cvitems}}
 {\end{cvitems}%
  \end{multicols}
  \vspace{-\baselineskip}\vspace{2mm}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%     Personal Data
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Essentials
\name{Some}{Name}
\address{An Address, 3245}
\mobile{(+57) 45-45654-434} 
%%% Social
\email{[email protected]}
\homepage{www.SomePage.com}
\github{Someone2}
\linkedin{Someone2}
%%% Optionals
\position{My Position}
\quote{``I am me.''}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%     Content
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Make a footer for CV with three arguments(<left>, <center>, <right>)
\makecvfooter
  {\today}
  {My Resume}
  {\thepage}

\begin{document}
%%% Make a header for CV with personal data
\makecvheader

\cvsection{Formation}


%-------------------------------------------------------------------------------
%   SUBSECTION TITLE
%-------------------------------------------------------------------------------
%\cvsubsection{International}


%-------------------------------------------------------------------------------
%   CONTENT
%-------------------------------------------------------------------------------
\begin{cvhonors}

%---------------------------------------------------------
    \cvhonor
    { B.S. in Computer Science and Engineering} % Award
    {} % Event
    {Seoul} % Location
    {2022-2023} % Date(s)


%---------------------------------------------------------
  \cvhonor
    {B.S in Computer Science and Engineering} % Award
    {} % Event
    {Seoul} % Location
    {2019-2022} % Date(s)




%---------------------------------------------------------
\end{cvhonors}

预先感谢您的帮助。

答案1

该命令\cvhonor在文档类文件中有一个非常简单的定义。它看起来像这样:

\newcommand*{\cvhonor}[4]{%
  \honordatestyle{#4} & \honorpositionstyle{#1}, \honortitlestyle{#2} & \honorlocationstyle{#3} \\
}

您可以通过将其放在序言末尾来重新定义它:

\renewcommand*{\cvhonor}[4]{%
  \honordatestyle{#4} & \honorpositionstyle{#1} \honortitlestyle{#2} & \honorlocationstyle{#3} \\
}

(只需去掉那个逗号。)

如果您确实想要在某些情况下使用逗号,那么当然必须手动添加它。

相关内容