Graphics, Figures & TablesLEd does not recognize includegraphics

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
Ayoo
Posts: 2
Joined: Wed Oct 30, 2013 9:03 pm

LEd does not recognize includegraphics

Post by Ayoo »

Hi,
I am facing a challenge importing a graph from a PDF file into Latex. I use Latex Editor (LEd). I have plotted the graph and saved it as PDF in the same directory as the latex project files. Have been trying import the graph into Latex using:
\usepackage{graphics}

Code: Select all

  \begin{figure}
    \includegraphics{Document1}
  \end{figure}
However my editor does not recognize \includegraphics. How can I include the graph into the project? Or how can I add the graphics into it, since it only contains \include and \includeonly?
Thanks
Last edited by cgnieder on Thu Oct 31, 2013 11:19 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

LEd does not recognize includegraphics

Post by localghost »

LEd is only the editor and has nothing to do with recognizing commands. The exact error message from the log file (*.log) would be helpful. By the way, you should better load the graphicx package in the preamble of your document.

For an adequate problem description please prepare a self-contained and minimal example in order to avoid speculations and guesswork.


Best regards and welcome to the board
Thorsten
Ayoo
Posts: 2
Joined: Wed Oct 30, 2013 9:03 pm

Re: LEd does not recognize includegraphics

Post by Ayoo »

Thanx sir. My problem has been solved.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

LEd does not recognize includegraphics

Post by localghost »

Ayoo wrote:[…] My problem has been solved.
So the problem was exactly what? And it is has been solved exactly how? Would be nice if you give a proper description and post the solution in form of a self-contained and minimal example. As it stands now, this thread is completely useless for others. m(
Post Reply