我正在使用该样式,但在或文件中的命令banking
中找不到任何类型的点填充。subsection
moderncvbody*.sty
moderncvstyle*.sty
例如:
\documentclass[11pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
% modern themes
\moderncvstyle{banking} % style options are 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{blue} % color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
\usepackage[utf8]{inputenc} % if you are not using xelatex ou lualatex, replace by
\usepackage[scale=0.75]{geometry}
\usepackage{import}
\name{My}{Name}
\title{Curriculum Vitae}
\address{my address, line 1, line 2, line 3, postcode}{}{}
\phone[mobile]{+44 12345 12345}
\phone[fixed]{01234 123456}
\email{[email protected]}
\homepage{www.myname.com}
\begin{document}
\makecvtitle
\section{Education}
\vspace{5pt}
\subsection{Academic Qualifications}
\vspace{5pt}
\begin{itemize}
\item{\cventry{2011--2015}{Some title }{Somewhere University}{Over There}{\textit{Some Grade}}{}}
\end{itemize}
\end{document}
此代码产生以下输出:
我想去掉该小节标题中出现的点(此处为:“学历”)。
答案1
由于moderncv
是一个独立的类,例如不使用等,因此使用等\LoadClass{article}
以类似方式摆脱点的通常方式不能直接起作用。ToC
\@dotsep
最简单的方法似乎是“蛮力”
\renewcommand{\subsectionrule}{}
以下是其他未改变的代码:
\documentclass[11pt,a4paper,sans]{moderncv} % possible options include font size ('10pt', '11pt' and '12pt'), paper size ('a4paper', 'letterpaper', 'a5paper', 'legalpaper', 'executivepaper' and 'landscape') and font family ('sans' and 'roman')
% modern themes
\moderncvstyle{banking} % style options are 'casual' (default), 'classic', 'oldstyle' and 'banking'
\moderncvcolor{blue} % color options 'blue' (default), 'orange', 'green', 'red', 'purple', 'grey' and 'black'
\usepackage[utf8]{inputenc} % if you are not using xelatex ou lualatex, replace by
\usepackage[scale=0.75]{geometry}
\usepackage{import}
\name{My}{Name}
\title{Curriculum Vitae}
\address{my address, line 1, line 2, line 3, postcode}{}{}
\phone[mobile]{+44 12345 12345}
\phone[fixed]{01234 123456}
\email{[email protected]}
\homepage{www.myname.com}
\renewcommand{\subsectionrule}{}
\begin{document}
\makecvtitle
\section{Education}
\vspace{5pt}
\subsection{Academic Qualifications}
\vspace{5pt}
\begin{itemize}
\item{\cventry{2011--2015}{Some title }{Somewhere University}{Over There}{\textit{Some Grade}}{}}
\end{itemize}
\end{document}