Clase moderncv
, el estilo banking
tiene la sangría para \cvitem
configurar como:
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
Me gustaría que la segunda línea tuviera una sangría un poco como esta:
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
Quiero que esto sea una modificación global, sin tener que ser específico acerca de la sangría cada vez que agrego un nuevo archivo \cvitem
.
Aquí hay un 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}
Respuesta1
Una posibilidad que tienes es sangrar la "descripción muy larga ..." para obtener
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
Si quieres conseguir eso sigue por favormi respuesta aquí. La ventaja aquí es que cada \mycvitem
tiene una sangría de la longitud dada Title:
.
Si usted, como se muestra en su pregunta, solo desea sangrar el párrafo completo con un pequeño salto, puede utilizar la siguiente solución:
\newcommand*{\mycvitem}[3][.25em]{%
\begin{description}
\item[\ifthenelse{\equal{#2}{}}{}{\hintstyle{#2}: }] #3
\end{description}%
\par\addvspace{#1}}
Luego puedes usar el comando \mycvitem
en tu cv para obtener lo que quieres, como:
\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}
con el resultado: