1

This question already has an answer here:

I use TeXmaker and I try to insert an image with the command \includegraphics. The problem is that when I compile it, i have a border around my image and I don't want that. I tried everything that I looked up on Google, but still nothing works for me. Can anyone here help me? The problem occurs with .png screenshots and .eps files that I use. Below you can see what I mean.

enter image description here

EDIT:

I compile my text with LuaLaTeX, if that matters.

\begin{figure}
\centering
\includegraphics[scale=0.5]{example-image}
\caption{Μετατροπή από την κλίμακα mel στη συχνότητα}
\label{fig:mel2freq}
\end{figure}

marked as duplicate by Bobyandbob, Stefan Pinnow, user36296, Andrew Swann, TeXnician Nov 15 '17 at 13:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 6
    \includegraphics doesn't add a box, so either it is in the image, or you have \fbox or framed or similar around the image inclusion, but if you do not show any code it is hard to guess. – David Carlisle Nov 2 '17 at 17:32
  • I do not have \fbox or framed, my code is pretty simple: \begin{figure} \centering \includegraphics[scale=0.5]{mel2freq} \caption{Μετατροπή από την κλίμακα mel στη συχνότητα} \label{fig:mel2freq} \end{figure} – mithri Nov 2 '17 at 18:56
  • 2
    @mithri: Then the included image already has the frame. – user31729 Nov 2 '17 at 19:01
  • try with example-image (a test file in the tex distributions, do you still get a frame? if you do please post in your question (not n comments) a complete test document so people can debug – David Carlisle Nov 2 '17 at 19:26
  • 1
    please make a complete small document using example-image and show the output from that image. if you are getting a frame from that fragment then some code you have not shown is redefining includegraphics or figure, it is impossible to debug the fragment you have posted. – David Carlisle Nov 2 '17 at 21:19

Browse other questions tagged or ask your own question.