如何删除每个项目符号第一行文本前的间距?
\documentclass[letterpaper,11pt]{文章} \usepackage{latexsym} \usepackage[empty]{全页} \usepackage{titlesec} \usepackage{marvosym} \usepackage[usenames,dvipsnames]{颜色} \usepackage{逐字} \usepackage{enumitem} \usepackage[pdftex]{hyperref} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage{palatino} \usepackage{最后一页} \pagestyle{花式} \fancyhf{} % 清除所有页眉和页脚字段 \fancyfoot{} \renewcommand{\headrulewidth}{0pt} \renewcommand{\footrulewidth}{0pt} \cfoot{{\fontfamily{ppl}\selectfont\footnotesize{第 \thepage \hspace{1pt} 页,共 \pageref{最后一页}}} \urlstyle{相同} \raggedbottom \raggedright \setlength{\tabcolsep}{0in} % 章节格式 \titleformat{\section}{ \vspace{-4pt}\scshape\raggedright\large }{}{0em}{}[\color{blue}\titlerule \vspace{-5pt}] %------------------------- % 自定义命令 \newcommand{\resumeItem}[2]{ \item\small{ \textbf{#1}{#2 \vspace{-2pt}} } } \newcommand{\resumeSubheading}[4]{ \setlength{\itemindent}{-1em}\vspace{-1pt}\item[] \begin{tabular*}{0.97\textwidth}{l@{\extracolsep{\fill}}r} \textbf{#1} & #2 \\ \textit{\small#3} & \textit{\small#4} \\ \end{tabular*}\vspace{-5pt} } \newcommand{\resumeSubItem}[2]{\resumeItem{#1}{#2}\vspace{-4pt}} \renewcommand{\labelitemii}{$\circ$} \newcommand{\resumeSubHeadingListStart}{\begin{itemize}[leftmargin=*]} \newcommand{\resumeSubHeadingListEnd}{\end{itemize}} \newcommand{\resumeItemListStart}{\begin{itemize}} \newcommand{\resumeItemListEnd}{\end{itemize}\vspace{-5pt}} %--------------------------------------------- %%%%%% CV 从这里开始 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \开始{文档} % - - - - - 标题 - - - - - - - - - \begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r} {\fontfamily{qag}\selectfont{\textcolor{blue}{\Large \textbf{Mousumi Das}}} & \includegraphics[width=5cm, height=2cm]{logocd (3).png} \\ \end{表格*} 北卡罗来纳州莫里斯维尔 %--------编程技能------------ \section {\textcolor{blue}{\fontfamily{qag}\selectfont\Large{\textbf{资格摘要}}} \resumeSubHeadingListStart \resumeSubItem{}{ {统计程序员,在 CRO 环境中拥有 6 年以上支持生物制药客户的经验。} } \resumeSubItem{}{ {拥有根据统计分析计划 (SAP) 和模拟外壳制作安全性和功效表格、图表、清单 (TFL) 的丰富经验。} } \resumeSubHeadingListEnd \vspace{-8px}
答案1
您的代码非常复杂。针对所讨论的问题,我只是SubHeadingList
根据itemize
相关参数定义了一个自定义环境。
无关: hyperref
应作为最后一个包加载,只有极少数例外(最明显的是cleveref
)。加载xcolor
而不是color
。该usenames
选项已过时,因为它已经默认使用好几年了。没有必要为页脚加载 palatino,因为它是为整个文档加载的。
\documentclass[letterpaper,11pt]{article}
\usepackage{latexsym}
\usepackage[empty]{fullpage}
\usepackage{titlesec}
\usepackage{marvosym}
\usepackage[dvipsnames]{xcolor}
\usepackage{verbatim}
\usepackage{enumitem}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{palatino}
\usepackage{lastpage}
\usepackage[pdftex]{hyperref}
\pagestyle{fancy}
\fancyhf{} % clear all header and footer fields
\fancyfoot{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\cfoot{{\footnotesize{Page \thepage \hspace{1pt} of \pageref{LastPage}}}}
\urlstyle{same}
\raggedbottom
\raggedright
\setlength{\tabcolsep}{0in}
% Sections formatting
\titleformat{\section}{
\vspace{-4pt}\scshape\raggedright\large
}{}{0em}{}[\color{blue}\titlerule \vspace{-5pt}]
%-------------------------
% Custom commands
\newcommand{\resumeItem}[2]{
\item\small{
\textbf{#1}{ #2 \vspace{-2pt}}
}
}
\newcommand{\resumeSubheading}[4]{
\setlength{\itemindent}{-1em}\vspace{-1pt}\item[]
\begin{tabular*}{0.97\textwidth}{l@{\extracolsep{\fill}}r}
\textbf{#1} & #2 \\
\textit{\small#3} & \textit{\small #4} \\
\end{tabular*}\vspace{-5pt}
}
\newcommand{\resumeSubItem}[2]{\resumeItem{#1}{#2}\vspace{-4pt}}
\renewcommand{\labelitemii}{$\circ$}
\newcommand{\resumeSubHeadingListStart}{\begin{itemize}[leftmargin=*]}
\newcommand{\resumeSubHeadingListEnd}{\end{itemize}}
\newcommand{\resumeItemListStart}{\begin{itemize}}
\newcommand{\resumeItemListEnd}{\end{itemize}\vspace{-5pt}}
%-------------------------------------------
\newlist{SubHeadingList}{itemize}{1}
\setlist[SubHeadingList]{label =\textbullet, wide=0pt, leftmargin=*, after=\vspace{-5pt}}
%%%%%% CV STARTS HERE %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%----------HEADING-----------------
\begin{tabular*}{\textwidth}{l@{\extracolsep{\fill}}r}
{\fontfamily{qag}\selectfont{\textcolor{blue}{\Large \textbf{Mousumi Das}}}} & \includegraphics[width=4cm]{pepe-le-pew2} \\
\end{tabular*}
Morrisville, NC
%--------PROGRAMMING SKILLS------------
\section {\textcolor{blue}{\fontfamily{qag}\selectfont\Large{\textbf{Qualification Summary}}}}
\begin{SubHeadingList}
\item Statistical Programmer with 6+ years of experience in CRO environments supporting biopharmaceutical clients.
\item
Extensive experience producing safety and efficacy Tables, Figures, Listings (TFL) as per statistical analysis plan (SAP) and mock shells.
\end{SubHeadingList}
\vspace{-8px}
\end{document}