我正在寻求帮助。我觉得如果标题包含太多信息以至于它们分布在两行上,那么行距就是错误的\title
。moderncv
您知道如何解决这个问题吗?或者您对设计有更好的想法吗?非常感谢!
我认为标题的定义就是:
\renewcommand*{\title}[1]{\def\@title{#1}}
我的小工作示例如下。
\documentclass[11pt,a4paper,sans]{moderncv}
\usepackage{moderncvcompatibility}
\usepackage{moderncvstyleclassic}
\usepackage[left=1.7cm, right=1.7cm, top=1cm, bottom=1cm]{geometry}
\firstname{Max}
\familyname{Mustermann}
\title{Chemist\protect\\[0.2\baselineskip]
Inorganic Chemistry, Organic Chemistry, Software development, Instrumentation, R\&D}
\address{Musterhausen, Musterland}{}{}
\email{[email protected]}
\phone{+1 123456789}
\begin{document}
\makecvtitle
\section{Work Experience}
\end{document}
答案1
对于您来说,我只会使用一个肮脏的解决方法:在标题前\protect\\[0.2\baselineskip]
添加一秒钟。Software
完整的解决方法:
\documentclass[11pt,a4paper,sans]{moderncv}
% moderncv themes
\moderncvstyle{classic} %
\moderncvcolor{blue}
\usepackage[left=1.7cm, right=1.7cm, top=1cm, bottom=1cm]{geometry}
\name{Max}{Mustermann}
\title{Chemist\protect\\[0.2\baselineskip]%
Inorganic Chemistry, Organic Chemistry, \protect\\[0.2\baselineskip]% <================
Software development, Instrumentation, R\&D}
\address{Musterhausen, Musterland}{}{}
\email{[email protected]}
\phone{+1 123456789}
\begin{document}
\makecvtitle
\section{Work Experience}
\end{document}
生成以下 pdf: