我想删除第一个 \resumeitem 和第二个 \resumeSubheadingas 之间的空白,用黑色箭头突出显示

我想删除第一个 \resumeitem 和第二个 \resumeSubheadingas 之间的空白,用黑色箭头突出显示

参考图

\resumeSubheading
  {Lahore University of Management Sciences (LUMS)}{}
  {Undergraduate Teaching Assistant $\mid$ \textnormal{Probability}}{\textnormal{Sept. 2022 -- Dec. 2022}}
  \resumeItemListStart
    \resumeItem{Crafted comprehensive problem sets, graded quizzes, facilitated engaging tutorial sessions, and held biweekly office hours to address student queries and enhance understanding.}
  \resumeItemListEnd
\resumeSubheading
  {}{}{Undergraduate Teaching Assistant $\mid$ \textnormal{Calculus}}{\textnormal{Jan. 2023 -- May 2023}}
  \resumeItemListStart
    \resumeItem{Created reference solutions to all course content in addition to teaching recitations and holding office hours weekly.}
  \resumeItemListEnd

  \resumeSubHeadingListEnd

答案1

您没有提供可编译的代码。

该代码将产生所需的结果。

A

% !TeX TS-program = pdflatex

\documentclass{article}

\usepackage[empty]{fullpage}
\usepackage{titlesec}
\usepackage{xcolor}
\usepackage{enumitem}

%-*****************************************************  added <<<<<<<<<<<<<<
\setlength{\tabcolsep}{0in}
\setlist{nosep}

\titleformat{\section}{\scshape\raggedright\large}{}{0em}{}[\color{black}\titlerule \vspace{-5pt}]

\newcommand{\resumeItem}[1]{\item\small{#1}}

\newcommand{\resumeSubheading}[4]{%
    \item
    \begin{tabular*}{0.99\textwidth}{l@{\extracolsep{\fill}}r@{}}
        \textbf{#1} & #2 \\
        \textit{\small#3} & \textit{\small #4}\\        
    \end{tabular*}%
}

\renewcommand{\labelitemii}{\textbullet}
\renewcommand{\labelitemi}{}

\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[leftmargin=*]}
\newcommand{\resumeSubHeadingListEnd}{\end{itemize}}
\newcommand{\resumeItemListStart}{\begin{itemize}}
\newcommand{\resumeItemListEnd}{\end{itemize}\vspace{-3ex}} % added vspace here <<<<<<<<<<<<<<
%-*****************************************************

\begin{document}

\section{Experience}
\resumeSubHeadingListStart
    \resumeSubheading
    {Lahore University of Management Sciences (LUMS)}{}
    {Undergraduate Teaching Assistant $\mid$ \textnormal{Probability}}{\textnormal{Sept. 2022 -- Dec. 2022}}
        \resumeItemListStart
            \resumeItem{Crafted comprehensive problem sets, graded quizzes, facilitated engaging tutorial sessions, and held biweekly office hours to address student queries and enhance understanding.}
        \resumeItemListEnd
    \resumeSubheading
    {}{}{Undergraduate Teaching Assistant $\mid$ \textnormal{Calculus}}{\textnormal{Jan. 2023 -- May 2023}}
        \resumeItemListStart
            \resumeItem{Created reference solutions to all course content in addition to teaching recitations and holding office hours weekly.}
        \resumeItemListEnd

\resumeSubHeadingListEnd
    
\end{document}

相关内容