macOS
app.
See other variants:
iOS
Windows

To typeset with images in either Texpad iOS and macOS you use a graphics package, e.g. graphicx (added to your LaTeX source using the usual \includegraphics{...} command). So to include an image saved as file my-image.png, we’d write the following LaTeX code,

\documentclass[11pt]{article}
\usepackage{graphicx}
\begin{document}
...
\includegraphics{my-image.png}
...
\end{document}

On macOS, in addition to including the relative or the full path of the image in the \includegraphics{image.png} tag, you can simply drag and drop image in the Texpad editor, which will insert the full command for you. For instance, dragging an image file image-import.png

will result in inserting

\includegraphics{image-import.png}

into the editor.

If you’re using the default live typesetter, the image will instantly render itself into the output PDF as shown above.