Graphics, Figures & TablesInclude jpg images with latex compiler

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
14jgil
Posts: 2
Joined: Thu May 26, 2022 10:19 am

Include jpg images with latex compiler

Post by 14jgil »

Good morning!

I have seen that it is neccesary use latex compiler in order to use psfrag. Meanwhile it is neccesary to use pdflatex compiler in order to include jpg or png images. How am I supposed to do both?

I am using overleaf btw.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10322
Joined: Mon Mar 10, 2008 9:44 pm

Include jpg images with latex compiler

Post by Stefan Kottwitz »

Welcome to the forum!

Here is an Overleaf template that shows how to do that: Getting psfrag to work in pdflatex.

Stefan
LaTeX.org admin
14jgil
Posts: 2
Joined: Thu May 26, 2022 10:19 am

Include jpg images with latex compiler

Post by 14jgil »

Thank you very much!! =)

I had checked it out but when I change the eps file it does not work (no image is shown).
Post Reply