如何重新调整逐项列出的句子

如何重新调整逐项列出的句子

我是 LaTeX 新手,我想垂直对齐一些文本。我曾使用过模板,我想了解如何重新调整列表的第二行:

代码:

\section{\mysidestyle My\\Skills}
\begin{itemize}
\setlength{\itemindent}{-5mm}
\renewcommand\labelitemi{--}% < LOCALLY Setting the bullet as an en-dash
\vspace{0mm}
\item I can't seem to get all the second line of itemized items to align vertically. How could this be corrected that they align properly?
\item New items appear correct
\item It just happens when the line is very very very very very very very very long that there is a misalignment
\end{itemize}

输出: 在此处输入图片描述

我希望第二行与第一行对齐。用红色箭头表示。


第一修正案

使用以下代码:

\documentclass{resume}
\usepackage{enumitem}

\begin{document}

\section{My Skills}
\begin{itemize}[label=--,before=\vspace{-\partopsep}]
\item I can't seem to get all the second line of itemized items to align vertically. 
    How could this be corrected that they align properly?
\item New items appear correct
\item It just happens when the line is very very very very very very very very long 
    that there is a misalignment
\end{itemize}
\end{document}

改变我想要实现的格式:

  1. 我想让\item的缩进进一步(如上图所示)
  2. 将“我的技能”标题移动到上一个位置(向上)

这里有一个例子可以更好地说明我想要做的事情: 在此处输入图片描述

答案1

\documentclass{resume}
\usepackage{enumitem}

\begin{document}

\section{My Skills}
\begin{itemize}[label=--,before=\vspace{-\partopsep}]
\item I can't seem to get all the second line of itemized items to align vertically. 
    How could this be corrected that they align properly?
\item New items appear correct
\item It just happens when the line is very very very very very very very very long 
    that there is a misalignment
\end{itemize}
\end{document}

在此处输入图片描述

相关内容