LaTeX Adding Graphics to LaTeX: Tips and Troubleshooting for Error-Free Insertion

  • Thread starter Thread starter cdhotfire
  • Start date Start date
  • Tags Tags
    Graphics Latex
AI Thread Summary
The discussion centers on an issue with including images in a LaTeX document, specifically encountering an "undefined control sequence" error when trying to use the \includegraphics command. The user is advised to ensure that the appropriate package is included at the beginning of the source file. The correct command to include is \usepackage{graphicx}, which is necessary for handling graphics in LaTeX. The conversation emphasizes the importance of including this package to resolve the error and successfully display images.
cdhotfire
Messages
193
Reaction score
0
Can someone help me, I put
\begin{figure}[h]
\centering
\includegraphics{C:/Math.png}
\end{figure}

I even tried to do this with .eps, but it still keeps saying that its an undefined control sequence.
 
Physics news on Phys.org
Do you have the correct \usepackage{} command at the top of your source file?
 
huh? how do I do that?
 

Similar threads

Replies
4
Views
3K
Replies
2
Views
3K
Replies
7
Views
4K
Replies
3
Views
2K
Replies
2
Views
5K
Replies
3
Views
3K
Replies
1
Views
3K
Back
Top