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

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

User avatar
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