Class moderncv
, style 에는 다음과 같이 설정하기 banking
위한 들여쓰기가 있습니다 .\cvitem
Title: very long description that runs to the next line very long description
that runs to the next line very long description that runs to the next line
very long description that runs to the next line
두 번째 줄을 다음과 같이 약간 들여쓰고 싶습니다.
Title: very long description that runs to the next line very long description
that runs to the next line very long description that runs to the next line
very long description that runs to the next line
나는 새 \cvitem
.
MWE는 다음과 같습니다.
\documentclass[11pt, letterpaper, sans]{moderncv}
\moderncvstyle{banking}
\usepackage[scale=0.75]{geometry}
\name{first}{last}
\begin{document}
\makecvtitle
\section{Publications}
\cvitem{Title}{very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line}
\end{document}
답변1
한 가지 가능성은 "매우 긴 설명 ..."을 들여쓰기하는 것입니다.
Title: very long description that runs to the next line very long description
that runs to the next line very long description that runs to the next
line very long description that runs to the next line
팔로우하고 싶다면 제발내 대답은 여기. 여기서 장점은 모든 것이 \mycvitem
주어진 길이를 들여 쓴다는 것입니다 Title:
.
질문에 표시된 대로 전체 단락을 약간 건너뛰기만 들여쓰려면 다음 해결 방법을 사용할 수 있습니다.
\newcommand*{\mycvitem}[3][.25em]{%
\begin{description}
\item[\ifthenelse{\equal{#2}{}}{}{\hintstyle{#2}: }] #3
\end{description}%
\par\addvspace{#1}}
그런 다음 이력서에서 명령을 사용하여 \mycvitem
원하는 것을 얻을 수 있습니다.
\documentclass[11pt, letterpaper, sans]{moderncv}
\moderncvstyle{banking}
\usepackage[scale=0.75]{geometry}
\name{first}{last}
\newcommand*{\mycvitem}[3][.25em]{%
\begin{description}
\item[\ifthenelse{\equal{#2}{}}{}{\hintstyle{#2}: }] #3
\end{description}%
\par\addvspace{#1}}
\begin{document}
\makecvtitle
\section{Publications}
\cvitem{Title}{very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line}
\mycvitem{Title}{very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line}
\cvitem{Title}{very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line very long description that runs to the next line}
\end{document}
결과는 다음과 같습니다.