Inserting Images - ShareLaTeX, Online LaTeX Editor Latex can not manage images by itself, so we need to use the graphicx package. To use it, we include the following line in the preamble: \usepackage{graphicx}.