34

Which package is using \includegraphics?

I have a issue in my installation package, I need to know which package is using \includegraphics.

The issue is picture showing like a DOT . If we zoom (6400%) that place the picture can see some what TeX image in top.

\documentclass[12pt]{article}
\usepackage{graphicx}
\usepackage{placeins}
\usepackage{float}
\usepackage{subfigure}
\begin{document}

\begin{figure*}[htp]
  \centering
  \subfigure[random caption 1]{\includegraphics[scale=0.38]{pic1.jpg}}\quad
  \subfigure[random caption 2]{\includegraphics[scale=0.38]{pic2.jpg}}
\end{figure*}

Text
\begin{figure}[h!]
    \centering
    \includegraphics[width=10\textwidth]{pic1.jpg}
    \caption{IDEF0sss}
\end{figure}

\begin{figure}[h!]
\includegraphics[width=30mm, height=20mm]{pic1.jpg}
\end{figure}

\end{document}
Martin Scharrer
  • 262,582
user6830
  • 1,307
  • 1
    Please edit your question and put the code in there. It's not a good idea to put everything into a comment. It would be a great thing to know what exactly you want to achieve. To find all packages using \includegraphics it would be sufficient to make a search in texmf with that term. – BernS Aug 08 '11 at 10:09
  • 1
    Package normally don't use \includegraphics. It is provided by the graphicx package. I'm not sure what your issue is, but if the size is wrong see Image from \includegraphics showing in wrong image size. – Martin Scharrer Aug 08 '11 at 10:13

1 Answers1

40

Either of the packages graphics or graphicx will allow you to use \includegraphics

Seamus
  • 73,242
  • 12
    Yeah, but there is no reason to (only) load the old graphics any longer. graphicx loads it already and provide the modern interface which allows for options. – Martin Scharrer Aug 08 '11 at 10:16
  • 1
    As you wrote: they allow you to use \includegraphics but the question is which packages are using it... – BernS Aug 08 '11 at 10:24
  • 1
    @BernS it's not clear from the question exactly what is meant. graphicx is in the MWE, so it's not a question about what package is loading graphicx. So what does the OP want? – Seamus Aug 08 '11 at 10:26
  • 2
    @Martin but if the question is about what package provide the command, then it's worth mentioning the older graphics package. – Seamus Aug 08 '11 at 10:28
  • 1
    I think @User6830 should definitely clarify what he wants, as in the current form this won't help anyone else searching for answers. – BernS Aug 08 '11 at 11:45