Below is an image of a document preamble: Different objects are placed in the preamble between the commands \documentclass{} and \begin{document}. Using a different font size on a global level will affect all normal-sized text as well as the size of headings, footnotes, etc. 6 matching requests on the forum. To do that, we add the following line to the preamble: \usepackage{xcolor} The line or lines to include for each font are listed in the caption of the sample figure. Note that this script has only been tested with the MikTek distribution. Writing a preamble is not very hard for simple documents, but for larger documents (i.e. Both TeX Live and MiKTeX should work. The latex file contains the text … The example below adds the page number in the centre of the footer, not very creative, but it is illustrative though. I usually load a set of about 30 packages in all basic documents. Changing the font size in LaTeX can be done on two levels, either affecting the whole document or parts/elements of it. Some examples: Almost all units are predefined as LaTeX commands. Because TeX was designed before standard font encodings such as OpenType were invented, it has a rather special way of defining font sizes. the Kerkis font with improved Greek support or the sans-serif lxfonts), one can set the font-selecting boxes to "Default" and choose the font in the custom LaTeX preamble, e.g. Using the pgf backend, Matplotlib can export figures as pgf drawing commands that can be processed with pdflatex, xelatex or lualatex. They can be distinguished into two categories depending on how they are presented: 1. text — text formulas are displayed inline, that is, within the body of text where it is declared, for example, I can say that a + a = 2 a {\displaystyle a+a=2a} within this sentence. After finishing the preamble, the actual document follows. The options are quite straightforward. Packages such as pgfplots build on TikZ to add even more functionality to the already huge TikZ framework. Most (La)TeX documents have the .tex extension. A complete list is provided on Wikipedia. Xe(La)TeX users can use system fonts, providing users with a much bigger font library at their fingertips! The font encoding is also a bit different depending on our needs. Branches The Preamble of the LaTeX Input file. This is a font that contains more glyphs than the standard LaTeX font. to make them accessible from packages only. \begin{document} The line or lines to include for each font are listed in the caption of the sample figure. The preamble is the first section of an input file, before the text of the document itself, in which you tell LaTeX the type of document, and other information LaTeX will need to format the document correctly. It is used to include additional packages, set options, define new macros (commands), add PDF information and more. To change the LaTeX-preamble↓, use the menu Document Settings LaTeX Preamble. The preamble is used in "full blown" LaTeX, but not in the