Graphics, Figures & Tables ⇒ Problem pictures viewing [Texmaker]
Problem pictures viewing [Texmaker]
After digging the web for days now, I need your help...
I'm new in Latex environment, and I use Texmaker.
I want to insert a picture in my Latex document.
So I converted it in all the different format (jpeg, eps, png, pdf...). For instance with the .pdf extension : No problem during the compilation, there is a square in the document with "MyPicture.pdf" written in. I can modify the size and the position of this square, but the picture doesn't appear !
I don't understand what's going on !
Here are my headers :
\documentclass[12pt,a4paper,draft]{article}
\usepackage{multicol}
\usepackage[utf8]{inputenc}
\usepackage[francais]{babel}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{fancybox}
\usepackage[pdftex]{xcolor, graphicx}
And my command :
\includegraphics[width=10cm,height=10cm]{MyPicture}
Can anyone help me ?
Thank you !
Ozzy.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Problem pictures viewing [Texmaker]
simply leave out the draft option.
Additional hint, always post some kind of minimal working example. That makes testing much easier. Putting it in a proper code-environment gives the possibiblity to open in writelatex. You can try it out:
Code: Select all
\documentclass[12pt,a4paper,
%draft%The draft option does not print the image, but
%a square the size of the image
]{article}
%\usepackage{multicol}
\usepackage[utf8]{inputenc}
\usepackage[francais]{babel}
\usepackage[T1]{fontenc}
%\usepackage{times}
%\usepackage{amsmath}
%\usepackage{amsfonts}
%\usepackage{amssymb}
%\usepackage{fancybox}
\usepackage[%pdftex
]{xcolor, graphicx}%Leave out the option
%LaTeX is able to detect the right driver
\begin{document}
\includegraphics{example-image-a}
\end{document}
Re: Problem pictures viewing [Texmaker]
Thank you so much ! It works !
Excuse me for your remarks, I'll try to post better in the future !