这部分的某些内容导致了此处的缩进问题。这似乎parskip
是此处的原因。
\usepackage{parskip}
\usepackage{mathtools}
\newcommand*{\permcomb}[4][0mu]{{{}^{#3}\mkern#1#2_{#4}}}
\newcommand*{\perm}[1][-3mu]{\permcomb[#1]{P}}
\newcommand*{\comb}[1][-1mu]{\permcomb[#1]{C}}
\usepackage{booktabs,capt-of}
\usepackage{newtxtext, newtxmath}
\usepackage[export]{adjustbox} % it load graphicx too
如果我删除此部分,则它会按预期缩进。这里有什么问题?我该如何解决?
我读了,这似乎parskip
是一件值得保留的事情,那么我可以同时保留缩进和包装吗?
\documentclass[journal]{IEEEtran}
\usepackage{algorithmic}
\usepackage{algorithm}
\usepackage{array}
\usepackage[caption=false,font=normalsize,labelfont=sf,textfont=sf]{subfig}
\usepackage{stfloats}
\usepackage{url}
\usepackage{verbatim}
\usepackage{graphicx}
\usepackage{cite}
\hyphenation{op-tical net-works semi-conduc-tor IEEE-Xplore}
\usepackage{parskip}
\usepackage{mathtools}
\newcommand*{\permcomb}[4][0mu]{{{}^{#3}\mkern#1#2_{#4}}}
\newcommand*{\perm}[1][-3mu]{\permcomb[#1]{P}}
\newcommand*{\comb}[1][-1mu]{\permcomb[#1]{C}}
\usepackage{booktabs,capt-of}
\usepackage{newtxtext, newtxmath}
\usepackage[export]{adjustbox} % it load graphicx too
\usepackage{tabularray}
\usepackage{stfloats} %
\begin{document}
\section{Introduction}
This is the first line of a section but why is it not indented here?
The same for this, it is not indented even when I leave one empty line above. How can I fix this?
\end {document}