Including Graphics in LaTeX Documents

To include a graphic in your Overleaf LaTeX document, you must do three things:

  1. Add the line “\usepackage{graphicx}” after the other \usepackage command at the top of the document;
  2. Upload a JPG graphic file to your document by pressing the “Project” button and then clicking the arrow that appears when you hover over “Files” in the sidebar, the selecting “Upload from Computer”;
  3. Add the line “\includegraphics[width=3in]{filename}” somewhere in your document, choosing an appropriate width and using the name of your JPG file.