我是 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}
改变我想要实现的格式:
- 我想让
\item
的缩进进一步(如上图所示) - 将“我的技能”标题移动到上一个位置(向上)
答案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}