列表不缩进第一行

列表不缩进第一行

我列出了一堆文字如下:

\subsection*{List of SRR IDs of samples we throw out}
SRR1578746

SRR1578747

SRR6761043

SRR6761044

SRR6761045

呈现如下:

在此处输入图片描述

如您所见,除第一个缩进外,所有行均缩进。我想删除缩进。怎么做?

答案1

这里有几个不同的选项,它们都可以产生统一的缩进行:

\documentclass{article}
\begin{document}

\subsection*{List of SRR IDs of samples we throw out}

{
\makeatletter\@afterindenttrue\makeatother
SRR1578746

SRR1578747

SRR6761043

SRR6761044

SRR6761045
}

\subsection*{List of SRR IDs of samples we throw out}

{\setlength{\parindent}{0pt}
SRR1578746

SRR1578747

SRR6761043

SRR6761044

SRR6761045
}

\subsection*{List of SRR IDs of samples we throw out}

\begin{tabular}{@{}l}
SRR1578746 \\
SRR1578747 \\
SRR6761043 \\
SRR6761044 \\
SRR6761045 \\
\end{tabular}

\subsection*{List of SRR IDs of samples we throw out}

\begin{minipage}{\linewidth}
SRR1578746 

SRR1578747 

SRR6761043 

SRR6761044 

SRR6761045 

\end{minipage}

\subsection*{List of SRR IDs of samples we throw out}

\begin{itemize}
\item SRR1578746 
\item SRR1578747 
\item SRR6761043 
\item SRR6761044 
\item SRR6761045 
\end{itemize}


\end{document}

在此处输入图片描述

相关内容