background preloader

Image

Facebook Twitter

LaTeX/Floats, Figures and Captions. The previous chapter introduced importing graphics.

LaTeX/Floats, Figures and Captions

However, just having a picture stuck in between paragraphs does not look professional. For starters, we want a way of adding captions, and to be able to cross-reference. Latex snippets: Add image, wrap long lines in table. Using Latex to create an interim report to submit for my FYP.

Latex snippets: Add image, wrap long lines in table

Its pretty useful, though today I got caught in a weird error. When trying to include an image, using \includegraphics, it showed me: Undefined control sequence. \includegraphics Its pretty obvious now, that this is a valid instruction in Latex. LaTeX/Importing Graphics. There are two possibilities to include graphics in your document.

LaTeX/Importing Graphics

Either create them with some special code, a topic which will be discussed in the Creating Graphics part, (see Introducing Procedural Graphics) or import productions from third party tools, which is what we will be discussing here. Strictly speaking, LaTeX cannot manage pictures directly: in order to introduce graphics within documents, LaTeX just creates a box with the same size as the image you want to include and embeds the picture, without any other processing.

This means you will have to take care that the images you want to include are in the right format to be included. This is not such a hard task because LaTeX supports the most common picture formats around. Raster graphics vs. vector graphics[edit]