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.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- 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 !