我写简历现代简历并且\moderncvstyle{casual}
.
\cvitemwithcomment
写的第一列没有加粗,但第二列加粗。我怎样才能删除加粗?
答案1
因为您没有给出 MWE(请在下一个问题中给出 MWE!),所以我们只能猜测。
我猜你正在使用 的旧版本moderncv
,因为当前版本 2.0.0 不会发生这种情况。你可以编译 的示例文件来检查这一点moderncv
。请参阅 语言,那里有\cvitemwithcomment
使用。
我将语言部分更改为以下代码:
\section{Languages}
\cvitemwithcomment{Language 1}{Skill level}{Comment} % unchanged ==========
\cvitemwithcomment{\textbf{Language} 2}{\textbf{Skill} level}{Comment} % changed ==========
\cvitemwithcomment{Language 3}{Skill level}{Comment} % unchanged ==========
看一下以下结果:
如您所见,语言 1 没有粗体输入,但是语言 2 因\textbf
代码原因而有粗体输入。
moderncv
请检查您安装的版本,更新并检查您的代码不是使用\textbf
或类似的东西。然后你就会得到想要的结果。
这里有一个可编译的、缩短的示例文件,其中包含moderncv
我的更改:
\documentclass[11pt,a4paper,sans]{moderncv}
\moderncvstyle{casual}
\moderncvcolor{blue}
\usepackage[utf8]{inputenc}
\usepackage[scale=0.75]{geometry}
% personal data
\name{John}{Doe}
\title{Resumé title}
\address{street and number}{postcode city}{country}% optional, remove / comment the line if not wanted; the "postcode city" and "country" arguments can be omitted or provided empty
\phone[mobile]{+1~(234)~567~890} % optional, remove / comment the line if not wanted; the optional "type" of the phone can be "mobile" (default), "fixed" or "fax"
\phone[fixed]{+2~(345)~678~901}
\phone[fax]{+3~(456)~789~012}
\email{[email protected]} % optional, remove / comment the line if not wanted
\homepage{www.johndoe.com} % optional, remove / comment the line if not wanted
\social[linkedin]{john.doe} % optional, remove / comment the line if not wanted
\social[twitter]{jdoe} % optional, remove / comment the line if not wanted
\social[github]{jdoe} % optional, remove / comment the line if not wanted
\extrainfo{additional information} % optional, remove / comment the line if not wanted
\photo[64pt][0.4pt]{example-image-a} % optional, remove / comment the line if not wanted; '64pt' is the height the picture must be resized to, 0.4pt is the thickness of the frame around it (put it to 0pt for no frame) and 'picture' is the name of the picture file
\quote{Some quote} % optional, remove / comment the line if not wanted
\begin{document}
\makecvtitle
\section{Education}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\cventry{year--year}{Degree}{Institution}{City}{\textit{Grade}}{Description}
\section{Languages}
\cvitemwithcomment{Language 1}{Skill level}{Comment} % unchanged ==========
\cvitemwithcomment{\textbf{Language} 2}{\textbf{Skill} level}{Comment} % changed ==========
\cvitemwithcomment{Language 3}{Skill level}{Comment} % unchanged ==========
\end{document}