我正在嘗試對齊 cventry,以便左右兩側都有一些空間,就像調整寬度做。
\documentclass[11pt,a4paper]{moderncv}
\moderncvstyle{banking}
\usepackage[margin=1cm, bottom=1.5cm]{geometry}
\usepackage{changepage}
\newcommand{\mycventry}[6]{\cventry{#1}{#2}{#3}{#4}{#5}{#6}}
\name{John}{Doe}
\begin{document}
\maketitle
\section{Objective Summary}
\begin{adjustwidth}{0.3cm}{0.3cm}
\small Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus rutrum scelerisque turpis, nec ullamcorper lacus ullamcorper vel. Integer pellentesque ante vitae quam condimentum pretium. Morbi sed turpis convallis, convallis turpis sit amet, porttitor odio.
\end{adjustwidth}
\section{EDUCATION}
\begin{adjustwidth}{0.3cm}{0.3cm}
\mycventry{Jan. 2020 – May 2023}{XXX University}{Bachelor of Science in XXX}{US}{}{Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus rutrum scelerisque turpis, nec ullamcorper lacus ullamcorper vel. }
\end{adjustwidth}
\end{document}