![]() To do that go to the Format menu, choose "Syntax Coloring" and then "LaTeX". If you're using TeXworks, then I recommend you set it to colour the different parts of your LaTeX document according to whether they're comments, commands or plain text. tables, equations etc.) using LaTeX commands, and then run LaTeX to produce a beautiful, error-free PDF. The basic idea is that you write your text, tell LaTeX what sort of text it is if it's unusual (e.g. Under Linux you can use your favourite text editor (Emacs, vi, kate, gedit, nano etc.). If you're using a computer with MS Windows, then you can use TeXworks or TexNicCenter to open the preamble and document template file. Put all these files in the same directory - they will all be used by LaTeX. Most Linux distributions will come with LaTeX installed. Getting LaTeXįor MS Windows there's a free version of LaTeX called MikTeX this also includes the TeXworks editor. Page breaks and subfiguresĪs a final tip, I want to share with you how you can have a page break in the middle of the same set of subfigures.An Introduction to LaTeX for Examination Papers LaTeXĪ LaTeX (pronounced "lay-teck") document is a plain text file with a ".tex" extension, and if you look at the file doesn't look like the finished output at all! It comprises plain text and commands, and it is these commands that tell LaTeX what sort of content you're writing and how you want it to handle it. Referencing only subfigures, without the parent figure identifier. It provides an easy way to create subfigures, as the following example shows: % Create subfigures in LaTeX When loading the subcaption package, the new environment subfigure is available. Let’s start explaining the basic way of creating subfigures. We are going to see, step by step, how to do both. In this tutorial, we are going to make use of the subcaption package, so that we can both create captions and customize them to a high degree. None surprisingly, the caption package is written also by Axel Sommerfeldt. This means that this package also provides the functionalities of the caption package, which is a package written to provide many ways to customize the captions in floating environments. This package, written by Axel Sommerfeldt, provides means of using facilities analogous to those of the caption package when writing captions for subfigures. ![]() The subfig package was, in turn, superseded by the more recent subcaption package, which extended its functionalities. The major advantage of the new package is that the user interface is keyword/value-driven and easier to use. ![]() However, the name of the package was changed since it is not completely backward compatible with the older package. The subfig package provides, basically, the same functionality. However, last updated on 2002, this package is now considered obsolete and was superseded by the subfig package. Provided support for the manipulation and reference of small or `sub’ figures and tables within a single figure or table environment.Īs its own documentation states. The first LaTeX package written to deal with subfigures was the subfigure package. Packages to create subfigures in LaTeX 1.
0 Comments
Leave a Reply. |