最初の行に引用があると空白がインデントされる

最初の行に引用があると空白がインデントされる

texコード:

\documentclass[a4paper,12pt]{article}
\usepackage{cite}
\setlength\parindent{0pt}
\begin{document}
\section*{First Chapter}
\cite{naiveset} First line. \newline
\cite{knuthwebsite} Second line.
\bibliography{test}{}
\bibliographystyle{unsrt}
\end{document}

結果は次のようになるはずです:

[1] First line.
[2] Second line.

しかし、結果として、最初の行は次のように 1 つのスペースでインデントされます。

 [1] First line.
[2] Second line.

原因は何ですか?また、どうすれば修正できますか?

答え1

からciteパッケージマニュアル:

前のスペース通常のテキスト引用では、入力にスペースがない場合でも、先行スペースが通常の単語間スペースになるように調整されます。この[noadjust]オプションはこれを無効にします。上付き引用では、先行スペースがすべて削除されます。

\documentclass[a4paper,12pt]{article}
\usepackage[noadjust]{cite}
\setlength\parindent{0pt}
\begin{document}
\section*{First Chapter}
\cite{naiveset} First line. \newline
\cite{knuthwebsite} Second line.
\bibliography{test}{}
\bibliographystyle{unsrt}
\end{document}

関連情報