![moderncv(\cv언어)의 \newline](https://rvso.com/image/348609/moderncv(%5Ccv%EC%96%B8%EC%96%B4)%EC%9D%98%20%5Cnewline.png)
\cv언어 환경 내부에 개행 문자를 갖고 싶습니다. 전에는 문제 없이 했었는데 지금은 작동하지 않습니다. (cvtheme에서 캐주얼에서 클래식으로 변경했는데, 관련이 있는지 모르겠습니다.)
\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[green]{classic} % optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and
\usepackage[utf8]{inputenc} % replace by the encoding you are using
\usepackage[scale=0.8]{geometry}
\firstname{John }
\familyname{Doe}
\mobile{ 6666666666 } % optional, remove the line if not wanted
\social[linkedin][es.linkedin.com/in/johndoe]{John Doe}
\email{[email protected] } % optional, remove the line if not wanted
\makeatletter
\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
\makeatother
\begin{document}
\maketitle
\section{Idiomas}
\cvlanguage{Ingl\'es}{Alto. Nivel: C2* \newline \footnotesize{T\'itulo superior de ingl\'es. Escuela Oficial de Idiomas de Alicante 2000-2005.}}{}
\cvlanguage{Catal\'an}{Alto. Nivel: C2* \newline \footnotesize{T\'itulo Mitj\`a de Valenci\`a. Junta Qualificadora de Coneixements de Valenci\`a 2004.}}{}
\cvlanguage{Alem\'an}{Intermedio. Nivel: B2* \newline \footnotesize{T\'itulo Intermedio de Alem\'an. Escuela Oficial de Idiomas de Alicante 2009.}}{}
\cvlanguage{Franc\'es}{Pre-intermedio. Nivel: A2* \newline \footnotesize{Escuela Oficial de Idiomas de Madrid 2017.}
\newline \newline\emph{*Common European Framework of Reference(CEF) level.}}{}
\end{document}
문안 인사,
이그나시오
답변1
두 번째 인수를 여러 줄로 분할할 수 있는 새 명령을 정의할 수 있습니다.
\documentclass[11pt,a4paper]{moderncv}
\moderncvtheme[green]{classic}
\usepackage[utf8]{inputenc}
\usepackage[scale=0.8]{geometry}
\makeatletter
\renewcommand*{\bibliographyitemlabel}{\@biblabel{\arabic{enumiv}}}
\makeatother
\newcommand{\cvlanguagesplit}[3]{%
\cvlanguage{#1}{\parbox[t]{\maincolumnwidth}{#2}}{#3}%
}
\firstname{John}
\familyname{Doe}
\mobile{6666666666}
\social[linkedin][es.linkedin.com/in/johndoe]{John Doe}
\email{[email protected]}
\begin{document}
\makecvtitle
\section{Idiomas}
\cvlanguagesplit{Ingl\'es}{%
Alto. Nivel: C2* \\
\footnotesize T\'itulo superior de ingl\'es.
Escuela Oficial de Idiomas de Alicante 2000-2005.%
}{}
\cvlanguagesplit{Catal\'an}{%
Alto. Nivel: C2* \\
\footnotesize T\'itulo Mitj\`a de Valenci\`a.
Junta Qualificadora de Coneixements de Valenci\`a 2004.%
}{}
\cvlanguagesplit{Alem\'an}{%
Intermedio. Nivel: B2* \\
\footnotesize T\'itulo Intermedio de Alem\'an.
Escuela Oficial de Idiomas de Alicante 2009.%
}{}
\cvlanguagesplit{Franc\'es}{%
Pre-intermedio. Nivel: A2* \\
\footnotesize Escuela Oficial de Idiomas de Madrid 2017.
\emph{*Common European Framework of Reference(CEF) level.}%
}{}
\end{document}
답변2
실제로는 스마트하지 않은 솔루션을 찾았지만 작동합니다.
관심 있는 사람이 있는 경우를 대비해 \cventry 명령을 사용하면 비슷한 결과를 얻을 수 있으며 \newline 명령이 잘 작동합니다. (실제로 추가 점을 제거하는 새로운 문제를 발견할 수 있지만 이 웹에서 도움을 받으면 쉽게 제거할 수 있습니다. ).