I am trying to insert images but they appear in unexpected places. They keep appearing at the bottom of the paragraph while I need them to appear where I inserted them.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{etoc}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage[document]{ragged2e}
\usepackage[export]{adjustbox}
\begin{document}
\section{standing wave}
\subsection{Standing Wave Concept}
\textbf{What is exactly a Standing Wave?}\
lets say we initiated a pulse through a fixed end rope .
(\textbf{Figure 1})\
\begin{figure}[h]
\centering
\includegraphics[scale=.25]{Screenshot (199).png}
\caption{Wave in a fixed end rope}
\end{figure}
\end{document}
As seen in figure~\ref{fig:my_label} .... And don't end paragraphs with\\, this will only give warnings. If you absolutly don't want them to float you can use the float package and [H], but see here first https://tex.stackexchange.com/a/370654/2388 – Ulrike Fischer Feb 10 '21 at 07:41draftoption at\documentclass, who knows. Please provide complete small document beginning with\documentclas[...]{...}and ending by\end{document}, which reproduce your problem. – Zarko Feb 10 '21 at 08:47H, you can forget thefigureenvironment and use something like{\par\centering\includegraphics{...}\captionof{figure}{.....}\par}(you have to load package caption). – Ignasi Feb 10 '21 at 09:04