我目前正在使用 IEEEtran 软件包撰写一篇论文。我已经阅读了 IEEEtran 的使用方法?并研究了演示文件,但就是找不到删除 parindent 的方法。我知道这违背了软件包的初衷,但有没有什么方法可以删除它们?
我发现这个类似的问题显示了如何从证明中删除缩进:
我可以使用类似 \renewcommand{\IEEEproofindentspace}{0pt} 的东西吗?
这是我的 MVP-IEEEtran 模板:
\documentclass[
10pt,
final,
journal,
compsoc,
a4paper,
twoside,
twocolumn
]{IEEEtran}
\begin{document}
\title{Personal IEEEtran MVP}
\author{Author}
\markboth{\LaTeX\ Paper}{Title}
\IEEEtitleabstractindextext{
\begin{abstract}
Lorem Ipsum Abstract
\end{abstract}
\begin{IEEEkeywords}
Computer Society, IEEE, IEEEtran, journal, \LaTeX, paper, template.
\end{IEEEkeywords}
}
\maketitle
\IEEEraisesectionheading{\section{Einleitung}\label{sec:introduction}}
\IEEEPARstart{T}{his} demo file is intended to serve as a ``starter file''
for IEEE Computer Society journal papers produced under \LaTeX\ using
IEEEtran.cls version 1.8b and later. I wish you the best of success.
\subsection{Lorem Ipsum}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt
ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
invidunt
ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
amet.
\end{document}
我不想有黄色标记的缩进。
答案1
就像在任何普通文档中一样\parindent
进行设置:0pt
\documentclass[
10pt,
final,
journal,
compsoc,
a4paper,
twoside,
twocolumn
]{IEEEtran}
\setlength{\parindent}{0pt}% Remove paragraph indentation
\begin{document}
\title{Personal IEEEtran MVP}
\author{Author}
\markboth{\LaTeX\ Paper}{Title}
\IEEEtitleabstractindextext{
\begin{abstract}
Lorem Ipsum Abstract
\end{abstract}
\begin{IEEEkeywords}
Computer Society, IEEE, IEEEtran, journal, \LaTeX, paper, template.
\end{IEEEkeywords}
}
\maketitle
\IEEEraisesectionheading{\section{Einleitung}\label{sec:introduction}}
\IEEEPARstart{T}{his} demo file is intended to serve as a ``starter file''
for IEEE Computer Society journal papers produced under \LaTeX\ using
IEEEtran.cls version 1.8b and later. I wish you the best of success.
\subsection{Lorem Ipsum}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt
ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor
invidunt
ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo
dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
amet.
\end{document}