I am using Overleaf V2 and just received the following error message:
This topic has been dealt with here: No BoundingBox error message
But I am new to this and don't understand how to check the eps information they refer to there. I have png and jpg image files contained with a folder "Pictures". The error comes up for both file types.
Here is my preamble:
\documentclass[]{article}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{
includeheadfoot,
top = 20mm,
left = 25mm,
right = 20mm,
bottom = 30mm,
bindingoffset = 5mm,
}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{gensymb}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{LCA}
\chead{}
\rhead{Daniel Wilkinson}
\lfoot{}
\cfoot{\thepage}
\rfoot{}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
%\usepackage[onehalfspacing]{setspace}
\usepackage[T1]{fontenc}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
%\usepackage[latin1]{inputenc}
%\usepackage[english, norsk]{babel}
\usepackage{gensymb}
\usepackage{siunitx}
\usepackage{url}
%% The font package uses mweights.sty which has som issues with the
%% \normalfont command. The following two lines fixes this issue.
\let\oldnormalfont\normalfont
\def\normalfont{\oldnormalfont\mdseries}
%\usepackage{Chivo}
\usepackage{booktabs}
\usepackage{footnote}
\makesavenoteenv{tabular}
\makesavenoteenv{table}
\setlength{\parindent}{0pt}
%%%%%%%%%%%%%%%%%%START DOCUMENT %%%%%%%%%%%%%%%%%%
\begin{document}
\title{Master Thesis}
\author{DW}
\date{\today}
\setcounter{secnumdepth}{5}
\setcounter{tocdepth}{5}
\maketitle
\pagenumbering{roman}
\tableofcontents
\newpage
\listoffigures
\newpage
\listoftables
\pagenumbering{arabic}
\renewcommand{\baselinestretch}{1.62}
\include{acknow}
\include{abstract}
\include{summary}
\include{abbreviations}
\include{symbols}
\include{intro}
\include{background}
\include{literature}
\include{method}
\include{Calculations}
\include{results}
\include{discussion}
\include{conc}
\bibliographystyle{unsrt}
\bibliography{thesis_1}
\end{document}
Here is how I add a picture:
\begin{figure}[ht]
\centering
\includegraphics[scale=0.7]{Pictures/DAC_system.jpg}
\caption[ddfsdfsdasd \cite{fasihi2019techno}}
\label{fig:AdsorptionD}
\end{figure}
I really appreciate your help!
Daniel

\includegraphics[width=0.9\linewidth]{mypicture.jpg}which will use 90% of the current line width for the horizontal size. – Rmano May 24 '21 at 10:05widthand/orheightwith any graphic type that is supported by\includegraphics. Normallyepsandpdffiles have a natural size, though, soscaleworks, but I always recommend using the width or height and to state it proportionally to the linewidth or absolute depending on the use case (i.e., you can also say[width=4cm]if this is what you want. – Rmano May 24 '21 at 10:13