Latex の実際のテキスト幅は、ドキュメントクラスの記事では \textwidth より小さいが、レポートではそうではない

Latex の実際のテキスト幅は、ドキュメントクラスの記事では \textwidth より小さいが、レポートではそうではない

Latex のテキスト幅に奇妙な動作が見られます。\documentclass[a4paper]{article} を使用すると、実際のテキスト幅は \textwidth と一致しません。geometry で showframes を使用すると、この現象が確認できます。\documentclass[a4paper]{report} では、この問題は発生しません。

例1:

\documentclass[a4paper]{article} % use larger type; default would be 10pt
\usepackage[top=1in, bottom=1in, left=0.5in, right=0.5in,showframe]{geometry} % to change the page dimensions top=1in, bottom=1in, left=0.5in, right=0.5in,
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{array}

\title{TEST}
\author{?}

\begin{document}
\maketitle
\abstract{???}
\tableofcontents
\newpage


\section{Introduction}\label{sec:Introdu}
\lipsum

\end{document}

例2:

\documentclass[a4paper]{report} % use larger type; default would be 10pt
\usepackage[top=1in, bottom=1in, left=0.5in, right=0.5in,showframe]{geometry} % to change the page dimensions top=1in, bottom=1in, left=0.5in, right=0.5in,
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{array}

\title{TEST}
\author{?}

\begin{document}
\maketitle
\abstract{???}
\tableofcontents
\newpage


\section{Introduction}\label{sec:Introdu}
\lipsum

\end{document}

記事

報告

答え1

article クラスの abstract は、アブストラクトをより狭い幅でタイプセットする環境です。\abstractは と同等なので\begin{abstract}、アブストラクトは実際には終了せず、ドキュメント全体がより狭い幅でタイプセットされます。

使用

\begin{abstract} 
... 
 \end{abstract} 

関連情報