![インターラインの変更](https://rvso.com/image/370312/%E3%82%A4%E3%83%B3%E3%82%BF%E3%83%BC%E3%83%A9%E3%82%A4%E3%83%B3%E3%81%AE%E5%A4%89%E6%9B%B4.png)
理由はわかりませんが、私のコードは行間の値が異なるテキストを提供します。より明確にするために、私のコードを示します。
\documentclass[12pt,a4paper, english]{article}
\usepackage{graphicx,amssymb}
\textwidth=15cm \hoffset=-1.2cm
\textheight=25cm \voffset=-2cm
\pagestyle{empty}
\date{\today}
\def\keywords#1{\begin{center}{\bf Keywords}\\{#1}\end{center}}
\begin{document}
\title{Title}
\author{\textit{Author} \\
University\\\\
}
\maketitle
\thispagestyle{empty}
\keywords{keywords}
%
%
\vspace{0.7cm}
{\Large{\textbf{Introduction}}}\\\\
%
Text 1
\begin{equation}
u^{k+1}
\end{equation}
Text 2
%
\begin{footnotesize}
\begin{thebibliography}{9}
%
\bibitem{blabla}
Blabla.
\end{thebibliography}
\end{footnotesize}
\end{document}
結果は以下の通りです。
ご覧のとおり、数式の下のテキストの行間は前のものより小さくなっています。\begin{footnotesize} と \end{footnotesize} (参考文献) を削除すると、必要な結果 (両方のテキストの行間が同じ) が得られます。参考文献の行間を同じにしてフォント サイズを小さくする方法について何かアドバイスはありますか? ありがとうございます!
答え1
が表示されるたびに\\\\
、ドキュメントに何らかの問題があることがわかります。いつも。
また、空白行について心配しているようですが、心配しないでください。空白行は問題ありません。
あなたが抱えている問題は、 の前に空行がないことです。そのため、がすでに有効になっている\begin{footnotesize}
ときに、最後の段落が組版のために複数の行に分割されます。\footnotesize
以下は、ドキュメントの編集バージョンです (\hoffset
と の使用\voffset
は避けてください)。
\documentclass[12pt,a4paper]{article}
\usepackage{amsmath,amssymb}
\usepackage[
textwidth=15cm,
textheight=25cm,
heightrounded,
]{geometry}
\usepackage[nopar]{lipsum} % for mock text
\newcommand\keywords[1]{\begin{center}\textbf{Keywords}\\#1\end{center}}
\pagestyle{empty}
\begin{document}
\title{Title}
\author{%
\textit{Author}\\
University
}
\date{\today}
\maketitle
\thispagestyle{empty}
\keywords{keywords}
\section*{Introduction}
\lipsum[1]
\begin{equation}
u^{k+1}
\end{equation}
\lipsum[2]
\begin{footnotesize}\renewcommand{\Large}{\normalsize}
\begin{thebibliography}{9}
\bibitem{blabla}
Blabla.
\end{thebibliography}
\end{footnotesize}
\end{document}
このlipsum
パッケージは、意味のないテキストを埋め込むためだけのものです。また、参考文献の見出しのサイズも小さくしました。