Code: Select all
\begin{figure}[!ht]
\centering
\includegraphics[scale=0.5]{overflow1.jpg}
\caption{Principle of overflow.}
\label{fig:overflow}
\end{figure}
Code: Select all
\begin{figure}[!ht]
\centering
\includegraphics[scale=0.5]{overflow1.jpg}
\caption{Principle of overflow.}
\label{fig:overflow}
\end{figure}
I am new in latex, excuse me what do you mean by "draft"sommerfee wrote:Drop the option "draft".
\documentclass[options]{something}
), there might be the word draft
in the option list, it could also be in the line where you are loading graphicx.Dear Mr.Johannes_B,Johannes_B wrote:In your first codeline (\documentclass[options]{something}
), there might be the worddraft
in the option list, it could also be in the line where you are loading graphicx.
Furthermore, you should delete the file name suffix, meaning "overflow" instead of "overflow.jpg".
Additionally, you should always post a compilable minimal example, this way, you could have found the reason yourself.
Code: Select all
\documentclass[11pt]{article}
\title{Over flow on steams}
\usepackage{graphicx}
\usepackage{setspace}
\usepackage{hyperref}
\usepackage{float}
\usepackage[switch, modulo]{lineno} % line numbering
\floatstyle{boxed}
\restylefloat{figure}
\usepackage{amsmath} % use for math-centering
%\usepackage[colorinlistoftodos]{todonotes}
\doublespacing
\begin{document}
\begin{figure}[!ht]
\centering
\includegraphics[scale=0.5]{overflow1.jpg}
\caption{Principle of overflow.}
\label{fig:overflow}
\end{figure}
\end{document}
Thank you a lot for all of you. My problem is solved by just change the name of the figure which I downloaded from internet by my own name.Johannes_B wrote:I replaced your jpg with my testbild.jpg and your code works fine for me.
Maybe you could upload your pdf (compiled from the above example), so we can verify the problem.