I am sorry if my question is too silly, I am totally new to LaTeX.
I have just downloaded TeXstudio 2 days ago and am trying to include some figures/images in the document. I found out about the \includegraphics
command but cannot understand how it works at all. Every guide I have found jump to something like
\usepackage{graphicx}
\includegraphics[width=0.5\textwidth]{bird1}
and I don't have a clue how I am supposed to use the command except that I need to use the package graphicx
.
Where do I have to put my images so that TeXstudio can find it? Let's say I have an image called cat.png
located at C:\Users\ASUS\Desktop\PICS
, do I just type \includegraphics{cat}
and TeXstudio is going to magically find it?
.tex
file, it will find magically find it. The package also has the command\graphicspath
so you could put the images in a subdirectory (e.g.,\graphicspath{{jpg/}{png/}}
) -- though how this works exactly on Windows is not clear to me. Luckily there are experts around....\includegraphics
command documentation?texdoc graphicx
, or unofficial LaTeX reference manual, page 212. special case of macros - Where do I find out how a command/environment is defined? - TeX - LaTeX Stack Exchange I guess