如何在 moderncv 中扩展 quote 的宽度?我希望 quote 元素更宽,这样它占用的行数就会更少。这是我的最小工作示例:
\documentclass[11pt,a4paper,sans,english]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage{lipsum}
\usepackage[scale=0.8,a4paper]{geometry}
\usepackage{xltxtra}
\usepackage{xunicode}
\setmainfont[Mapping=tex-text]{Times New Roman}
\setsansfont[Mapping=tex-text]{Calibri}
\newfontfamily{\cyrillicfonttt}{Courier New}
\usepackage{polyglossia}
\setmainlanguage{english}
\firstname{John}
\familyname{Doe}
\title{Software Developer}
\mobile{mobile number}
\quote{\lipsum[11]}
\begin{document}
\makecvtitle
\end{document}
答案1
\documentclass[11pt,a4paper,sans,english]{moderncv}
\moderncvstyle{classic}
\moderncvcolor{blue}
\usepackage{lipsum}
\usepackage[scale=0.8,a4paper]{geometry}
\usepackage{xltxtra}
\usepackage{xunicode}
\setmainfont[Mapping=tex-text]{Times New Roman}
\setsansfont[Mapping=tex-text]{Calibri}
\newfontfamily{\cyrillicfonttt}{Courier New}
\usepackage{polyglossia}
\setmainlanguage{english}
\firstname{John}
\familyname{Doe}
\title{Software Developer}
\mobile{mobile number}
\quote{\lipsum[11]}
\usepackage{etoolbox}
\patchcmd{\recomputecvlengths}{%
\setlength{\quotewidth}{0.65\textwidth}%
}{%
\setlength{\quotewidth}{0.8\textwidth}%
}{}{}
\begin{document}
\makecvtitle
\end{document}
答案2
Lockstep 对我来说不起作用。我正在运行 Windows 7、Miktex 和 Texmaker。
这对我有用:
\let\originalrecomputecvlengths\recomputecvlengths
\renewcommand*{\recomputecvlengths}{%
\originalrecomputecvlengths%
\setlength{\quotewidth}{0.8\textwidth}}