画像とテキストに問題があります。私はこのコードを持っています:
Some text...\\
\begin{figure}[ht]
\centering
\includegraphics[scale=0.75]{picture.jpg}
\caption{The caption}
\label{fig:picture}
\end{figure}
Some more text...
基本的に、私はこれが欲しいです:
Some text. (Above image in the code)
[end of page / new page]
image
Some more text. (Below the image in the code)
[start of new section]
しかし、上記のコードが私に与えるものはこれです:
Some text. (Above image in the code)
Some more text. (Below the image in the code)
[end of page / new page]
image
[start of new section]
ラテックスは、コード内の画像の下にある場合でも、画像の上に新しいセクション以外のすべてを配置することを主張します。それはおそらく画像が上に浮かんでいるためです-しかし、私の代替案は何ですか?最初のページに画像を表示するのに十分なスペースがないため、[h]をfloat-alignmentとして使用できません。
のように空の新しいセクションを作成することで「ハック」できます\section*{}
が、これにより空白が作成され、奇妙に見えます。助言がありますか?