我找不到將圖形和文字放在同一頁上的解決方案。這些數字總是出現在下一頁,不會漂浮在文字中。很高興,如果有人能幫助我!我知道堆疊交換上已經有類似的主題,但無法解決問題。
\documentclass[final,3p,times,twocolumn]{elsarticle}
\usepackage{amssymb}
\usepackage{blindtext}
\usepackage{makecell}
\usepackage{caption}
\usepackage{graphicx}
\usepackage{placeins} % used to allow \floatbarrier
\usepackage{stfloats, cuted, caption}
\begin{document}
\begin{frontmatter}
\title{figures in elsarticle }
\author{Mira }
\address{University of }
\end{frontmatter}
\section{Introduction}
\blindtext
\blindtext
\section{Results}
\subsection{subsection 1}
\blindtext
\begin{figure*}[tb]
\centering
\includegraphics[width=0.98\textwidth]{Figure1.jpg}
\caption{\textbf{Effect of Conazoles on rosette formation}\\
}
\end{figure*}
\blindtext
\subsection{Subsection 2}
\blindtext
\begin{figure*}[ht]
\centering
\includegraphics[width=0.9\linewidth]{Figure2.JPG}
\caption{\textbf{Prescreen of conazoles}\\}
\end{figure*}
\section{Discussion}
\blindtext
\bibliographystyle{elsarticle-num}
\bibliography{literatur.bib}
\end{document}