Being able to automatically reference a figure within a LaTeX document is a very cool thing. The same technique works for referencing other objects within a LaTeX document, including tables and equations. Please read the comments for more details.
This article will cover incorporating pictures and diagrams into LaTeX documents. If you're dealing strictly with geometric diagrams, consider reading about Asymptotea graphics language that works extremely well with LaTeX--as you can see from the length of this article, working with graphics and pictures without Asymptote in LaTeX is no easy feat. You can use more filetypes than just.
This section will give an overview of floats and figures. It will cover importing external graphics and positioning. It will also cover sub-figures and captions.
The picture environment allows you to create just about any kind of picture you want containing text, lines, arrows and circles. You tell LaTeX where to put things in the picture by specifying their coordinates. A coordinate is a number that may have a decimal point and a minus sign - a number like 52.
The previous chapter introduced importing graphics. However, just having a picture stuck in between paragraphs does not look professional. To start with, we want a way of adding captions, and to be able to cross-reference.
Whenever you want to include graphics or pictures it's a very good idea to put them in a figure environment. LaTeX knows that the best places to put figures are at the top or bottom of a page, or perhaps on a separate page altogether. The optional argument to the figure environment tells LaTeX where you'd like it to appear, if possible; the options are h meaning "here", t at the top of a pageb at the bottom of a page and p on a page without any text.
The picture environment allows programming pictures directly in LaTeX. On the one hand, there are rather severe constraints, as the slopes of line segments and the radii of circles are restricted to a narrow choice of values. Although programming pictures directly in LaTeX is severely restricted, and often rather tiresome, there are still reasons for doing so.
Part 1 Part 2 Part 3 Part 4 Part 5. This five-part series of articles uses a combination of video and textual descriptions to teach the basics of creating a presentation using the LaTeX beamer package. These tutorials were first published on the original ShareLateX blog site during August ; consequently, today's editor interface Overleaf has changed considerably due to the development of ShareLaTeX and the subsequent merger of ShareLaTeX and Overleaf.