diff options
Diffstat (limited to 'Master/texmf-dist/doc/info')
-rw-r--r-- | Master/texmf-dist/doc/info/latex2e.info | 7888 |
1 files changed, 5131 insertions, 2757 deletions
diff --git a/Master/texmf-dist/doc/info/latex2e.info b/Master/texmf-dist/doc/info/latex2e.info index c2e873d5587..e70c28b551a 100644 --- a/Master/texmf-dist/doc/info/latex2e.info +++ b/Master/texmf-dist/doc/info/latex2e.info @@ -1,8 +1,8 @@ -This is latex2e.info, produced by makeinfo version 6.5 from +This is latex2e.info, produced by makeinfo version 6.7 from latex2e.texi. This document is an unofficial reference manual for LaTeX, a document -preparation system, version of October 2018. +preparation system, version of July 2021. This manual was originally translated from 'LATEX.HLP' v1.0a in the VMS Help Library. The pre-translation version was written by George D. @@ -17,7 +17,7 @@ additional material appearing in latex2e-reference by Martin Herbert Dietze. (From these references no text was directly copied.) Copyright 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, -2017, 2018 Karl Berry. +2017, 2018, 2019, 2020, 2021 Karl Berry. Copyright 1988, 1994, 2007 Stephen Gilmore. Copyright 1994, 1995, 1996 Torsten Martinsen. @@ -44,8 +44,8 @@ File: latex2e.info, Node: Top, Next: About this document, Up: (dir) LaTeX2e: An unofficial reference manual *************************************** -This document is an unofficial reference manual (version of October -2018) for LaTeX2e, a document preparation system. +This document is an unofficial reference manual (version of July 2021) +for LaTeX2e, a document preparation system. * Menu: @@ -75,8 +75,8 @@ This document is an unofficial reference manual (version of October * Splitting the input:: Dealing with big files by splitting. * Front/back matter:: Tables of contents, glossaries, indexes. * Letters:: The 'letter' class. -* Terminal input/output:: User interaction. -* Command line:: System-independent command-line behavior. +* Input/output:: User interaction. +* Command line interface:: Common command-line options. * Document templates:: Starter templates for various document classes. * Index:: General index. @@ -90,48 +90,38 @@ This is an unofficial reference manual for the LaTeX2e document preparation system, which is a macro package for the TeX typesetting program (*note Overview::). - This document's home page is -<https://puszcza.gnu.org.ua/software/latexrefman>. There you can get -the sources, subscribe to the mailing list or read its archives, see -other infrastructure, and get the current output in various formats. In -particular, the output comes in two web formats. Probably the most -convenient one, shown at <http://latexref.xyz/>, has pages for each -topic and so is good for a quick lookup; see also the note there about -easy-to-remember links. The other, shown at -<http://svn.gnu.org.ua/viewvc/latexrefman/trunk/latex2e.html?view=co>, -has all the information on single page. + This document's home page is <https://latexref.xyz>; it has separate +web pages for each topic. Alternatively. +<https://latexref.xyz/dev/latex2e.html> has the entire document on a +single page. For other output formats, the sources, and plenty more +information, see <https://latexref.xyz/dev/>. In this document, we will mostly just use 'LaTeX' rather than 'LaTeX2e', since the previous version of LaTeX (2.09) was frozen decades ago. - LaTeX is currently maintained by a group of volunteers -(<http://latex-project.org>). The official documentation written by the -LaTeX project is available from their web site. This document is -completely unofficial and has not been reviewed by the LaTeX -maintainers. Do not send bug reports or anything else about this -document to them. Instead, please send all comments to + LaTeX is maintained by a group of volunteers +(<https://latex-project.org>). The official documentation written by +the LaTeX project is available from their web site. The present +document is completely unofficial and has not been written or reviewed +by the LaTeX maintainers. Do not send bug reports or anything else +about this document to them. Instead, please send all comments to <latexrefman@tug.org>. - This document is a reference. There is a vast array of other sources -of information about LaTeX, at all levels. Here are a few -introductions. + This document is a reference, not a tutorial. There is a vast array +of other information available about LaTeX, at all levels. Here are a +few introductions. -<http://ctan.org/pkg/latex-doc-ptr> +<https://ctan.org/pkg/latex-doc-ptr> Two pages of recommended references to LaTeX documentation. -<http://ctan.org/pkg/first-latex-doc> +<https://ctan.org/pkg/first-latex-doc> Writing your first document, with a bit of both text and math. -<http://ctan.org/pkg/usrguide> - The guide for document authors that is maintained as part of LaTeX. - Many other guides by many other people are also available, - independent of LaTeX itself; one such is the next item: +<https://ctan.org/pkg/lshort> + A longer introduction to LaTeX, translated to many languages. -<http://ctan.org/pkg/lshort> - A short introduction to LaTeX, translated to many languages. - -<http://tug.org/begin.html> +<https://tug.org/begin.html> Introduction to the TeX system, including LaTeX, with further references. @@ -142,20 +132,24 @@ File: latex2e.info, Node: Overview, Next: Document classes, Prev: About this ******************* LaTeX is a system for typesetting documents. It was originally created -by Leslie Lamport and is now maintained by a group of volunteers -(<http://latex-project.org>). It is widely used, particularly for -complex and technical documents, such as those involving mathematics. - - A LaTeX user writes an input file containing text along with -interspersed commands, for instance commands describing how the text -should be formatted. It is implemented as a set of related commands -that interface with Donald E. Knuth's TeX typesetting program (the -technical term is that LaTeX is a "macro package" for the TeX engine). -The user produces the output document by giving that input file to the -TeX engine. +by Leslie Lamport in 1984, but has been maintained by a group of +volunteers for many years now (<https://latex-project.org>). It is +widely used, particularly but not exclusively for mathematical and +technical documents. + + A LaTeX user writes an input file containing text to be typeset along +with interspersed commands. The default encoding for the text is UTF-8 +(as of 2018). The commands specify, for example, how the text should be +formatted. + + LaTeX is implemented as a set of related so-called "macros" which use +Donald E. Knuth's TeX typesetting program or one of its derivatives, +collectively known as "engines". Thus, the user produces output, +typically PDF, by giving the input file to a TeX engine. (The following +sections describe all this in more detail.) The term LaTeX is also sometimes used to mean the language in which -the document is marked up, that is, to mean the set of commands +the input document is marked up, that is, to mean the set of commands available to a LaTeX user. The name LaTeX is short for "Lamport TeX". It is pronounced LAH-teck @@ -167,9 +161,9 @@ plain text, write it as 'LaTeX'. * Starting and ending:: The standard beginning and end of a document. * Output files:: Files produced. -* TeX engines:: Programs that can compile TeX and LaTeX. +* TeX engines:: Programs that can compile TeX and LaTeX. * LaTeX command syntax:: General syntax of LaTeX commands. -* Environment:: Area of the source giving distinct behavior. +* Environment:: An area of the source with distinct behavior. * CTAN:: Our repository. @@ -224,7 +218,7 @@ main output file's name ends in either '.dvi' or '.pdf'. '.pdf' file with 'dvipdfmx'. The contents of the file can be dumped in human-readable form with 'dvitype'. A vast array of other DVI utility programs are available - (<http://mirror.ctan.org/dviware>). + (<https://mirror.ctan.org/dviware>). '.pdf' If LaTeX is invoked via the system command 'pdflatex', among other @@ -232,7 +226,7 @@ main output file's name ends in either '.dvi' or '.pdf'. Document Format (PDF) file. Typically this is a self-contained file, with all fonts and images included. - LaTeX also produces at least two additional files. + LaTeX always produces at least two additional files. '.log' This transcript file contains summary information such as a list of @@ -262,20 +256,24 @@ File: latex2e.info, Node: TeX engines, Next: LaTeX command syntax, Prev: Outp 2.3 TeX engines =============== -LaTeX is defined to be a set of commands that are run by a TeX -implementation (*note Overview::). This section gives a terse overview -of the main programs (see also *note Command line::). +LaTeX is a large set of commands that is executed by a TeX program +(*note Overview::). Such a set of commands is called a "format", and is +embodied in a binary '.fmt' file, which can be read much more quickly +than the corresponding TeX source. + + This section gives a terse overview of the TeX programs that are +commonly available (see also *note Command line interface::). 'latex' 'pdflatex' - In TeX Live (<http://tug.org/texlive>), if LaTeX is invoked via + In TeX Live (<https://tug.org/texlive>), if LaTeX is invoked via either the system command 'latex' or 'pdflatex', then the pdfTeX - engine is run (<http://ctan.org/pkg/pdftex>). When invoked as + engine is run (<https://ctan.org/pkg/pdftex>). When invoked as 'latex', the main output is a '.dvi' file; as 'pdflatex', the main output is a '.pdf' file. pdfTeX incorporates the e-TeX extensions to Knuth's original - program (<http://ctan.org/pkg/etex>), including additional + program (<https://ctan.org/pkg/etex>), including additional programming features and bi-directional typesetting, and has plenty of extensions of its own. e-TeX is available on its own as the system command 'etex', but this is plain TeX (and produces '.dvi'). @@ -286,16 +284,16 @@ of the main programs (see also *note Command line::). 'lualatex' If LaTeX is invoked via the system command 'lualatex', the LuaTeX - engine is run (<http://ctan.org/pkg/luatex>). This program allows + engine is run (<https://ctan.org/pkg/luatex>). This program allows code written in the scripting language Lua (<http://luatex.org>) to interact with TeX's typesetting. LuaTeX handles UTF-8 Unicode input natively, can handle OpenType and TrueType fonts, and produces a '.pdf' file by default. There is also 'dvilualatex' to - produce a '.dvi' file, but this is rarely used. + produce a '.dvi' file. 'xelatex' If LaTeX is invoked with the system command 'xelatex', the XeTeX - engine is run (<http://tug.org/xetex>). Like LuaTeX, XeTeX + engine is run (<https://tug.org/xetex>). Like LuaTeX, XeTeX natively supports UTF-8 Unicode and TrueType and OpenType fonts, though the implementation is completely different, mainly using external libraries instead of internal code. XeTeX produces a @@ -306,9 +304,40 @@ of the main programs (see also *note Command line::). process is automatic. The '.xdv' file is only useful for debugging. - Other variants of LaTeX and TeX exist, e.g., to provide additional -support for Japanese and other languages ([u]pTeX, -<http://ctan.org/pkg/ptex>, <http://ctan.org/pkg/uptex>). +'platex' +'uplatex' + These commands provide significant additional support for Japanese + and other languages; the 'u' variant supports Unicode. See + <https://ctan.org/pkg/ptex> and <https://ctan.org/pkg/uptex>. + + As of 2019, there is a companion '-dev' command and format for all of +the above: + +'dvilualatex-dev' +'latex-dev' +'lualatex-dev' +'pdflatex-dev' +'platex-dev' +'uplatex-dev' +'xelatex-dev' + These are candidates for an upcoming LaTeX release. The main + purpose is to find and address compatibility problems before an + official release. + + These '-dev' formats make it easy for anyone to help test documents + and code: you can run, say, 'pdflatex-dev' instead of 'pdflatex', + without changing anything else in your environment. Indeed, it is + easiest and most helpful to always run the '-dev' versions instead + of bothering to switch back and forth. During quiet times after a + release, the commands will be equivalent. + + These are not daily snapshots or untested development code. They + undergo the same extensive regression testing by the LaTeX team + before being released. + + For more information, see "The LaTeX release workflow and the LaTeX + 'dev' formats" by Frank Mittelbach, 'TUGboat' 40:2, + <https://tug.org/TUGboat/tb40-2/tb125mitt-dev.pdf>. File: latex2e.info, Node: LaTeX command syntax, Next: Environment, Prev: TeX engines, Up: Overview @@ -321,9 +350,9 @@ character, '\'. The name itself then consists of either (a) a string of letters or (b) a single non-letter. LaTeX commands names are case sensitive so that '\pagebreak' differs -from '\Pagebreak' (the latter is not a standard command). Most commands -are lowercase, but in any event you must enter all commands in the same -case as they are defined. +from '\Pagebreak' (the latter is not a standard command). Most command +names are lowercase, but in any event you must enter all commands in the +same case as they are defined. A command may be followed by zero, one, or more arguments. These arguments may be either required or optional. Required arguments are @@ -338,12 +367,6 @@ bracket (']') hide it inside curly braces, as in '\item[closing bracket argument after it, then to make the first character of the following text be an open square bracket, hide it inside curly braces. - Some of LaTeX's commands are a "declaration". Such a command changes -the value the meaning of some other command or parameter. For instance, -the '\mainmatter' declaration changes the typesetting of page numbers -from roman numerals to arabic (*note \frontmatter & \mainmatter & -\backmatter::). - LaTeX has the convention that some commands have a '*' form that is related to the form without a '*', such as '\chapter' and '\chapter*'. The exact difference in behavior varies from command to command. @@ -351,6 +374,12 @@ The exact difference in behavior varies from command to command. This manual describes all accepted options and '*'-forms for the commands it covers (barring unintentional omissions, a.k.a. bugs). + As of the 2020-10-01 release of LaTeX, the 'expl3' and 'xparse' +packages are part of the LaTeX2e format. They provide a completely +different underlying programming language syntax. We won't try to cover +them in this document; see the related package documentation and other +LaTeX manuals. + File: latex2e.info, Node: Environment, Next: CTAN, Prev: LaTeX command syntax, Up: Overview @@ -359,25 +388,25 @@ File: latex2e.info, Node: Environment, Next: CTAN, Prev: LaTeX command syntax Synopsis: - \begin{ENVIRONMENT NAME} + \begin{ENVIRONMENT-NAME} ... - \end{ENVIRONMENT NAME} + \end{ENVIRONMENT-NAME} - An area of LaTeX source, inside of which there is a distinct -behavior. For instance, for poetry in LaTeX put the lines between -'\begin{verse}' and '\end{verse}'. + An "environment" is an area of LaTeX source, inside of which there is +a distinct behavior. For instance, for poetry in LaTeX put the lines +between '\begin{verse}' and '\end{verse}'. \begin{verse} There once was a man from Nantucket \\ ... \end{verse} - *Note Environments:: for a list of environments. Particularly + *Note Environments::, for a list of environments. Particularly notable is that every LaTeX document must have a 'document' environment, a '\begin{document} ... \end{document}' pair. - The ENVIRONMENT NAME at the beginning must exactly match that at the -end. This includes the case where ENVIRONMENT NAME ends in a + The ENVIRONMENT-NAME at the beginning must exactly match that at the +end. This includes the case where ENVIRONMENT-NAME ends in a star ('*'); both the '\begin' and '\end' texts must include the star. Environments may have arguments, including optional arguments. This @@ -392,7 +421,7 @@ required (it specifies the formatting of columns). File: latex2e.info, Node: CTAN, Prev: Environment, Up: Overview -2.6 CTAN: the Comprehensive TeX Archive Network +2.6 CTAN: The Comprehensive TeX Archive Network =============================================== The Comprehensive TeX Archive Network, CTAN, is the TeX and LaTeX @@ -406,17 +435,19 @@ person or a small number of people. For instance, many publishers have a package that allows authors to format papers to that publisher's specifications. - In addition to the massive holdings, the web site offers features -such as search by name or by functionality. + In addition to the massive holdings, the 'ctan.org' web site offers +features such as search by name or by functionality. + + CTAN is not a single host, but instead is a set of hosts, one of +which is the so-called "master". The master host actively manages the +material, for instance, by accepting uploads of new or updated packages. +For many years, it has been hosted by the German TeX group, DANTE e.V. - CTAN is not a single site, but instead is a set of sites. One of the -sites is the core. This site actively manages the material, for -instance, by accepting uploads of new or updated packages. It is hosted -by the German TeX group DANTE e.V. Other sites around the world help out -by mirroring, that is, automatically syncing their collections with the -core site and then in turn making their copies publicly available. This -gives users close to their location better access and relieves the load -on the core site. The list of mirrors is at <https://ctan.org/mirrors>. + Other sites around the world help out by mirroring, that is, +automatically syncing their collections with the master site and then in +turn making their copies publicly available. This gives users close to +their location better access and relieves the load on the master site. +The list of mirrors is at <https://ctan.org/mirrors>. File: latex2e.info, Node: Document classes, Next: Fonts, Prev: Overview, Up: Top @@ -449,9 +480,10 @@ document classes are available as separate packages; *note Overview::.) technical reports or theses, which may contain several chapters. 'slides' - For slide presentations--rarely used today. In its place the - 'beamer' package is perhaps the most prevalent (*note beamer - template::). + For slide presentations--rarely used nowadays. The 'beamer' + package is perhaps the most prevalent + (<https://ctan.org/pkg/beamer>). *Note beamer template::, for a + small template for a beamer document. Standard OPTIONS are described in the next section. @@ -659,7 +691,7 @@ class to provide the basis for this class's code. For more, see the official guide for class and package writers, the Class Guide, at -<http://www.latex-project.org/help/documentation/clsguide.pdf> (much of +<https://www.latex-project.org/help/documentation/clsguide.pdf> (much of the descriptions here derive from this document), or the tutorial <https://www.tug.org/TUGboat/tb26-3/tb84heff.pdf>. @@ -738,11 +770,11 @@ These are the commands designed to help writers of classes or packages. If you request an option that has not been declared, by default this will produce a warning like 'Unused global option(s): - [badoption].' Change this behaviour with the starred version + [badoption].' Change this behavior with the starred version '\DeclareOption*{CODE}'. For example, many classes extend an - existing class, using a declaration such as '\LoadClass{article}', - and for passing extra options to the underlying class use code such - as this. + existing class, using a command such as '\LoadClass{article}', and + for passing extra options to the underlying class use code such as + this. \DeclareOption*{% \PassOptionsToClass{\CurrentOption}{article}% @@ -789,8 +821,8 @@ These are the commands designed to help writers of classes or packages. exists, in that case you need to use either '\renew...' or '\provide...' or you get an error. -'\IfFileExists{FILE NAME}{TRUE CODE}{FALSE CODE}' -'\InputIfFileExists{FILE NAME}{TRUE CODE}{FALSE CODE}' +'\IfFileExists{FILENAME}{TRUE CODE}{FALSE CODE}' +'\InputIfFileExists{FILENAME}{TRUE CODE}{FALSE CODE}' Execute TRUE CODE if LaTeX finds the file 'FILE NAME' or FALSE CODE otherwise. In the first case it executing TRUE CODE and then inputs the file. Thus the command @@ -976,11 +1008,11 @@ These are the commands designed to help writers of classes or packages. than the given date. (Although, in practice package users only rarely include a date, and class users almost never do.) -'\ProvidesFile{FILE NAME}[ADDITIONAL INFORMATION]' +'\ProvidesFile{FILENAME}[ADDITIONAL INFORMATION]' Declare a file other than the main class and package files, such as configuration files or font definition files. Put this command in that file and you get in the log a string like 'File: test.config - 2017/10/12 config file for test.cls' for FILE NAME equal to + 2017/10/12 config file for test.cls' for FILENAME equal to 'test.config' and ADDITIONAL INFORMATION equal to '2017/10/12 config file for test.cls'. @@ -1017,40 +1049,524 @@ File: latex2e.info, Node: Fonts, Next: Layout, Prev: Document classes, Up: T 4 Fonts ******* -Two important aspects of selecting a "font" are specifying a size and a -style. The LaTeX commands for doing this are described here. +LaTeX comes with powerful font capacities. For one thing, its New Font +Selection Scheme allows you to work easily with the font families in +your document (for instance, see *note Font styles::). And, LaTeX +documents can use most fonts that are available today, including +versions of Times Roman, Helvetica, Courier, etc. (Note, though, that +many fonts do not have support for mathematics.) + + The first typeface in the TeX world was the Computer Modern family, +developed by Donald Knuth. It is the default for LaTeX documents and is +still the most widely used. But changing to another font often only +involves a few commands. For instance, putting the following in your +preamble gives you a Palatino-like font, which is handsome and more +readable online than many other fonts, while still allowing you to +typeset mathematics. (This example is from Michael Sharpe, +<https://math.ucsd.edu/~msharpe/RcntFnts.pdf>.) + + \usepackage[osf]{newpxtext} % osf for text, not math + \usepackage{cabin} % sans serif + \usepackage[varqu,varl]{inconsolata} % sans serif typewriter + \usepackage[bigdelims,vvarbb]{newpxmath} % bb from STIX + \usepackage[cal=boondoxo]{mathalfa} % mathcal + +In addition, the 'xelatex' or 'lualatex' engines allow you to use any +fonts on your system that are in OpenType or TrueType format (*note TeX +engines::). + + The LaTeX Font Catalogue (<https://tug.org/FontCatalogue>) shows font +sample graphics and copy-and-pasteable source to use many fonts, +including many with support for mathematics. It aims to cover all Latin +alphabet free fonts available for easy use with LaTeX. + + More information is also available from the TeX Users Group, at +<https://www.tug.org/fonts/>. * Menu: +* fontenc package:: Encoding of the font. * Font styles:: Select roman, italics, etc. * Font sizes:: Select point size. * Low-level font commands:: Select encoding, family, series, shape. -File: latex2e.info, Node: Font styles, Next: Font sizes, Up: Fonts +File: latex2e.info, Node: fontenc package, Next: Font styles, Up: Fonts + +4.1 'fontenc' package +===================== + +Synopsis: + + \usepackage[FONT_ENCODING]{fontenc} + + or + + \usepackage[FONT_ENCODING1, FONT_ENCODING2, ...]{fontenc} + + Specify the font encodings. A font encoding is a mapping of the +character codes to the font glyphs that are used to typeset your output. + + This package only applies if you use the 'pdflatex' engine (*note TeX +engines::). If you use the 'xelatex' or 'lualatex' engine then instead +use the 'fontspec' package. + + TeX's original font family, Computer Modern, has a limited character +set. For instance, to make common accented characters you must use +'\accent' (*note \accent::) but this disables hyphenation. TeX users +have agreed on a number of standards to access the larger sets of +characters provided by modern fonts. If you are using 'pdflatex' then +this in the preamble + + \usepackage[T1]{fontenc} + +gives you support for the most widespread European languages, including +French, German, Italian, Polish, and others. In particular, if you have +words with accented letters then LaTeX will hyphenate them and your +output can be copied and pasted. (The optional second line allows you +to directly enter accented characters into your source file.) + + If you are using an encoding such as 'T1' and the characters appear +blurry or do not magnify well then your fonts may be bitmapped, +sometimes called raster or Type 3. You want vector fonts. Use a +package such as 'lmodern' or 'cm-super' to get a font that extends +LaTeX's default using vector fonts. + + For each FONT_ENCODING given as an option but not already declared, +this package loads the encoding definition files, named +'FONT_ENCODINGenc.def'. It also sets '\encodingdefault' to be the last +encoding in the option list. + + These are the common values for FONT_ENCODING. + +'OT1' + The original encoding for TeX. Limited to mostly English + characters. + +'OMS, OML' + Math symbols and math letters encoding. + +'T1' + TeX text extended. Sometimes called the Cork encoding for the + Users Group meeting where it was developed. Gives access to most + European accented characters. The most common option for this + package. + +'TS1' + Text Companion encoding. + +LaTeX's default is to load 'OML', 'T1', 'OT1', and then 'OMS', and set +the default to 'OT1'. + + Even if you do not use accented letters, you may need to specify a +font encoding if your font requires it. + + If you use 'T1' encoded fonts other than the default Computer Modern +family then you may need to load the package that selects your fonts +before loading 'fontenc', to prevent the system from loading any +'T1' encoded fonts from the default. + + The LaTeX team reserve encoding names starting with: 'T' for the +standard text encodings with 256 characters, 'TS' for symbols that +extend the corresponding T encodings, 'X' for test encodings, 'M' for +standard math encodings with 256 characters, 'A' for special +applications, 'OT' for standard text encodings with 128 characters, and +'OM' for standard math encodings with 128 characters ('O' stands for +'obsolete'). + + This package provides a number of commands, detailed below. Many of +them are encoding-specific, so if you have defined a command that works +for one encoding but the current encoding is different then the command +is not in effect. + +* Menu: + +* \DeclareFontEncoding:: Define an encoding. +* \DeclareTextAccent:: Define an accent in the encoding. +* \DeclareTextAccentDefault:: Fallback for using an accent in the encoding. +* \DeclareTextCommand & \ProvideTextCommand:: New encoding-specific command. +* \DeclareTextCommandDefault & \ProvideTextCommandDefault:: Fallback for encoding-specific commands. +* \DeclareTextComposite:: Directly access an accented glyph, in the encoding. +* \DeclareTextCompositeCommand:: Run code in slot, in the encoding. +* \DeclareTextSymbol:: Define a symbol in the encoding. +* \DeclareTextSymbolDefault:: Fallback for a symbol in the encoding. +* \LastDeclaredEncoding:: Save most recently declared encoding. +* \UseTextSymbol & \UseTextAccent:: Temporarily switch to another encoding. + + +File: latex2e.info, Node: \DeclareFontEncoding, Next: \DeclareTextAccent, Up: fontenc package + +4.1.1 '\DeclareFontEncoding' +---------------------------- + +Synopsis: + + \DeclareFontEncoding{ENCODING}{TEXT-SETTINGS}{MATH-SETTINGS} + + Declare the font encoding ENCODING. It also saves the value of +ENCODING in '\LastDeclaredEncoding' (*note \LastDeclaredEncoding::). + + The file 't1enc.def' contains this line (followed by many others). + + \DeclareFontEncoding{T1}{}{} + + The TEXT-SETTINGS are the commands that LaTeX will run every time it +switches from one encoding to another with the '\selectfont' or +'\fontencoding' command. The MATH-SETTINGS are the commands that LaTeX +will use whenever the font is accessed as a math alphabet. + + LaTeX ignores any space characters inside TEXT-SETTINGS and +MATH-SETTINGS, to prevent unintended spaces in the output. + + If you invent an encoding you should pick a two or three letter name +starting with 'L' for 'local', or 'E' for 'experimental'. + + Note that output encoding files may be read several times by LaTeX so +using, e.g., '\newcommand' may cause an error. In addition, such files +should contain '\ProvidesFile' line (*note Class and package +commands::). + + Note also that you should use the '\...Default' commands only in a +package, not in the encoding definition files, since those files should +only contain declarations specific to that encoding. + + +File: latex2e.info, Node: \DeclareTextAccent, Next: \DeclareTextAccentDefault, Prev: \DeclareFontEncoding, Up: fontenc package + +4.1.2 '\DeclareTextAccent' +-------------------------- + +Synopsis: + + \DeclareTextAccent{CMD}{ENCODING}{SLOT} + + Define an accent, to be put on top of other glyphs, in the encoding +ENCODING at the location SLOT. + + This line from 't1enc.def' declares that to make a circumflex accent +as in '\^A', the system will put the accent in slot 2 over the 'A' +character, which is represented in ASCII as 65. (This holds unless +there is a relevant 'DeclareTextComposite' or +'\DeclareTextCompositeCommand' declaration; *note +\DeclareTextComposite::.) + + \DeclareTextAccent{\^}{T1}{2} + + If CMD has already been defined then '\DeclareTextAccent' does not +give an error but it does log the redefinition in the transcript file. -4.1 Font styles + +File: latex2e.info, Node: \DeclareTextAccentDefault, Next: \DeclareTextCommand & \ProvideTextCommand, Prev: \DeclareTextAccent, Up: fontenc package + +4.1.3 '\DeclareTextAccentDefault' +--------------------------------- + +Synopsis: + + \DeclareTextAccentDefault{CMD}{ENCODING} + + If there is an encoding-specific accent command CMD but there is no +associated '\DeclareTextAccent' for that encoding then this command will +pick up the slack, by saying to use it as described for ENCODING. + + For example, to make the encoding 'OT1' be the default encoding for +the accent '\"', declare this. + + \DeclareTextAccentDefault{\"}{OT1} + +If you issue a '\"' when the current encoding does not have a definition +for that accent then LaTeX will use the definition from 'OT1' + + That is, this command is equivalent to this call (*note +\UseTextSymbol & \UseTextAccent::). + + \DeclareTextCommandDefault[1]{CMD} + {\UseTextAccent{ENCODING}{CMD}{#1}} + + Note that '\DeclareTextAccentDefault' works for any one-argument +'fontenc' command, not just the accent command. + + +File: latex2e.info, Node: \DeclareTextCommand & \ProvideTextCommand, Next: \DeclareTextCommandDefault & \ProvideTextCommandDefault, Prev: \DeclareTextAccentDefault, Up: fontenc package + +4.1.4 '\DeclareTextCommand' & '\ProvideTextCommand' +--------------------------------------------------- + +Synopsis, one of: + + \DeclareTextCommand{CMD}{ENCODING}{DEFN} + \DeclareTextCommand{CMD}{ENCODING}[NARGS]{DEFN} + \DeclareTextCommand{CMD}{ENCODING}[NARGS][OPTARGDEFAULT]{DEFN} + + or one of: + + \ProvideTextCommand{CMD}{ENCODING}{DEFN} + \ProvideTextCommand{CMD}{ENCODING}[NARGS]{DEFN} + \ProvideTextCommand{CMD}{ENCODING}[NARGS][OPTARGDEFAULT]{DEFN} + + Define the command CMD, which will be specific to one encoding. The +command name CMD must begin with a backslash, \. These commands can +only appear in the preamble. Redefining 'cmd' does not cause an error. +The defined command will be robust even if the code in DEFN is fragile +(*note \protect::). + + For example, the file 't1enc.def' contains this line. + + \DeclareTextCommand{\textperthousand}{T1}{\%\char 24 } + + With that, you can express parts per thousand. + + \usepackage[T1]{fontenc} % in preamble + ... + Legal limit is \( 0.8 \)\textperthousand. + +If you change the font encoding to 'OT1' then you get an error like +'LaTeX Error: Command \textperthousand unavailable in encoding OT1'. + + The '\ProvideTextCommand' variant does the same, except that it does +nothing if CMD is already defined. The '\DeclareTextSymbol' command is +faster than this one for simple slot-to-glyph association (*note +\DeclareTextSymbol::) + + The optional NARGS and OPTARGSDEFAULT arguments play the same role +here as in '\newcommand' (*note \newcommand & \renewcommand::). +Briefly, NARGS is an integer from 0 to 9 specifying the number of +arguments that the defined command 'cmd' takes. This number includes +any optional argument. Omitting this argument is the same as specifying +0, meaning that CMD will have no arguments. And, if OPTARGSDEFAULT is +present then the first argument of '\CMD' is optional, with default +value OPTARGDEFAULT (which may be the empty string). If OPTARGSDEFAULT +is not present then '\CMD' does not take an optional argument. + + +File: latex2e.info, Node: \DeclareTextCommandDefault & \ProvideTextCommandDefault, Next: \DeclareTextComposite, Prev: \DeclareTextCommand & \ProvideTextCommand, Up: fontenc package + +4.1.5 '\DeclareTextCommandDefault' & '\ProvideTextCommandDefault ' +------------------------------------------------------------------ + +Synopsis: + + \DeclareTextCommandDefault{CMD}{DEFN} + + or: + + \ProvideTextCommandDefault{CMD}{DEFN} + + Give a default definition for CMD, for when that command is not +defined in the encoding currently in force. This default should only +use encodings known to be available. + + This makes '\copyright' available. + + \DeclareTextCommandDefault{\copyright}{\textcircled{c}} + + It uses only an encoding (OMS) that is always available. + + The '\DeclareTextCommandDefault' should not occur in the encoding +definition files since those files should declare only commands for use +when you select that encoding. It should instead be in a package. + + As with the related non-default commands, the +'\ProvideTextCommandDefault' has exactly the same behavior as +'\DeclareTextCommandDefault' except that it does nothing if CMD is +already defined (*note \DeclareTextCommand & \ProvideTextCommand::). +So, packages can use it to provide fallbacks that other packages can +improve upon. + + +File: latex2e.info, Node: \DeclareTextComposite, Next: \DeclareTextCompositeCommand, Prev: \DeclareTextCommandDefault & \ProvideTextCommandDefault, Up: fontenc package + +4.1.6 '\DeclareTextComposite' +----------------------------- + +Synopsis: + + \DeclareTextComposite{CMD}{ENCODING}{SIMPLE_OBJECT}{SLOT} + + Access an accented glyph directly, that is, without having to put an +accent over a separate character. + + This line from 't1enc.def' means that '\^o' will cause LaTeX to +typeset lowercase 'o' by taking the character directly from location 224 +in the font. + + \DeclareTextComposite{\^}{T1}{o}{244} + + *Note fontenc package::, for a list of common encodings. The +SIMPLE_OBJECT should be a single character or a single command. The +SLOT argument is usually a positive integer represented in decimal +(although octal or hexadecimal are possible). Normally CMD has already +been declared for this encoding, either with '\DeclareTextAccent' or +with a one-argument '\DeclareTextCommand'. In 't1enc.def', the above +line follows the '\DeclareTextAccent{\^}{T1}{2}' command. + + +File: latex2e.info, Node: \DeclareTextCompositeCommand, Next: \DeclareTextSymbol, Prev: \DeclareTextComposite, Up: fontenc package + +4.1.7 '\DeclareTextCompositeCommand' +------------------------------------ + +Synopsis: + + \DeclareTextCompositeCommand{CMD}{ENCODING}{ARG}{CODE} + + A more general version of '\DeclareTextComposite' that runs arbitrary +code with CMD. + + This allows accents on 'i' to act like accents on dotless i, '\i'. + + \DeclareTextCompositeCommand{\'}{OT1}{i}{\'\i} + + *Note fontenc package::, for a list of common encodings. Normally +CMD will have already been declared with '\DeclareTextAccent' or as a +one argument '\DeclareTextCommand'. + + +File: latex2e.info, Node: \DeclareTextSymbol, Next: \DeclareTextSymbolDefault, Prev: \DeclareTextCompositeCommand, Up: fontenc package + +4.1.8 '\DeclareTextSymbol' +-------------------------- + +Synopsis: + + \DeclareTextSymbol{CMD}{ENCODING}{SLOT} + + Define a symbol in the encoding ENCODING at the location SLOT. +Symbols defined in this way are for use in text, not mathematics. + + For example, this line from 't1enc.def' declares the number of the +glyph to use for «, the left guillemet. + + \DeclareTextSymbol{\guillemotleft}{T1}{19} + +The command '\DeclareTextCommand{\guillemotleft}{T1}{\char 19}' has the +same effect but is slower (*note \DeclareTextCommand & +\ProvideTextCommand::). + + *Note fontenc package::, for a list of common encodings. The SLOT +can be specified in decimal, or octal (as in ''023'), or hexadecimal (as +in '"13'), although decimal has the advantage that single quote or +double quote could be redefined by another package. + + If CMD has already been defined then '\DeclareTextSymbol' does not +give an error but it does log the redefinition in the transcript file. + + +File: latex2e.info, Node: \DeclareTextSymbolDefault, Next: \LastDeclaredEncoding, Prev: \DeclareTextSymbol, Up: fontenc package + +4.1.9 '\DeclareTextSymbolDefault' +--------------------------------- + +Synopsis: + + \DeclareTextSymbolDefault{CMD}{ENCODING} + + If there is an encoding-specific symbol command CMD but there is no +associated '\DeclareTextSymbol' for that encoding, then this command +will pick up the slack, by saying to get the symbol as described for +ENCODING. + + For example, to declare that if the current encoding has no meaning +for '\textdollar' then use the one from 'OT1', declare this. + + \DeclareTextSymbolDefault{\textdollar}{OT1} + + That is, this command is equivalent to this call (*note +\UseTextSymbol & \UseTextAccent::). + + \DeclareTextCommandDefault{CMD} + {\UseTextSymbol{ENCODING}{CMD}} + + Note that '\DeclareTextSymbolDefault' can be used to define a default +for any zero-argument 'fontenc' command. + + +File: latex2e.info, Node: \LastDeclaredEncoding, Next: \UseTextSymbol & \UseTextAccent, Prev: \DeclareTextSymbolDefault, Up: fontenc package + +4.1.10 '\LastDeclaredEncoding' +------------------------------ + +Synopsis: + + \LastDeclaredEncoding + + Get the name of the most recently declared encoding. The +'\DeclareFontEncoding' command stores the name so that it can be +retrieved with this command (*note \DeclareFontEncoding::). + + This relies on '\LastDeclaredEncoding' rather than give the name of +the encoding explicitly. + + \DeclareFontEncoding{JH1}{}{} + \DeclareTextAccent{\'}{\LastDeclaredEncoding}{0} + + +File: latex2e.info, Node: \UseTextSymbol & \UseTextAccent, Prev: \LastDeclaredEncoding, Up: fontenc package + +4.1.11 '\UseTextSymbol' & '\UseTextAccent' +------------------------------------------ + +Synopsis: + + \UseTextSymbol{ENCODING}{CMD} + + or: + + \UseTextAccent{ENCODING}{CMD}{TEXT} + + Use a symbol or accent not from the current encoding. + + In general, to use a 'fontenc' command in an encoding where it is not +defined, and if the command has no arguments, then you can use it like +this: + + \UseTextSymbol{OT1}{\ss} + +which is equivalent to this (note the outer braces form a group, so +LaTeX reverts back to the prior encoding after the '\ss'): + + {\fontencoding{OT1}\selectfont\ss} + + Similarly, to use a 'fontenc' command in an encoding where it is not +defined, and if the command has one argument, you can use it like this: + + \UseTextAccent{OT1}{\'}{a} + +which is equivalent to this (again note the outer braces forming a +group): + + {fontencoding{OT1}\selectfont\'{\fontencoding{ENC_IN_USE}\selectfont a}} + +Here, ENC_IN_USE is the encoding in force before this sequence of +commands, so that 'a' is typeset using the current encoding and only the +accent is taken from 'OT1'. + + +File: latex2e.info, Node: Font styles, Next: Font sizes, Prev: fontenc package, Up: Fonts + +4.2 Font styles =============== The following type style commands are supported by LaTeX. - In the table below the listed commands, the '\text...' commands, is -used with an argument, as in '\textit{TEXT}'. This is the preferred -form. But shown after it, in parenthesis, is the corresponding -declaration form, which is sometimes useful. This form takes no + In the table below the listed commands, the '\text...' commands, are +used with an argument as in '\textit{TEXT}'. This is the preferred +form. But shown after it in parenthesis is the corresponding +"declaration form", which is often useful. This form takes no arguments, as in '{\itshape TEXT}'. The scope of the declaration form lasts until the next type style command or the end of the current group. In addition, each has an environment form such as -'\begin{itshape}...\end{itshape}'. +'\begin{itshape}...\end{itshape}', which we'll describe further at the +end of the section. - These commands, in both the argument form and the declaration form, -are cumulative; for instance you can get bold sans serif by saying -either of '\sffamily\bfseries' or '\bfseries\sffamily'. + These commands, in any of the three forms, are cumulative; for +instance you can get bold sans serif by saying either of +'\sffamily\bfseries' or '\bfseries\sffamily'. One advantage of these commands is that they automatically insert italic corrections if needed (*note \/::). Specifically, they insert the italic correction unless the following character is in the list -'\nocorrlist', which by default consists of a period and a comma. To +'\nocorrlist', which by default consists of period and comma. To suppress the automatic insertion of italic correction, use '\nocorr' at the start or end of the command argument, such as '\textit{\nocorr text}' or '\textsc{text \nocorr}'. @@ -1097,8 +1613,8 @@ as declarations: '{\CMD...}' instead of '\CMD{...}'. (The unconditional commands below are an older version of font switching. The earlier commands are an improvement in most -circumstances. But sometimes an unconditional font switch is precisely -what you want.) +circumstances. But sometimes an unconditional font switch is what is +needed.) '\bf' Switch to bold face. @@ -1164,15 +1680,13 @@ sometimes widths) from the standard "lining" numerals, which all have the same height as uppercase letters. LaTeX's default fonts support this, and will respect '\textbf' (but not other styles; there are no italic old-style numerals in Computer Modern). Many other fonts have -old-style numerals also; sometimes the 'textcomp' package must be -loaded, and sometimes package options are provided to make them the -default. FAQ entry: -<http://www.tex.ac.uk/cgi-bin/texfaq2html?label=osf>. +old-style numerals also; sometimes package options are provided to make +them the default. FAQ entry: <https://www.texfaq.org/FAQ-osf>. File: latex2e.info, Node: Font sizes, Next: Low-level font commands, Prev: Font styles, Up: Fonts -4.2 Font sizes +4.3 Font sizes ============== The following standard type size commands are supported by LaTeX. The @@ -1193,24 +1707,35 @@ Command '10pt' '11pt' '12pt' '\huge' 20.74 20.74 24.88 '\Huge' 24.88 24.88 24.88 - The commands are listed here in declaration forms. You use them by -declaring them, as with this example. + The commands are listed here in declaration (not environment) form, +since that is how they are typically used. For example. \begin{quotation} \small The Tao that can be named is not the eternal Tao. \end{quotation} -The scope of the '\small' lasts until the end of the 'quotation' +Here, the scope of the '\small' lasts until the end of the 'quotation' environment. It would also end at the next type style command or the -end of the current group, so you could enclose it in extra curly braces -'{\small We are here, we are here, we are here!}'. You can instead use -the environment form of these commands; for instance, -'\begin{tiny}...\end{tiny}'. +end of the current group, so you could enclose it in curly braces +'{\small This text is typeset in the small font.}'. + + An "environment form" of each of these commands is also defined; for +instance, '\begin{tiny}...\end{tiny}'. However, in practice this form +can easily lead to unwanted spaces at the beginning and/or end of the +environment without careful consideration, so it's generally less +error-prone to stick to the declaration form. + + (Aside: Technically, due to the way LaTeX defines '\begin' and +'\end', nearly every command that does not take an argument technically +has an environment form. But in almost all cases, it would only cause +confusion to use it. The reason for mentioning the environment form of +the font size declarations specifically is that this particular use is +not rare.) File: latex2e.info, Node: Low-level font commands, Prev: Font sizes, Up: Fonts -4.3 Low-level font commands +4.4 Low-level font commands =========================== These commands are primarily intended for writers of macros and @@ -1229,9 +1754,9 @@ ones. '\fontfamily{FAMILY}' Select the font family. The web page - <http://www.tug.dk/FontCatalogue/> provides one way to browse - through many of the fonts easily used with LaTeX. Here are - examples of some common families. + <https://tug.org/FontCatalogue/> provides one way to browse through + many of the fonts easily used with LaTeX. Here are examples of + some common families. 'pag' Avant Garde 'fvs' Bitstream Vera Sans @@ -1314,22 +1839,9 @@ ones. stored in the parameter '\baselineskip'. The default '\baselineskip' for the Computer Modern typeface is 1.2 times the '\fontsize'. Changing '\baselineskip' directly is inadvisable - since its value is reset every time a size change happens; see - '\baselinestretch', next. - -'\baselinestretch' - LaTeX multiplies the line spacing by the value of the - '\baselinestretch' parameter; the default factor is 1. A change - takes effect when '\selectfont' (see below) is called. You can - make a line skip change happen for the entire document, for - instance doubling it, by doing - '\renewcommand{\baselinestretch}{2.0}' in the preamble. - - However, the best way to double-space a document is to use the - 'setspace' package. In addition to offering a number of spacing - options, this package keeps the line spacing single-spaced in - places where that is typically desirable, such as footnotes and - figure captions. See the package documentation. + since its value is reset every time a size change happens; instead + use '\baselinestretch'. (*note \baselineskip & + \baselinestretch::). '\linespread{FACTOR}' Equivalent to '\renewcommand{\baselinestretch}{FACTOR}', and @@ -1367,6 +1879,7 @@ Commands for controlling the general page layout. * \flushbottom:: Make all text pages the same height. * \raggedbottom:: Allow text pages of differing height. * Page layout parameters:: '\headheight' '\footskip'. +* \baselineskip & \baselinestretch:: Space between lines. * Floats:: Figures, tables, etc. @@ -1406,22 +1919,22 @@ typeset in one-column mode before the two-column typesetting starts. '\columnsep' The distance between columns. The default is 35pt. Change it with - a command such as '\setlength{\columnsep}{40pt}' You must change it - before the two column environment starts; in the preamble is a good + a command such as '\setlength{\columnsep}{40pt}'. You must change + it before the two column mode starts; in the preamble is a good place. '\columnseprule' - The width of the rule between columns. The rule appears halfway - between the two columns. The default is 0pt, meaning that there is - no rule. Change it with a command such as - '\setlength{\columnseprule}{0.4pt}', before the two-column - environment starts. + The width of the rule between columns. The default is 0pt, meaning + that there is no rule. Otherwise, the rule appears halfway between + the two columns. Change it with a command such as + '\setlength{\columnseprule}{0.4pt}', before the two-column mode + starts. '\columnwidth' The width of a single column. In one-column mode this is equal to '\textwidth'. In two-column mode by default LaTeX sets the width - of each of the two columns to be half of '\textwidth' minus - '\columnsep'. + of each of the two columns, '\columnwidth', to be half of + '\textwidth' minus '\columnsep'. In a two-column document, the starred environments 'table*' and 'figure*' are two columns wide, whereas the unstarred environments @@ -1433,7 +1946,7 @@ following parameters control float behavior of two-column output. The maximum fraction at the top of a two-column page that may be occupied by two-column wide floats. The default is 0.7, meaning that the height of a 'table*' or 'figure*' environment must not - exceed '0.7\textheight' . If the height of your starred float + exceed '0.7\textheight'. If the height of your starred float environment exceeds this then you can take one of the following actions to prevent it from floating all the way to the back of the document: @@ -1533,7 +2046,7 @@ at any point in the document body. See *note \flushbottom::. option (*note Document class options::). -File: latex2e.info, Node: Page layout parameters, Next: Floats, Prev: \raggedbottom, Up: Layout +File: latex2e.info, Node: Page layout parameters, Next: \baselineskip & \baselinestretch, Prev: \raggedbottom, Up: Layout 5.5 Page layout parameters ========================== @@ -1555,8 +2068,8 @@ File: latex2e.info, Node: Page layout parameters, Next: Floats, Prev: \ragged Vertical distance between the bottom of the header line and the top of the main text. The default in the 'article' and 'report' classes is '25pt'. In the 'book' class the default is: if the - document is set at 10pt then it is '0.25in', and at 11pt and 12pt - it is '0.275in'. + document is set at 10pt then it is '0.25in', and at 11pt or 12pt it + is '0.275in'. '\footskip' Distance from the baseline of the last line of text to the baseline @@ -1600,12 +2113,12 @@ File: latex2e.info, Node: Page layout parameters, Next: Floats, Prev: \ragged '\oddsidemargin' '\evensidemargin' - The '\oddsidemargin' is the extra distance between the left side of - the page and the text's left margin, on odd-numbered pages when the - document class option 'twoside' is chosen and on all pages when - 'oneside' is in effect. When 'twoside' is in effect, on + The '\oddsidemargin' length is the extra distance between the left + side of the page and the text's left margin, on odd-numbered pages + when the document class option 'twoside' is chosen and on all pages + when 'oneside' is in effect. When 'twoside' is in effect, on even-numbered pages the extra distance on the left is - 'evensidemargin'. + '\evensidemargin'. LaTeX's default is that '\oddsidemargin' is 40% of the difference between '\paperwidth' and '\textwidth', and '\evensidemargin' is @@ -1669,9 +2182,102 @@ File: latex2e.info, Node: Page layout parameters, Next: Floats, Prev: \ragged is the same as the font size, e.g., '10pt' at a type size of 10pt. -File: latex2e.info, Node: Floats, Prev: Page layout parameters, Up: Layout +File: latex2e.info, Node: \baselineskip & \baselinestretch, Next: Floats, Prev: Page layout parameters, Up: Layout + +5.6 '\baselineskip' & '\baselinestretch' +======================================== -5.6 Floats +The '\baselineskip' is a rubber length (*note Lengths::). It gives the +leading, the normal distance between lines in a paragraph, from baseline +to baseline. + + Ordinarily document authors do not directly change '\baselineskip' +while writing. Instead, it is set by the low level font selection +command '\fontsize' (*note low level font commands fontsize::). The +'\baselineskip''s value is reset every time a font change happens and so +any direct change to '\baselineskip' would vanish the next time there +was a font switch. For how to influence line spacing, see the +discussion of '\baselinestretch' below. + + Usually, a font's size and baseline skip is assigned by the font +designer. These numbers are nominal in the sense that if, for instance, +a font's style file has the command '\fontsize{10pt}{12pt}' then that +does not mean that the characters in the font are 10pt tall; for +instance, parentheses and accented capitals may be taller. Nor does it +mean that if the lines are spaced less than 12pt apart then they risk +touching. Rather these numbers are typographic judgements. (Often, the +'\baselineskip' is about twenty percent larger than the font size.) + + The '\baselineskip' is not a property of each line but of the entire +paragraph. As a result, large text in the middle of a paragraph, such +as a single '{\Huge Q}', will be squashed into its line. TeX will make +sure it doesn't scrape up against the line above but won't change the +'\baselineskip' for that one line to make extra room above. For the +fix, use a '\strut' (*note \strut::). + + The value of '\baselineskip' that TeX uses for the paragraph is the +value in effect at the blank line or command that ends the paragraph +unit. So if a document contains this paragraph then its lines will be +scrunched together, compared to lines in surrounding paragraphs. + + Many people see a page break between text and a displayed equation as + bad style, so in effect the display is part of the paragraph. + Because this display is in footnotesize, the entire paragraph has the + baseline spacing matching that size. + {\footnotesize $$a+b = c$$} + + The process for making paragraphs is that when a new line is added, +if the depth of the previous line plus the height of the new line is +less than '\baselineskip' then TeX inserts vertical glue to make up the +difference. There are two fine points. The first is that if the lines +would be too close together, closer than '\lineskiplimit', then TeX +instead uses '\lineskip' as the interline glue. The second is that TeX +doesn't actually use the depth of the previous line. Instead it uses +'\prevdepth', which usually contains that depth. But at the beginning +of the paragraph (or any vertical list) or just after a rule, +'\prevdepth' has the value -1000pt and this special value tells TeX not +to insert any interline glue at the paragraph start. + + In the standard classes '\lineskiplimit' is 0pt and '\lineskip' is +1pt. By the prior paragraph then, the distance between lines can +approach zero but if it becomes zero (or less than zero) then the lines +jump to 1pt apart. + + Sometimes authors must, for editing purposes, put the document in +double space or one-and-a-half space. The right way to influence the +interline distance is via '\baselinestretch'. It scales +'\baselineskip', and has a default value of 1.0. It is a command, not a +length, so change the scale factor as in +'\renewcommand{\baselinestretch}{1.5}\selectfont'. + + The most straightforward way to change the line spacing for an entire +document is to put '\linespread{FACTOR}' in the preamble. For double +spacing, take FACTOR to be 1.6 and for one-and-a-half spacing use 1.3. +These number are rough: for instance, since the '\baselineskip' is about +1.2 times the font size, multiplying by 1.6 gives a font size to +baseline ratio of about 2. (The '\linespread' command is defined as +'\renewcommand{\baselinestretch}{FACTOR}' so it won't take effect until +a font setting happens. But that always takes place at the start of a +document, so there you don't need to follow it with '\selectfont'.) + + A simpler approach is the 'setspace' package. The basic example: + + \usepackage{setspace} + \doublespacing % or \onehalfspacing for 1.5 + + In the preamble these will start the document off with that sizing. +But you can also use these declarations in the document body to change +the spacing from that point forward, and consequently there is +'\singlespacing' to return the spacing to normal. In the document body, +a better practice than using the declarations is to use environments, +such as '\begin{doublespace} ... \end{doublespace}'. The package also +has commands to do arbitrary spacing: '\setstretch{FACTOR}' and +'\begin{spacing}{FACTOR} ... \end{spacing}'. + + +File: latex2e.info, Node: Floats, Prev: \baselineskip & \baselinestretch, Up: Layout + +5.7 Floats ========== Some typographic elements, such as figures and tables, cannot be broken @@ -1713,7 +2319,7 @@ below. The default for both 'figure' and 'table', in both 'article' and allowed for full-width floats ('figure*') with double-column output. To ameliorate this, use the 'stfloats' or 'dblfloatfix' package, but see the discussion at caveats in the FAQ: - <http://www.tex.ac.uk/cgi-bin/texfaq2html?label=2colfloat>. + <https://www.texfaq.org/FAQ-2colfloat>. 'h' (Here)--at the position in the text where the 'figure' environment @@ -1723,7 +2329,7 @@ below. The default for both 'figure' and 'table', in both 'article' and To absolutely force a float to appear "here", you can '\usepackage{float}' and use the 'H' specifier which it defines. For further discussion, see the FAQ entry at - <http://www.tex.ac.uk/cgi-bin/texfaq2html?label=figurehere>. + <https://www.texfaq.org/FAQ-figurehere>. 'p' (Page of floats)--on a separate "float page", which is a page @@ -1814,12 +2420,12 @@ a command of the form '\setcounter{CTRNAME}{NATURAL NUMBER}'): Maximum number of floats that can appear on a text page; default 3. The principal TeX FAQ entry relating to floats -<http://www.tex.ac.uk/cgi-bin/texfaq2html?label=floats> contains -suggestions for relaxing LaTeX's default parameters to reduce the -problem of floats being pushed to the end. A full explanation of the -float placement algorithm is in Frank Mittelbach's article "How to -influence the position of float environments like figure and table in -LaTeX?" (<http://latex-project.org/papers/tb111mitt-float.pdf>). +<https://www.texfaq.org/FAQ-floats> contains suggestions for relaxing +LaTeX's default parameters to reduce the problem of floats being pushed +to the end. A full explanation of the float placement algorithm is in +Frank Mittelbach's article "How to influence the position of float +environments like figure and table in LaTeX?" +(<https://www.latex-project.org/publications/2014-FMi-TUB-tb111mitt-float-placement.pdf>). File: latex2e.info, Node: Sectioning, Next: Cross references, Prev: Layout, Up: Top @@ -1852,9 +2458,9 @@ Subsubsection '\subsubsection' 3 Paragraph '\paragraph' 4 Subparagraph '\subparagraph' 5 - All these commands have a '*'-form that prints TITLE as usual but is -not numbered and does not make an entry in the table of contents. An -example of using this is for an appendix in an 'article' . The input + All these commands have a '*'-form that prints TITLE as usual but +does not number it and does not make an entry in the table of contents. +An example of using this is for an appendix in an 'article'. The input '\appendix\section{Appendix}' gives the output 'A Appendix' (*note \appendix::). You can lose the numbering 'A' by instead entering '\section*{Appendix}' (articles often omit a table of contents and have @@ -1877,17 +2483,24 @@ contents will have an entry for this sectioning unit (*note Sectioning/tocdepth::). LaTeX expects that before you have a '\subsection' you will have a -'\section' and, in a book, that before a '\section' you will have a -'\chapter'. Otherwise you can get a something like a subsection -numbered '3.0.1'. +'\section' and, in a 'book' class document, that before a '\section' you +will have a '\chapter'. Otherwise you can get something like a +subsection numbered '3.0.1'. - Two counters relate to the appearance of sectioning commands. + LaTeX lets you change the appearance of the sectional units. As a +simple example, you can change the section numbering to upper-case +letters with '\renewcommand\thesection{\Alph{section}}' in the preamble +(*note \alph \Alph \arabic \roman \Roman \fnsymbol::). CTAN has many +packages that make this adjustment easier, notably 'titlesec'. + + Two counters relate to the appearance of headings made by sectioning +commands. 'secnumdepth' - Controls which sectioning commands are numbered. Suppress - numbering of sectioning at any depth greater than LEVEL - '\setcounter{secnumdepth}{LEVEL}' (*note \setcounter::). See the - above table for the level numbers. For instance, if the + Controls which sectioning unit are numbered. Setting the counter + with '\setcounter{secnumdepth}{LEVEL}' will suppress numbering of + sectioning at any depth greater than LEVEL (*note \setcounter::). + See the above table for the level numbers. For instance, if the 'secnumdepth' is 1 in an 'article' then a '\section{Introduction}' command will produce output like '1 Introduction' while '\subsection{Discussion}' will produce output like 'Discussion', @@ -1900,8 +2513,8 @@ numbered '3.0.1'. sectioning units at LEVEL be the smallest ones listed (*note \setcounter::). See the above table for the level numbers. For instance, if 'tocdepth' is 1 then the table of contents will list - sections but not subsections. LaTeX's default 'secnumdepth' is 3 - in 'article' class and 2 in the 'book' and 'report' classes. + sections but not subsections. LaTeX's default 'tocdepth' is 3 in + 'article' class and 2 in the 'book' and 'report' classes. * Menu: @@ -1912,7 +2525,7 @@ numbered '3.0.1'. * \subsubsection & \paragraph & \subparagraph:: Lower divisions. * \appendix:: Start appendices. * \frontmatter & \mainmatter & \backmatter:: The three parts of a book. -* \@startsection:: Layout of sectional units. +* \@startsection:: Sectional unit headings. File: latex2e.info, Node: \part, Next: \chapter, Up: Sectioning @@ -1962,7 +2575,7 @@ in the table of contents. For determining which sectional units are numbered and which appear in the table of contents, the level number of a part is -1 (*note -Sectioning/secnumdepth:: and *note Sectioning/tocdepth::). +Sectioning/secnumdepth::, and *note Sectioning/tocdepth::). In the class 'article', if a paragraph immediately follows the part title then it is not indented. To get an indent you can use the package @@ -2023,7 +2636,7 @@ but only 'Weyl' on the contents page. This puts a line break in the title but that doesn't work well with running headers so it omits the break in the contents - \chapter[Given it all\\ my story]{Given it all\\ my story} + \chapter[Given it all; my story]{Given it all\\ my story} For determining which sectional units are numbered and which appear in the table of contents, the level number of a chapter is 0 (*note @@ -2178,19 +2791,19 @@ its line and flush left, in boldface and a larger type (the type size is '\large'). The same holds in 'article' except that there are no chapters in that class so it looks like '2.3 TITLE'. - The '*' form shows TITLE. But it does not show the section number, -does not increment the 'section' counter, and produces no table of -contents entry. + The '*' form shows TITLE. But it does not show the subsection +number, does not increment the 'subsection' counter, and produces no +table of contents entry. - The optional argument TOC-TITLE will appear as the section title in -the table of contents (*note Table of contents etc.::). If it is not -present then TITLE will be there. This shows the full name in the title -of the section, + The optional argument TOC-TITLE will appear as the subsection title +in the table of contents (*note Table of contents etc.::). If it is not +present then TITLE will be there. This shows the full text in the title +of the subsection, \subsection[$\alpha,\beta,\gamma$ paper]{\textit{The Origin of Chemical Elements} by R.A.~Alpher, H.~Bethe, and G.~Gamow} -but only 'U+03B1,U+03B2,U+03B3 paper' on the contents page. +but only 'α,β,γ paper' on the contents page. For determining which sectional units are numbered and which appear in the table of contents, the level number of a subsection is 2 (*note @@ -2310,12 +2923,12 @@ article resets the 'section' and 'subsection' counters. the first two will generate output numbered 'Chapter 1' and 'Chapter 2'. After the '\appendix' the numbering will be 'Appendix A' and 'Appendix -B'. *Note Larger book template:: for another example. +B'. *Note Larger book template::, for another example. The 'appendix' package adds the command '\appendixpage' to put a separate 'Appendices' in the document body before the first appendix, and the command '\addappheadtotoc' to do the same in the table of -contents. You can reset the name 'Appendix' with a command like +contents. You can reset the name 'Appendices' with a command like '\renewcommand{\appendixname}{Specification}', as well as a number of other features. See the documentation on CTAN. @@ -2325,11 +2938,14 @@ File: latex2e.info, Node: \frontmatter & \mainmatter & \backmatter, Next: \@st 6.7 '\frontmatter', '\mainmatter', '\backmatter' ================================================ -Synopsis, one of: +Synopsis, one or more of: \frontmatter + ... \mainmatter + ... \backmatter + ... Format a 'book' class document differently according to which part of the document is being produced. All three commands are optional. @@ -2341,20 +2957,25 @@ front matter pages, such as the title page, are traditionally not numbered.) The back matter may contain such things as a glossary, notes, a bibliography, and an index. - The '\frontmatter' declaration makes the pages numbered in lowercase + The '\frontmatter' command makes the pages numbered in lowercase roman, and makes chapters not numbered, although each chapter's title appears in the table of contents; if you use other sectioning commands -here, use the '*'-version (*note Sectioning::). The '\mainmatter' -changes the behavior back to the expected version, and resets the page -number. The '\backmatter' leaves the page numbering alone but switches -the chapters back to being not numbered. *Note Larger book template:: -for an example using the three. +here, use the '*'-version (*note Sectioning::). + + The '\mainmatter' command changes the behavior back to the expected +version, and resets the page number. + + The '\backmatter' command leaves the page numbering alone but +switches the chapters back to being not numbered. + + *Note Larger book template::, for an example using these three +commands. File: latex2e.info, Node: \@startsection, Prev: \frontmatter & \mainmatter & \backmatter, Up: Sectioning -6.8 '\@startsection' -==================== +6.8 '\@startsection', typesetting sectional unit headings +========================================================= Synopsis: @@ -2388,11 +3009,11 @@ so that issuing {AFTERSKIP} {STYLE}} -redefines '\section' to have the form '\section*[TOCTITLE]{TITLE}' (here -too, the star '*' is optional). *Note Sectioning::. This implies that -when you write a command like '\renewcommand{section}{...}', the -'\@startsection{...}' must come last in the definition. See the -examples below. +redefines '\section' while keeping its standard calling form +'\section*[TOCTITLE]{TITLE}' (in which, for reminder, the star '*' is +optional). *Note Sectioning::. This implies that when you write a +command like '\renewcommand{\section}{...}', the '\@startsection{...}' +must come last in the definition. See the examples below. NAME Name of the counter used to number the sectioning header. This @@ -2406,7 +3027,7 @@ NAME LEVEL An integer giving the depth of the sectioning command. *Note - Sectioning:: for the list of standard level numbers. + Sectioning::, for the list of standard level numbers. If LEVEL is less than or equal to the value of the counter 'secnumdepth' then titles for this sectioning command will be @@ -2432,7 +3053,7 @@ BEFORESKIP The absolute value of this length is the amount of vertical space that is inserted before this sectioning unit's title. This space will be discarded if the sectioning unit happens to start at the - top of a fresh page. If this number is negative then the first + beginning of a page. If this number is negative then the first paragraph following the header is not indented, if it is non-negative then the first paragraph is indented. (Note that the negative of '1pt plus 2pt minus 3pt' is '-1pt plus -2pt minus @@ -2491,19 +3112,23 @@ STYLE These are LaTeX's defaults for the first three sectioning units that are defined with '\@startsection', for the 'article', 'book', and -'report' classes. For section, the LEVEL is 1, the INDENT is 0pt, the -BEFORESKIP is '-3.5ex plus -1ex minus -0.2ex', the AFTERSKIP is '2.3ex -plus 0.2ex', and the STYLE is '\normalfont\Large\bfseries'. For -subsection, the LEVEL is 2, the INDENT is 0pt, the BEFORESKIP is -'-3.25ex plus -1ex minus -0.2ex', the AFTERSKIP is '1.5ex plus 0.2ex', -and the STYLE is '\normalfont\large\bfseries'. For subsubsection, the -LEVEL is 3, the INDENT is 0pt, the BEFORESKIP is '-3.25ex plus -1ex -minus -0.2ex', the AFTERSKIP is '1.5ex plus 0.2ex', and the STYLE is -'\normalfont\normalsize\bfseries'. - - Here are examples. They go either in a package or class file or in -the preamble of a LaTeX document. If you put them in the preamble they -must go between a '\makeatletter' command and a '\makeatother'. +'report' classes. + + * For 'section': LEVEL is 1, INDENT is 0pt, BEFORESKIP is '-3.5ex + plus -1ex minus -0.2ex', AFTERSKIP is '2.3ex plus 0.2ex', and STYLE + is '\normalfont\Large\bfseries'. + + * For 'subsection': LEVEL is 2, INDENT is 0pt, BEFORESKIP is '-3.25ex + plus -1ex minus -0.2ex', AFTERSKIP is '1.5ex plus 0.2ex', and STYLE + is '\normalfont\large\bfseries'. + + * For 'subsubsection': LEVEL is 3, INDENT is 0pt, BEFORESKIP is + '-3.25ex plus -1ex minus -0.2ex', AFTERSKIP is '1.5ex plus 0.2ex', + and STYLE is '\normalfont\normalsize\bfseries'. + + Some examples follow. These go either in a package or class file or +in the preamble of a LaTeX document. If you put them in the preamble +they must go between a '\makeatletter' command and a '\makeatother'. (Probably the error message 'You can't use `\spacefactor' in vertical mode.' means that you forgot this.) *Note \makeatletter & \makeatother::. @@ -2600,6 +3225,7 @@ output 'Theorem 3.21', without you having to enter the "Theorem." * \label:: Assign a symbolic name to a piece of text. * \pageref:: Refer to a page number. * \ref:: Refer to a section, figure or similar. +* xr package:: References from another document. File: latex2e.info, Node: \label, Next: \pageref, Up: Cross references @@ -2690,7 +3316,7 @@ those.) \end{equation} -File: latex2e.info, Node: \ref, Prev: \pageref, Up: Cross references +File: latex2e.info, Node: \ref, Next: xr package, Prev: \pageref, Up: Cross references 7.3 '\ref' ========== @@ -2722,6 +3348,64 @@ document would have to be compiled twice. reference. See the documentation on CTAN. +File: latex2e.info, Node: xr package, Prev: \ref, Up: Cross references + +7.4 'xr' package +================ + +Synopsis: + + \usepackage{xr} + \externaldocument{DOCUMENT-BASENAME} + + or + + \usepackage{xr} + \externaldocument[REFERENCE-PREFIX]{DOCUMENT-BASENAME} + + Make cross references to the external document +'DOCUMENT-BASENAME.tex'. + + Here is an example. If 'lectures.tex' has this in the preamble + + \usepackage{xr} + \externaldocument{exercises} + \externaldocument[H-]{hints} + \externaldocument{answers} + + then it can use cross reference labels from the other three +documents. Suppose that 'exercises.tex' has an enumerated list +containing this, + + \item \label{exer:EulersThm} What if every vertex has odd degree? + + and 'hints.tex' has an enumerated list with this, + + \item \label{exer:EulersThm} Distinguish the case of two vertices. + + and 'answers.tex' has an enumerated list with this. + + \item \label{ans:EulersThm} There is no Euler path, except if there + are exactly two vertices. + + After compiling the exercises, hints, and answers documents, entering +this in the body of 'lectures.tex' will result in the lectures getting +the reference numbers used in the other documents. + + See Exercise~\ref{exer:EulersThm}, with Hint~\ref{H-exer:EulersThm}. + The solution is Answer~\ref{ans:EulersThm}. + + The prefix 'H-' for the reference from the hints file is needed +because the label in the hints file is the same as the label in the +exercises file. Without that prefix, both references would get the +number from the later file. + + Note: if the document uses the 'hyperref' package then in place of +'xr', put '\usepackage{xr-hyper}' before the '\usepackage{hyperref}'. +Also, if any of the multiple documents uses 'hyperref' then they all +must use it. + + File: latex2e.info, Node: Environments, Next: Line breaking, Prev: Cross references, Up: Top 8 Environments @@ -2942,7 +3626,7 @@ ending. \begin{center} My father considered that anyone who went to chapel and didn't drink alcohol was not to be tolerated.\\ - I grew up in that belief. --Richard Burton + I grew up in that belief. ---Richard Burton \end{center} A double backslash after the final line is optional. If present it @@ -3023,10 +3707,10 @@ none causes the LaTeX error 'Something's wrong--perhaps a missing This example shows the environment used for a sequence of definitions. - \begin{definition} + \begin{description} \item[lama] A priest. \item[llama] A beast. - \end{definition} + \end{description} The labels 'lama' and 'llama' are output in boldface, with the left edge on the left margin. @@ -3071,9 +3755,9 @@ Synopsis: MATHEMATICAL TEXT \end{displaymath} - Environment to typeset the math text on its own line, in display -style and centered. To make the text be flush-left use the global -option 'fleqn'; see *note Document class options::. + Environment to typeset the MATHEMATICAL TEXT on its own line, in +display style and centered. To make the text be flush-left use the +global option 'fleqn'; see *note Document class options::. In the 'displaymath' environment no equation number is added to the math text. One way to get an equation number is to use the 'equation' @@ -3085,17 +3769,17 @@ environment (*note equation::). displayed equation facilities. For example, there are a number of ways in that package for having math text broken across lines. - The construct '\[MATH TEXT\]' is essentially a synonym for -'\begin{displaymath}MATH TEXT\end{displaymath}' but the latter is easier -to work with in the source file; for instance, searching for a square -bracket may get false positives but the word 'displaymath' will likely -be unique. (The construct '$$MATH TEXT$$' from Plain TeX is sometimes + The construct '\[MATH\]' is a synonym for the environment +'\begin{displaymath} MATH \end{displaymath}' but the latter is easier to +work with in the source; for instance, searching for a square bracket +may get false positives but the word 'displaymath' will likely be +unique. + + (Aside: The construct '$$MATH$$' from Plain TeX is sometimes mistakenly used as a synonym for 'displaymath'. It is not a synonym, -because the 'displaymath' environment checks that it isn't started in -math mode and that it ends in math mode begun by the matching -environment start, because the 'displaymath' environment has different -vertical spacing, and because the 'displaymath' environment honors the -'fleqn' option.) +and is not officially supported in LaTeX at all; '$$' doesn't support +the 'fleqn' option (*note Document class options::), has different +vertical spacing, and doesn't perform consistency checks.) The output from this example is centered and alone on its line. @@ -3237,7 +3921,7 @@ File: latex2e.info, Node: eqnarray, Next: equation, Prev: enumerate, Up: Env The 'eqnarray' environment is obsolete. It has infelicities, including spacing that is inconsistent with other mathematics elements. (See "Avoid eqnarray!" by Lars Madsen -<http://tug.org/TUGboat/tb33-1/tb103madsen.pdf>). New documents should +<https://tug.org/TUGboat/tb33-1/tb103madsen.pdf>). New documents should include the 'amsmath' package and use the displayed mathematics environments provided there, such as the 'align' environment. We include a description only for completeness and for working with old @@ -3372,39 +4056,53 @@ end of the document, on a page of floats. File: latex2e.info, Node: filecontents, Next: flushleft, Prev: figure, Up: Environments -8.11 'filecontents': Write an external file -=========================================== +8.11 'filecontents' +=================== Synopsis: - \begin{filecontents}{FILENAME} + \begin{filecontents}[OPTION]{FILENAME} TEXT \end{filecontents} or - \begin{filecontents*}{FILENAME} + \begin{filecontents*}[OPTION]{FILENAME} TEXT \end{filecontents*} - Create a file named FILENAME and fill it with TEXT. The unstarred -version of the environment 'filecontents' prefixes the content of the -created file with a header; see the example below. The starred version -'filecontents*' does not include the header. + Create a file named FILENAME in the current directory (or the output +directory, if specified; *note output directory::) and write TEXT to it. +By default, an existing file is not overwritten. - This environment can be used anywhere in the preamble, although it -often appears before the '\documentclass' command. It is typically used -when a source file requires a nonstandard style or class file. The -environment will write that file to the directory containing the source -and thus make the source file self-contained. Another use is to include -'bib' references in the file, again to make it self-contained. + The unstarred version of the environment 'filecontents' prefixes the +content of the created file with a header of TeX comments; see the +example below. The starred version 'filecontents*' does not include the +header. + + The possible options are: + +'force' +'overwrite' + Overwrite an existing file. - The environment checks whether a file of that name already exists and -if so, does not do anything. There is a 'filecontents' package that -redefines the 'filecontents' environment so that instead of doing -nothing in that case, it will overwrite the existing file. +'noheader' + Omit the header. Equivalent to using 'filecontents*'. - For example, this document +'nosearch' + Only check the current directory (and the output directory, if + specified) for an existing file, not the entire search path. + + These options were added in a 2019 release of LaTeX. + + This environment can be used anywhere in the preamble, although it +often appears before the '\documentclass' command. It is commonly used +to create a '.bib' or other such data file from the main document +source, to make the source file self-contained. Similarly, it can be +used to create a custom style or class file, again making the source +self-contained. + + For example, this document: \documentclass{article} \begin{filecontents}{JH.sty} @@ -3415,7 +4113,7 @@ nothing in that case, it will overwrite the existing file. Article by \myname. \end{document} -produces this file 'JH.sty'. +produces this file 'JH.sty': %% LaTeX2e file `JH.sty' %% generated by the `filecontents' environment @@ -3440,8 +4138,9 @@ Synopsis: An environment that creates a paragraph whose lines are flush to the left-hand margin, and ragged right. If you have lines that are too long then LaTeX will linebreak them in a way that avoids hyphenation and -stretching or shrinking spaces. To force a new line use a double -backslash, '\\'. For the declaration form see *note \raggedright::. +stretching or shrinking interword spaces. To force a new line use a +double backslash, '\\'. For the declaration form see *note +\raggedright::. This creates a box of text that is at most 3 inches wide, with the text flush left and ragged right. @@ -3475,7 +4174,7 @@ or \end{ENVIRONMENT} A declaration which causes lines to be flush to the left margin and -ragged right. It can be used inside an environment such as 'quote' or +ragged right. It can be used inside an ENVIRONMENT such as 'quote' or in a 'parbox'. For the environment form see *note flushleft::. Unlike the 'flushleft' environment, the '\raggedright' command does @@ -3509,11 +4208,13 @@ File: latex2e.info, Node: flushright, Next: itemize, Prev: flushleft, Up: En An environment that creates a paragraph whose lines are flush to the right-hand margin and ragged left. If you have lines that are too long to fit the margins then LaTeX will linebreak them in a way that avoids -hyphenation and stretching or shrinking spaces. To force a new line use -a double backslash, '\\'. For the declaration form see *note -\raggedleft::. +hyphenation and stretching or shrinking inter-word spaces. To force a +new line use a double backslash, '\\'. For the declaration form +see *note \raggedleft::. - For an example related to this environment, see *note flushleft::. + For an example related to this environment, see *note flushleft::, +where one just have mutatis mutandis to replace 'flushleft' by +'flushright'. * Menu: @@ -3536,7 +4237,7 @@ or \end{ENVIRONMENT} A declaration which causes lines to be flush to the right margin and -ragged left. It can be used inside an environment such as 'quote' or in +ragged left. It can be used inside an ENVIRONMENT such as 'quote' or in a 'parbox'. For the environment form see *note flushright::. Unlike the 'flushright' environment, the '\raggedleft' command does @@ -3545,7 +4246,9 @@ units. To affect a paragraph unit's format, the scope of the declaration must contain the blank line or '\end' command that ends the paragraph unit. - For an example related to this environment, see *note \raggedright::. + For an example related to this environment, see *note \raggedright::, +where one just have mutatis mutandis to replace '\raggedright' by +'\raggedleft'. File: latex2e.info, Node: itemize, Next: letter, Prev: flushright, Up: Environments @@ -3561,9 +4264,9 @@ Synopsis: ... \end{itemize} - Produce a list that is unordered, sometimes called a bullet list. -The environment must have at least one '\item'; having none causes the -LaTeX error 'Something's wrong--perhaps a missing \item'. + Produce an "unordered list", sometimes called a bullet list. There +must be at least one '\item' within the environment; having none causes +the LaTeX error 'Something's wrong--perhaps a missing \item'. This gives a two-item list. @@ -3572,28 +4275,32 @@ LaTeX error 'Something's wrong--perhaps a missing \item'. \item Rice portrait \end{itemize} -As a top-level list each label would come out as a bullet, *. The -format of the labeling depends on the nesting level; see below. +With the default locale--without loading e.g. 'babel' package with +another language than USenglish--as a top-level list each label would +come out as a bullet, *. The format of the labeling depends on the +nesting level; see below. Start list items with the '\item' command (*note \item::). If you give '\item' an optional argument by following it with square brackets, -as in '\item[Optional label]', then by default it will appear in bold -and be flush right, so it could extend into the left margin. For labels -that are flush left see the *note description:: environment. Following -the '\item' is optional text, which may contain multiple paragraphs. +as in '\item[OPTIONAL LABEL]', then by default OPTIONAL LABEL will +appear in bold and be flush right, so it could extend into the left +margin. For labels that are flush left see the *note description:: +environment. Following the '\item' is the text of the item, which may +be empty or contain multiple paragraphs. - Itemized lists can be nested within one another, up to four levels + Unordered lists can be nested within one another, up to four levels deep. They can also be nested within other paragraph-making -environments, such as 'enumerate' (*note enumerate::). The 'itemize' -environment uses the commands '\labelitemi' through '\labelitemiv' to -produce the default label (this also uses the convention of lowercase -roman numerals at the end of the command names that signify the nesting -level). These are the default marks at each level. +environments, such as 'enumerate' (*note enumerate::). + + The 'itemize' environment uses the commands '\labelitemi' through +'\labelitemiv' to produce the default label (note the convention of +lowercase roman numerals at the end of the command names that signify +the nesting level). These are the default marks at each level. 1. * (bullet, from '\textbullet') 2. -- (bold en-dash, from '\normalfont\bfseries\textendash') 3. * (asterisk, from '\textasteriskcentered') - 4. . (centered dot, rendered here as a period, from + 4. . (vertically centered dot, rendered here as a period, from '\textperiodcentered') Change the labels with '\renewcommand'. For instance, this makes the @@ -3603,15 +4310,16 @@ first level use diamonds. The distance between the left margin of the enclosing environment and the left margin of the 'itemize' list is determined by the parameters -'\leftmargini' through '\leftmarginvi'. (Note the convention of using -lowercase roman numerals a the end of the command name to denote the -nesting level.) The defaults are: '2.5em' in level 1 ('2em' in -two-column mode), '2.2em' in level 2, '1.87em' in level 3, and '1.7em' -in level 4, with smaller values for more deeply nested levels. +'\leftmargini' through '\leftmarginvi'. (This also uses the convention +of using lowercase roman numerals a the end of the command name to +denote the nesting level.) The defaults are: '2.5em' in level 1 ('2em' +in two-column mode), '2.2em' in level 2, '1.87em' in level 3, and +'1.7em' in level 4, with smaller values for more deeply nested levels. For other major LaTeX labeled list environments, see *note -description:: and *note enumerate::. For information about list layout -parameters, including the default values, and for information about +description:: and *note enumerate::. The 'itemize', 'enumerate' and +'description' environment use the same list layout parameters. For a +description, including the default values, and for information about customizing list layout, see *note list::. The package 'enumitem' is useful for customizing lists. @@ -3689,9 +4397,10 @@ of list items. It can contain text and LaTeX commands, as above where it contains both 'Item' and '\Roman{...}'. LaTeX forms the label by putting the LABELING argument in a box of width '\labelwidth'. If the label is wider than that, the additional material extends to the right. -When making an instance of a list you can override the default labeling -by giving '\item' an optional argument by including square braces and -the text, as in the above '\item[Special label.]'; *note \item::. +When making an instance of a 'list' you can override the default +labeling by giving '\item' an optional argument by including square +braces and the text, as in the above '\item[Special label.]'; *note +\item::. The mandatory second argument SPACING has a list of commands. This list can be empty. A command that can go in here is @@ -3708,7 +4417,7 @@ Modes::). One example of changing its definition is that to the above 'named' example, before the definition of the environment add '\newcommand{\namedmakelabel}[1]{\textsc{#1}}', and between the '\setlength' command and the parenthesis that closes the SPACING -argument also add '\let\makelabel\namedmakelabel'. Then the items will +argument also add '\let\makelabel\namedmakelabel'. Then the labels will be typeset in small caps. Similarly, changing the second code line to '\let\makelabel\fbox' puts the labels inside a framed box. Another example of the '\makelabel' command is below, in the definition of the @@ -3735,7 +4444,7 @@ lengths should be zero or negative. '\parsep' (that is, '2pt plus1pt minus1pt'), and '\topsep' (that is, '2pt plus1pt minus1pt'). The defaults at 11 point are: '4.5pt plus2pt minus1pt', '\parsep' (that is, '2pt plus1pt minus1pt'), and - 'topsep' (that is, '2pt plus1pt minus1pt'). The defaults at 12 + '\topsep' (that is, '2pt plus1pt minus1pt'). The defaults at 12 point are: '5pt plus2.5pt minus1pt', '\parsep' (that is, '2.5pt plus1pt minus1pt'), and '\topsep' (that is, '2.5pt plus1pt minus1pt'). @@ -3789,13 +4498,13 @@ lengths should be zero or negative. is '0pt'. '\parsep' - Vertical space between paragraphs within an item. In the 'book' - and 'article' classes The defaults for the first three levels in - LaTeX's 'article', 'book', and 'report' classes at 10 point size - are: '4pt plus2pt minus1pt', '2pt plus1pt minus1pt', and '0pt'. - The defaults at 11 point size are: '4.5pt plus2pt minus1pt', '2pt - plus1pt minus1pt', and '0pt'. The defaults at 12 point size are: - '5pt plus2.5pt minus1pt', '2.5pt plus1pt minus1pt', and '0pt'. + Vertical space between paragraphs within an item. The defaults for + the first three levels in LaTeX's 'article', 'book', and 'report' + classes at 10 point size are: '4pt plus2pt minus1pt', '2pt plus1pt + minus1pt', and '0pt'. The defaults at 11 point size are: '4.5pt + plus2pt minus1pt', '2pt plus1pt minus1pt', and '0pt'. The defaults + at 12 point size are: '5pt plus2.5pt minus1pt', '2.5pt plus1pt + minus1pt', and '0pt'. '\partopsep' Vertical space added, beyond '\topsep'+'\parskip', to the top and @@ -3932,7 +4641,7 @@ edge of the label lines up with the left edge of the item text. *Note \let\makelabel=\makeredlabel } } - {\end{list} } + {\end{list}} * Menu: @@ -3957,7 +4666,7 @@ or default depends on the list type. Because the optional label is surrounded by square brackets '[...]', -if you have an item whose text starts with '[', you have to hide the +if you have an item whose text starts with [, you have to hide the bracket inside curly braces, as in: '\item {[} is an open square bracket'; otherwise, LaTeX will think it marks the start of an optional label. @@ -3994,7 +4703,7 @@ Synopsis: A restricted version of the list environment, in which margins are not indented and an '\item' without an optional argument produces no text. It is most often used in macros, to define an environment where -the '\item' command as part of the environment's definition. For +the '\item' command is part of the environment's definition. For instance, the 'center' environment is defined essentially like this: \newenvironment{center} @@ -4076,24 +4785,24 @@ gives the width of the box into which CONTENTS are typeset. There are three optional arguments, POSITION, HEIGHT, and INNER-POS. You need not include all three. For example, get the default POSITION -and set the HEIGHT with '\begin{minipage}[c][2.54cm] CONTENTS -\end{minipage}'. (Get the natural height with an empty argument, '[]'.) +and set the HEIGHT with '\begin{minipage}[c][2.54cm]{\columnwidth} +CONTENTS \end{minipage}'. (Get the natural height with an empty +argument, '[]'.) The optional argument POSITION governs how the 'minipage' vertically aligns with the surrounding material. 'c' (synonym 'm') Default. Positions the 'minipage' so its vertical - center lines up with the center of the adjacent text line (what - Plain TeX calls '\vcenter'). + center lines up with the center of the adjacent text line. 't' Match the top line in the 'minipage' with the baseline of the - surrounding text (Plain TeX's '\vtop'. + surrounding text (plain TeX's '\vtop'). 'b' Match the bottom line in the 'minipage' with the baseline of the - surrounding text (Plain TeX's '\vbox'. + surrounding text (plain TeX's '\vbox'). To see the effects of these, contrast running this @@ -4110,11 +4819,11 @@ will not give an error or warning. You can also set it to a height of zero or a negative value. The final optional argument INNER-POS controls the placement of -CONTENT inside the box. These are the possible values are (the default +CONTENTS inside the box. These are the possible values are (the default is the value of POSITION). 't' - Place CONTENT at the top of the box. + Place CONTENTS at the top of the box. 'c' Place it in the vertical center. @@ -4172,19 +4881,26 @@ Footnotes appear at the bottom of the text ended by the next This puts a table containing data side by side with a map graphic. They are vertically centered. + % siunitx to have the S column specifier, + % which aligns numbers on their decimal point. + \usepackage{siunitx} \newcommand*{\vcenteredhbox}[1]{\begin{tabular}{@{}c@{}}#1\end{tabular}} ... \begin{center} \vcenteredhbox{\includegraphics[width=0.3\textwidth]{nyc.png}} \hspace{0.1\textwidth} \begin{minipage}{0.5\textwidth} - \begin{tabular}{r|l} - \multicolumn{1}{r}{Borough} &Pop (million) \\ \hline - The Bronx &$1.5$ \\ - Brooklyn &$2.6$ \\ - Manhattan &$1.6$ \\ - Queens &$2.3$ \\ - Staten Island &$0.5$ + \begin{tabular}{r|S} + % \multicolumn to remove vertical bar between column headers + \multicolumn{1}{r}{Borough} & + % braces to prevent siunitx from misinterpreting the + % period as a decimal separator + {Pop. (million)} \\ \hline + The Bronx &1.5 \\ + Brooklyn &2.6 \\ + Manhattan &1.6 \\ + Queens &2.3 \\ + Staten Island &0.5 \end{tabular} \end{minipage} \end{center} @@ -4197,22 +4913,25 @@ File: latex2e.info, Node: picture, Next: quotation & quote, Prev: minipage, Synopses: \begin{picture}(WIDTH,HEIGHT) - PICTURE COMMANDS + PICTURE COMMAND \end{picture} or \begin{picture}(WIDTH,HEIGHT)(XOFFSET,YOFFSET) - PICTURE COMMANDS + PICTURE COMMAND \end{picture} +Where there may be any number of PICTURE COMMAND's. + An environment to create simple pictures containing lines, arrows, -boxes, circles, and text. Note that while this environment is not -obsolete, new documents typically use much more powerful graphics -creation systems, such as 'TikZ', 'PSTricks', 'MetaPost', or -'Asymptote'. These are not covered in this document; see CTAN. +boxes, circles, and text. This environment is not obsolete, but new +documents typically use much more powerful graphics creation systems, +such as TikZ, PSTricks, MetaPost, or Asymptote. None of these are +covered in this document; see CTAN. - This shows the parallelogram law for adding vectors. + To start, here's an example showing the parallelogram law for adding +vectors. \setlength{\unitlength}{1cm} \begin{picture}(6,6) % picture box will be 6cm wide by 6cm tall @@ -4220,39 +4939,23 @@ creation systems, such as 'TikZ', 'PSTricks', 'MetaPost', or \put(2,1){\makebox(0,0)[l]{\ first leg}} \put(4,2){\vector(1,2){2}} \put(5,4){\makebox(0,0)[l]{\ second leg}} - \put(0,0){\line(1,1){6}} + \put(0,0){\vector(1,1){6}} \put(3,3){\makebox(0,0)[r]{sum\ }} \end{picture} - You can also use this environment to place arbitrary material at an -exact location. - - \usepackage{color,graphicx} % in preamble - ... - \begin{center} - \setlength{\unitlength}{\textwidth} - \begin{picture}(1,1) % leave space, \textwidth wide and tall - \put(0,0){\includegraphics[width=\textwidth]{desertedisland.jpg}} - \put(0.25,0.35){\textcolor{red}{X Treasure here}} - \end{picture} - \end{center} - -The red X will be precisely a quarter of the '\linewidth' from the left -margin, and '0.35\linewidth' up from the bottom. Another example of -this usage is to put similar code in the page header to get repeat -material on each of a document's pages. - The 'picture' environment has one required argument, a pair of -numbers (WIDTH,HEIGHT). Multiply these by the value '\unitlength' to -get the nominal size of the output, the space that LaTeX reserves on the -output page. This nominal size need not be how large the picture really -is; LaTeX will draw things from the picture outside the picture's box. +positive real numbers (WIDTH,HEIGHT). Multiply these by the value +'\unitlength' to get the nominal size of the output, i.e. the space that +LaTeX reserves on the output page. This nominal size need not be how +large the picture really is; LaTeX will draw things from the picture +outside the picture's box. This environment also has an optional argument (XOFFSET,YOFFSET). It is used to shift the origin. Unlike most optional arguments, this one is not contained in square brackets. As with the required argument, it -consists of two real numbers. Multiply these by '\unitlength' to get -the point at the lower-left corner of the picture. +consists of a pair of two real numbers, but these may also be negative +or null. Multiply these by '\unitlength' to get the coordinates of the +point at the lower-left corner of the picture. For example, if '\unitlength' has been set to '1mm', the command @@ -4266,25 +4969,28 @@ the origin at the lower-left corner. If you then want to modify your picture by shifting everything, you can just add the appropriate optional argument. - Each PICTURE COMMAND tells LaTeX where to put something by naming its -position. A "position" is a pair such as '(2.4,-5)' giving the x- and -y-coordinates. A "coordinate" is a not a length, it is a real number -(it may have a decimal point or a minus sign). It specifies a length in -multiples of the unit length '\unitlength', so if '\unitlength' has been -set to '1cm', then the coordinate 2.54 specifies a length of 2.54 -centimeters. + Each PICTURE COMMAND tells LaTeX where to put something by providing +its position. A "position" is a pair such as '(2.4,-5)' giving the x- +and y-coordinates. A "coordinate" is a not a length, it is a real +number (it may have a decimal point or a minus sign). It specifies a +length in multiples of the unit length '\unitlength', so if +'\unitlength' has been set to '1cm', then the coordinate '2.54' +specifies a length of 2.54 centimeters. - LaTeX's default for '\unitlength' is '1pt'. it is a rigid length + LaTeX's default for '\unitlength' is '1pt'. It is a rigid length (*note Lengths::). Change it with the '\setlength' command (*note \setlength::). Make this change only outside of a 'picture' environment. - Coordinates are given with respect to an origin, which is normally at -the lower-left corner of the picture. Note that when a position appears -as an argument, as with '\put(1,2){...}', it is not enclosed in braces -since the parentheses serve to delimit the argument. Also, unlike in -some computer graphics systems, larger y-coordinates are further up the -page. + The 'picture' environment supports using standard arithmetic +expressions as well as numbers. + + Coordinates are given with respect to an origin, which is by default +at the lower-left corner of the picture. Note that when a position +appears as an argument, as with '\put(1,2){...}', it is not enclosed in +braces since the parentheses serve to delimit the argument. Also, +unlike in some computer graphics systems, larger y-coordinates are +further up the page, for example, y = 1 is _above_ y = 0. There are four ways to put things in a picture: '\put', '\multiput', '\qbezier', and '\graphpaper'. The most often used is '\put'. This @@ -4311,26 +5017,29 @@ length one; rather the line has a change in the x coordinate of 1.) The '\multiput', 'qbezier', and 'graphpaper' commands are described below. - This draws a rectangle with a wavy top, using '\qbezier' for that -curve. + You can also use this environment to place arbitrary material at an +exact location. For example: - \begin{picture}(3,1.5) - \put(0,0){\vector(1,0){8}} % x axis - \put(0,0){\vector(0,1){4}} % y axis - \put(2,0){\line(0,1){3}} % left side rectangle - \put(4,0){\line(0,1){3.5}} % right side - \qbezier(2,3)(2.5,2.9)(3,3.25) - \qbezier(3,3.25)(3.5,3.6)(4,3.5) - \thicklines % below here, lines are twice as thick - \put(2,3){\line(4,1){2}} - \put(4.5,2.5){\framebox{Trapezoidal Rule}} + \usepackage{color,graphicx} % in preamble + ... + \begin{center} + \setlength{\unitlength}{\textwidth} + \begin{picture}(1,1) % leave space, \textwidth wide and tall + \put(0,0){\includegraphics[width=\textwidth]{desertedisland.jpg}} + \put(0.25,0.35){\textcolor{red}{X Treasure here}} \end{picture} + \end{center} + +The red X will be precisely a quarter of the '\textwidth' from the left +margin, and '0.35\textwidth' up from the bottom of the picture. Another +example of this usage is to put similar code in the page header to get +repeat material on each of a document's pages. * Menu: * \put:: Place an object at a specified place. * \multiput:: Draw multiple instances of an object. -* \qbezier:: Draw a quadratic Bezier curve. +* \qbezier:: Draw a quadratic Bézier curve. * \graphpaper:: Draw graph paper. * \line:: Draw a straight line. * \linethickness:: Set thickness of horizontal and vertical lines. @@ -4420,6 +5129,21 @@ curve's tangent line at (1,0). points. The default is to draw a smooth curve whose maximum number of points is '\qbeziermax' (change this value with '\renewcommand'). + This draws a rectangle with a wavy top, using '\qbezier' for that +curve. + + \begin{picture}(8,4) + \put(0,0){\vector(1,0){8}} % x axis + \put(0,0){\vector(0,1){4}} % y axis + \put(2,0){\line(0,1){3}} % left side + \put(4,0){\line(0,1){3.5}} % right side + \qbezier(2,3)(2.5,2.9)(3,3.25) + \qbezier(3,3.25)(3.5,3.6)(4,3.5) + \thicklines % below here, lines are twice as thick + \put(2,3){\line(4,1){2}} + \put(4.5,2.5){\framebox{Trapezoidal Rule}} + \end{picture} + File: latex2e.info, Node: \graphpaper, Next: \line, Prev: \qbezier, Up: picture @@ -4458,7 +5182,7 @@ Synopsis: \line(X_RUN,Y_RISE){TRAVEL} Draw a line. It slopes such that it vertically rises Y_RISE for -every horizontal X_RUN. The TRAVEL is the total horizontal change -- it +every horizontal X_RUN. The TRAVEL is the total horizontal change--it is not the length of the vector, it is the change in x. In the special case of vertical lines, where (X_RUN,Y_RISE)=(0,1), the TRAVEL gives the change in y. @@ -4489,9 +5213,10 @@ values from -6 through 6. Also, they must be relatively prime, so that (X_RUN,Y_RISE) can be (2,1) but not (4,2) (if you choose the latter then instead of lines you get sequences of arrowheads; the solution is to switch to the former). To get lines of arbitrary slope and plenty of -other shapes in a system like 'picture', see the package 'pict2e' on -CTAN. Another solution is to use a full-featured graphics system such as -'TikZ', or 'PSTricks', or 'MetaPost', or 'Asymptote' +other shapes in a system like 'picture', see the package 'pict2e' +(<https://ctan.org/pkg/pict2e>). Another solution is to use a +full-featured graphics system such as TikZ, PSTricks, MetaPost, or +Asymptote. File: latex2e.info, Node: \linethickness, Next: \thinlines, Prev: \line, Up: picture @@ -4548,9 +5273,9 @@ specified one. The '*' form produces a filled-in circle. \put(5,7){\circle{6}} - The available radii for 'circle' are, in points, the even numbers -from 2 to 20, inclusive. For 'circle*' they are all the integers from 1 -to 15. + The available radii for '\circle' are, in points, the even numbers +from 2 to 20, inclusive. For '\circle*' they are all the integers from +1 to 15. File: latex2e.info, Node: \oval, Next: \shortstack, Prev: \circle, Up: picture @@ -4648,7 +5373,7 @@ Synopsis: Draw a line ending in an arrow. The slope of that line is: it vertically rises Y_RISE for every horizontal X_RUN. The TRAVEL is the -total horizontal change -- it is not the length of the vector, it is the +total horizontal change--it is not the length of the vector, it is the change in x. In the special case of vertical vectors, if (X_RUN,Y_RISE)=(0,1), then TRAVEL gives the change in y. @@ -4846,12 +5571,12 @@ not be known in advance. widths, ended by a '\kill' command (which is described below): \begin{tabbing} - \hspace{0.75in} \= \hspace{0.40in} \= \hspace{0.40in} \kill - Ship \> Guns \> Year \\ - \textit{Sophie} \> 14 \> 1800 \\ - \textit{Polychrest} \> 24 \> 1803 \\ - \textit{Lively} \> 38 \> 1804 \\ - \textit{Surprise} \> 28 \> 1805 \\ + \hspace{1.2in}\=\hspace{1in}\=\kill + Ship \>Guns \>Year \\ + \textit{Sophie} \>14 \>1800 \\ + \textit{Polychrest} \>24 \>1803 \\ + \textit{Lively} \>38 \>1804 \\ + \textit{Surprise} \>28 \>1805 \\ \end{tabbing} Both the 'tabbing' environment and the more widely-used 'tabular' @@ -4860,21 +5585,21 @@ in 'tabular' the width of columns is determined automatically by LaTeX, while in 'tabbing' the user sets the tab stops. Another distinction is that 'tabular' generates a box, but 'tabbing' can be broken across pages. Finally, while 'tabular' can be used in any mode, 'tabbing' can -be used only in paragraph mode and it starts a new paragraph. +be used only in paragraph mode and it always starts a new paragraph, +without indentation. - A 'tabbing' environment always starts a new paragraph, without -indentation. Moreover, as shown in the example above, there is no need -to use the starred form of the '\hspace' command at the beginning of a -tabbed row. The right margin of the 'tabbing' environment is the end of -line, so that the width of the environment is '\linewidth'. + Moreover, as shown in the example above, there is no need to use the +starred form of the '\hspace' command at the beginning of a tabbed row. +The right margin of the 'tabbing' environment is the end of line, so +that the width of the environment is '\linewidth'. The 'tabbing' environment contains a sequence of "tabbed rows". The first tabbed row begins immediately after '\begin{tabbing}' and each row ends with '\\' or '\kill'. The last row may omit the '\\' and end with just '\end{tabbing}'. - At any point the 'tabbing' environment has a current tab stop -pattern, a sequence of N > 0 tab stops, numbered 0, 1, etc. These + At any point the 'tabbing' environment has a "current tab stop +pattern", a sequence of N > 0 tab stops, numbered 0, 1, etc. These create N corresponding columns. Tab stop 0 is always the left margin, defined by the enclosing environment. Tab stop number I is set if it is assigned a horizontal position on the page. Tab stop number I can only @@ -5008,20 +5733,18 @@ following page. \label{tab:cello} \end{table} -but you can put many different kinds of content in a 'table', including -text, LaTeX commands, etc. +but you can put many different kinds of content in a 'table': the TABLE +BODY may contain text, LaTeX commands, graphics, etc. It is typeset in +a 'parbox' of width '\textwidth'. For the possible values of PLACEMENT and their effect on the float placement algorithm, see *note Floats::. - The table body is typeset in a 'parbox' of width '\textwidth'. It -can contain text, commands, graphics, etc. - The label is optional; it is used for cross references (*note Cross references::). The '\caption' command is also optional. It specifies -caption text for the table. By default it is numbered. If its optional -LOTTITLE is present then that text is used in the list of tables instead -of TITLE (*note Table of contents etc.::). +caption text TITLE for the table. By default it is numbered. If its +optional LOTTITLE is present then that text is used in the list of +tables instead of TITLE (*note Table of contents etc.::). In this example the table and caption will float to the bottom of a page, unless it is pushed to a float page at the end. @@ -5174,8 +5897,8 @@ COLS (when used in a 'p'-column element these declarations must appear inside braces, as with '{\centering .. \\ ..}'). Otherwise LaTeX will misinterpret the double backslash as - ending the row. Instead, to get a line break in there use - '\newline' (*note \newline::). + ending the tabular row. Instead, to get a line break in there + use '\newline' (*note \newline::). '*{NUM}{COLS}' Equivalent to NUM copies of COLS, where NUM is a positive @@ -5399,7 +6122,7 @@ Synopsis: Produce a bibliography or reference list. There are two ways to produce bibliographic lists. This environment is suitable when you have only a few references and can maintain the list by hand. *Note Using -BibTeX:: for a more sophisticated approach. +BibTeX::, for a more sophisticated approach. This shows the environment with two entries. @@ -5417,10 +6140,10 @@ BibTeX:: for a more sophisticated approach. Addison-Wesley, Reading, Massachusetts, 1983. \end{thebibliography} -This styles the first reference as '[1] Leslie ...', and so that -'\cite{latexdps}' produces the matching '... based on [1]'. The second -'\cite' produces '[1, 2]'. You must compile the document twice to -resolve these references. +This styles the first reference as '[1] Leslie ...', and so that '... +based on \cite{latexdps}' produces the matching '... based on [1]'. The +second '\cite' produces '[1, 2]'. You must compile the document twice +to resolve these references. The mandatory argument WIDEST-LABEL is text that, when typeset, is as wide as the widest item label produced by the '\bibitem' commands. The @@ -5433,12 +6156,14 @@ where the top level sectioning is '\chapter' and the default title is 'Bibliography', that title is in the macro '\bibname'. For 'article', where the class's top level sectioning is '\section' and the default is 'References', the title is in macro '\refname'. Change it by redefining -the command, as with '\renewcommand{\refname}{Cited references}' after +the command, as with '\renewcommand{\refname}{Cited references}', after '\begin{document}'. Language support packages such as 'babel' will automatically redefine '\refname' or '\bibname' to fit the selected language. + *Note list::, for the list layout control parameters. + * Menu: * \bibitem:: Specify a bibliography item. @@ -5460,15 +6185,14 @@ or \bibitem[LABEL]{CITE_KEY} - Generate an entry labeled by LABEL. The default is for LaTeX to -generates a number using the 'enumi' counter. The "citation key" -CITE_KEY is a string of letters, numbers, and punctuation symbols (but -not comma). + Generate an entry labeled by default by a number generated using the +'enumi' counter. The "citation key" CITE_KEY can be any string of +letters, numbers, and punctuation symbols (but not comma). - *Note thebibliography:: for an example. + *Note thebibliography::, for an example. - The optional LABEL changes the default label from an integer to the -given string. With this + When provided, the optional LABEL becomes the entry label and the +'enumi' counter is not incremented. With this \begin{thebibliography} \bibitem[Lamport 1993]{latexdps} @@ -5496,13 +6220,13 @@ it is the second entry. were multiply-defined labels'. Under the hood, LaTeX remembers the CITE_KEY and LABEL information -because '\bibitem' writes it to the auxiliary file 'FILENAME.aux'. For -instance, the above example causes '\bibcite{latexdps}{Lamport, 1993}' -and '\bibcite{texbook}{1}' to appear in that file. The '.aux' file is -read by the '\begin{document}' command and then the information is -available for '\cite' commands. This explains why you need to run LaTeX -twice to resolve references: once to write it out and once to read it -in. +because '\bibitem' writes it to the auxiliary file 'JOBNAME.aux' (*note +Jobname::). For instance, the above example causes the two +'\bibcite{latexdps}{Lamport, 1993}' and '\bibcite{texbook}{1}' to appear +in that file. The '.aux' file is read by the '\begin{document}' command +and then the information is available for '\cite' commands. This +explains why you need to run LaTeX twice to resolve references: once to +write it out and once to read it in. Because of this two-pass algorithm, when you add a '\bibitem' or change its CITE_KEY you may get 'LaTeX Warning: Label(s) may have @@ -5537,19 +6261,20 @@ citation keys (*note \bibitem::). Addison-Wesley, Reading, Massachusetts, 1983. \end{thebibliography} -produces output like '... source is [1]'. (You can change the -appearance of the citation with bibliography styles. More is in *note -Using BibTeX::.) +produces output like '... source is [1]'. You can change the appearance +of the citation and of the reference by using bibliography styles if you +generate automatically the 'thebibliography' environment. More +information in *note Using BibTeX::. The optional argument SUBCITE is appended to the citation. For example, 'See 14.3 in \cite[p.~314]{texbook}' might produce 'See 14.3 in [1, p. 314]'. In addition to what appears in the output, '\cite' writes information -to the auxiliary file 'FILENAME.aux'. For instance, '\cite{latexdps}' -writes '\citation{latexdps}' to that file. This information is used by -BibTeX to include in your reference list only those works that you have -actually cited; see *note \nocite:: also. +to the auxiliary file 'JOBNAME.aux' (*note Jobname::). For instance, +'\cite{latexdps}' writes '\citation{latexdps}' to that file. This +information is used by BibTeX to include in your reference list only +those works that you have actually cited; see *note \nocite:: also. If KEYS is not in your bibliography information then you get 'LaTeX Warning: There were undefined references', and in the output the @@ -5571,12 +6296,12 @@ Synopsis: \nocite{KEYS} Produces no output but writes KEYS to the auxiliary file -'DOC-FILENAME.aux'. +'JOBNAME.aux' (*note Jobname::). The mandatory argument KEYS is a comma-separated list of one or more citation keys (*note \bibitem::). This information is used by BibTeX to include these works in your reference list even though you have not -cited them (*note \cite::). +explicitly cited them (*note \cite::). File: latex2e.info, Node: Using BibTeX, Prev: \nocite, Up: thebibliography @@ -5587,7 +6312,7 @@ File: latex2e.info, Node: Using BibTeX, Prev: \nocite, Up: thebibliography As described in 'thebibliography' (*note thebibliography::), a sophisticated approach to managing bibliographies is provided by the BibTeX program. This is only an introduction; see the full -documentation on CTAN. +documentation on CTAN (*note CTAN::). With BibTeX, you don't use 'thebibliography' (*note thebibliography::). Instead, include these lines. @@ -5611,7 +6336,7 @@ are: Many, many other BibTeX style files exist, tailored to the demands of various publications. See CTAN's listing -<http://mirror.ctan.org/biblio/bibtex/contrib>. +<https://mirror.ctan.org/biblio/bibtex/contrib>. The '\bibliography' command is what actually produces the bibliography. Its argument is a comma-separated list, referring to @@ -5741,8 +6466,13 @@ string '\end{verbatim}'. You cannot use the verbatim environment in the argument to macros, for instance in the argument to a '\section'. This is not the same as -commands being fragile (*note \protect::), instead it just cannot appear -there. (But the 'cprotect' package can help with this.) +commands being fragile (*note \protect::), instead it just cannot work, +as the 'verbatim' environment changes the catcode regime before +processing its contents, and restore it immediately afterward, +nevertheless with a macro argument the content of the argument has +already be converted to a token list along the catcode regime in effect +when the macro was called. However, the 'cprotect' package can help +with this. One common use of verbatim input is to typeset computer code. There are packages that are an improvement the 'verbatim' environment. For @@ -5753,7 +6483,7 @@ files, or parts of those files. Such packages include 'listings', and A package that provides many more options for verbatim environments is 'fancyvrb'. Another is 'verbatimbox'. - For a list of all the relevant packages, see CTAN. + For a list of all the relevant packages, see CTAN (*note CTAN::). * Menu: @@ -5782,7 +6512,7 @@ The first '\verb' has its LITERAL-TEXT surrounded with exclamation point, '!'. The second instead uses plus, '+', because the exclamation point is part of 'literal-text'. - The single-character delimiter CHAR surrounds LITERAL-TEXT -- it must + The single-character delimiter CHAR surrounds LITERAL-TEXT--it must be the same character before and after. No spaces come between '\verb' or '\verb*' and CHAR, or between CHAR and LITERAL-TEXT, or between LITERAL-TEXT and the second occurrence of CHAR (the synopsis shows a @@ -5793,21 +6523,25 @@ break. The '*'-form differs only in that spaces are printed with a visible space character. - The output from this will include a character showing the spaces. + The output from this will include a visible space on both side of +word 'with': - The commands's first argument is \verb*!filename with extension! and ... + The command's first argument is \verb*!filename with extension! and ... - For typesetting Internet addresses, urls, the package 'url' provides -an option that is better than the '\verb' command, since it allows line -breaks. + For typesetting Internet addresses, urls, the package 'url' is a +better option than the '\verb' command, since it allows line breaks. For computer code there are many packages with advantages over '\verb'. One is 'listings', another is 'minted'. You cannot use '\verb' in the argument to a macro, for instance in the argument to a '\section'. It is not a question of '\verb' being -fragile (*note \protect::), instead it just cannot appear there. (But -the 'cprotect' package can help with this.) +fragile (*note \protect::), instead it just cannot work, as the '\verb' +command changes the catcode regime before reading its argument, and +restore it immediately afterward, nevertheless with a macro argument the +content of the argument has already be converted to a token list along +the catcode regime in effect when the macro was called. However, the +'cprotect' package can help with this. File: latex2e.info, Node: verse, Prev: verbatim, Up: Environments @@ -5955,8 +6689,8 @@ internally) the same as '\\', followed by '\relax'. So each new line in the input will also be a new line in the output. The '\restorecr' command restores normal line-breaking behavior. - This is not the way to show verbatim text or computer code. *Note -verbatim:: instead. + This is not the way to show verbatim text or computer code. Use +'verbatim' (*note verbatim::) instead. With LaTeX's usual defaults, this @@ -6181,8 +6915,8 @@ standard legal text. underrepresented groups. When you issue '\linebreak', the spaces in the line are stretched out -so that it extends to the right margin. *Note \\:: and *note \newline:: -to have the spaces not stretched out. +so that it extends to the right margin. *Note \\:: and *note +\newline::, to have the spaces not stretched out. File: latex2e.info, Node: Page breaking, Next: Footnotes, Prev: Line breaking, Up: Top @@ -6216,7 +6950,7 @@ second one is lousy; to break the current page LaTeX doesn't look as far ahead as the next page break. So occasionally you may want to influence page breaks while preparing a final version of a document. - *Note Layout:: for more material that is relevant to page breaking. + *Note Layout::, for more material that is relevant to page breaking. * Menu: @@ -6301,7 +7035,7 @@ requested. This \noindent a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal. -makes a new page start after 'continent,' and the cut-off line is not +makes a new page start after 'continent', and the cut-off line is not right justified. In addition, '\newpage' does not vertically stretch out the page, as '\pagebreak' does. @@ -6369,13 +7103,13 @@ following the line in which they appear. So this a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal. -does not give a page break at 'continent,' but instead at 'nation,' +does not give a page break at 'continent', but instead at 'nation', since that is where LaTeX breaks that line. In addition, with '\pagebreak' the vertical space on the page is stretched out where possible so that it extends to the normal bottom margin. This can look strange, and if '\flushbottom' is in effect this can cause you to get 'Underfull \vbox (badness 10000) has occurred while \output is active'. -*Note \newpage:: for a command that does not have these effects. +*Note \newpage::, for a command that does not have these effects. File: latex2e.info, Node: Footnotes, Next: Definitions, Prev: Page breaking, Up: Top @@ -6385,7 +7119,7 @@ File: latex2e.info, Node: Footnotes, Next: Definitions, Prev: Page breaking, Place a footnote at the bottom of the current page, as here. - Noe"l Coward quipped that having to read a footnote is like having + Noël Coward quipped that having to read a footnote is like having to go downstairs to answer the door, while in the midst of making love.\footnote{% I wouldn't know, I don't read footnotes.} @@ -6552,7 +7286,7 @@ Synopsis, one of: command, but must appear in outer paragraph mode (*note Modes::). The optional argument NUMBER changes the number of the footnote mark. - *Note \footnotemark:: and *note Footnotes in a table:: for usage + *Note \footnotemark:: and *note Footnotes in a table::, for usage examples. @@ -6691,6 +7425,7 @@ LaTeX has support for making new commands of many different kinds. * \newfont:: Define a new font name. * \protect:: Using tricky commands. * \ignorespaces & \ignorespacesafterend:: Discard extra spaces. +* xspace package:: Space after a macro, conditionally. File: latex2e.info, Node: \newcommand & \renewcommand, Next: \providecommand, Up: Definitions @@ -6716,10 +7451,12 @@ or one of these. \renewcommand*{\CMD}[NARGS]{DEFN} \renewcommand*{\CMD}[NARGS][OPTARGDEFAULT]{DEFN} - Define or redefine a command. See also the discussion of -'\DeclareRobustCommand' in *note Class and package commands::. The -starred form of these two requires that the arguments not contain -multiple paragraphs of text (in plain TeX terms that it not be '\long'). + Define or redefine a command (see also the discussion of +'\DeclareRobustCommand' in *note Class and package commands::). + + The starred form of these two forbids the arguments from containing +multiple paragraphs of text (in plain TeX terms, the commands are not +'\long'). With the default form, arguments can be multiple paragraphs. These are the parameters: @@ -6741,7 +7478,7 @@ NARGS OPTARGDEFAULT Optional; if this argument is present then the first argument of '\CMD' is optional, with default value OPTARGDEFAULT (which may be - the empty string). If this argument is not present then '\CMD' + the empty string). If OPTARGSDEFAULT is not present then '\CMD' does not take an optional argument. That is, if '\CMD' is used with square brackets, as in @@ -6840,13 +7577,13 @@ If no command of this name already exists then this has the same effect as '\newcommand'. If a command of this name already exists then this definition does nothing. This is particularly useful in a file that may be loaded more than once, such as a style file. *Note \newcommand & -\renewcommand:: for the description of the arguments. +\renewcommand::, for the description of the arguments. This example \providecommand{\myaffiliation}{Saint Michael's College} \providecommand{\myaffiliation}{Saint Michael's College} - From \myaffiliation. + >From \myaffiliation. outputs 'From Saint Michael's College'. Unlike '\newcommand', the repeated use of '\providecommand' does not give an error. @@ -6882,16 +7619,15 @@ writers. The convention prevents authors who are just using a package or class from accidentally replacing such a command with one of their own, because by default the at-sign has catcode 12. - The pair '\makeatletter' and '\makeatother' changes the default code -and then changes it back. Use them inside a '.tex' file, in the -preamble, when you are defining or redefining commands named with '@', -by having them surround your definition. Don't use these inside '.sty' -or '.cls' files since the '\usepackage' and '\documentclass' commands -already arrange that the at-sign has the character code of a letter, -catcode 11. + Use the pair '\makeatletter' and '\makeatother' inside a '.tex' file, +typically in the preamble, when you are defining or redefining commands +named with '@', by having them surround your definition. Don't use +these inside '.sty' or '.cls' files since the '\usepackage' and +'\documentclass' commands already arrange that the at-sign has the +character code of a letter, catcode 11. For a comprehensive list of macros with an at-sign in their names see -<http://ctan.org/pkg/macros2e>. +<https://ctan.org/pkg/macros2e>. In this example the class file has a command '\thesis@universityname' that the user wants to change. These three lines should go in the @@ -6920,26 +7656,31 @@ are the 'table' and 'table*' environments and the '\section' and When defining environments, following this pattern is straightforward because '\newenvironment' and '\renewenvironment' allow the environment -name to contain a star. For commands the situation is more complex. As -in the synopsis above, there will be a user-called command, given above -as '\mycmd', which peeks ahead to see if it is followed by a star. For +name to contain a star. So you just have to write +'\newenvironment{MYENV}' or '\newenvironment{MYENV*}' and continue the +definition as usual. For commands the situation is more complex as the +star not being a letter cannot be part of the command name. As in the +synopsis above, there will be a user-called command, given above as +'\mycmd', which peeks ahead to see if it is followed by a star. For instance, LaTeX does not really have a '\section*' command; instead, the '\section' command peeks ahead. This command does not accept arguments but instead expands to one of two commands that do accept arguments. In the synopsis these two are '\mycmd@nostar' and '\mycmd@star'. They could take the same number of arguments or a different number, or no -arguments at all. As always, in a LaTeX document a command using -at-sign '@' must be enclosed inside a '\makeatletter ... \makeatother' -block (*note \makeatletter & \makeatother::). +arguments at all. As always, in a LaTeX document a command using an +at-sign '@' in its name must be enclosed inside a '\makeatletter ... +\makeatother' block (*note \makeatletter & \makeatother::). This example of '\@ifstar' defines the command '\ciel' and a variant -'\ciel*'. Both have one required argument. A call to '\ciel{night}' -will return "starry night sky" while '\ciel*{blue}' will return "starry -not blue sky". +'\ciel*'. Both have one required argument. A call to '\ciel{blue}' +will return "not starry blue sky" while '\ciel*{night}' will return +"starry night sky". - \newcommand*{\ciel@unstarred}[1]{starry #1 sky} - \newcommand*{\ciel@starred}[1]{starry not #1 sky} + \makeatletter + \newcommand*{\ciel@unstarred}[1]{not starry #1 sky} + \newcommand*{\ciel@starred}[1]{starry #1 sky} \newcommand*{\ciel}{\@ifstar{\ciel@starred}{\ciel@unstarred}} + \makeatother In the next example, the starred variant takes a different number of arguments than the unstarred one. With this definition, Agent 007's @@ -6952,15 +7693,23 @@ equivalent to entering the commands '``My name is \textsc{Bond}, \newcommand*{\agentsecret}{% \@ifstar{\agentsecret@starred}{\agentsecret@unstarred}} - There are two sometimes more convenient ways to accomplish the work -of '\@ifstar'. The 'suffix' package allows the construct -'\newcommand\mycommand{UNSTARRED VERSION}' followed by -'\WithSuffix\newcommand\mycommand*{STARRED VERSION}'. And LaTeX3 has -the 'xparse' package that allows this code. + After a command name, a star is handled similarly to an optional +argument. (This differs from environment names in which the star is +part of the name itself and as such could be in any position.) Thus, it +is technically possible to put any number of spaces between the command +and the star. Thus '\agentsecret*{Bond}' and '\agentsecret *{Bond}' are +equivalent. However, the standard practice is not to insert any such +spaces. + + There are two alternative ways to accomplish the work of '\@ifstar'. +(1) The 'suffix' package allows the construct +'\newcommand\mycommand{UNSTARRED-VARIANT}' followed by +'\WithSuffix\newcommand\mycommand*{STARRED-VARIANT}'. (2) LaTeX +provides the 'xparse' package, which allows this code: \NewDocumentCommand\foo{s}{\IfBooleanTF#1 - {STARRED VERSION}% - {UNSTARRED VERSION}% + {STARRED-VARIANT}% + {UNSTARRED-VARIANT}% } @@ -7406,7 +8155,7 @@ because the '\(..\)' in the section title expands to illegal TeX in the ... -File: latex2e.info, Node: \ignorespaces & \ignorespacesafterend, Prev: \protect, Up: Definitions +File: latex2e.info, Node: \ignorespaces & \ignorespacesafterend, Next: xspace package, Prev: \protect, Up: Definitions 12.12 '\ignorespaces & \ignorespacesafterend' ============================================= @@ -7421,7 +8170,7 @@ or Both commands cause LaTeX to ignore spaces after the end of the command up until the first non-space character. The first is a command -from Plain TeX, and the second is LaTeX-specific. +from plain TeX, and the second is LaTeX-specific. The 'ignorespaces' is often used when defining commands via '\newcommand', or '\newenvironment', or '\def'. The example below @@ -7446,21 +8195,20 @@ The commands below allow a user to uniformly attach a title to names. But, as given, if a title accidentally starts with a space then '\fullname' will reproduce that. - \makeatletter - \newcommand{\honorific}[1]{\def\@honorific{#1}} % remember title - \newcommand{\fullname}[1]{\@honorific~#1} % put title before name - \makeatother + \newcommand{\honorific}[1]{\def\honorific{#1}} % remember title + \newcommand{\fullname}[1]{\honorific~#1} % put title before name + \begin{tabular}{|l|} \honorific{Mr/Ms} \fullname{Jones} \\ % no extra space here \honorific{ Mr/Ms} \fullname{Jones} % extra space before title \end{tabular} To fix this, change to -'\newcommand{\fullname}[1]{\ignorespaces\@honorific~#1}'. +'\newcommand{\fullname}[1]{\ignorespaces\honorific~#1}'. The '\ignorespaces' is also often used in a '\newenvironment' at the -end of the BEGIN clause, that is, as part of the second argument, as in -'\begin{newenvironment}{ENV NAME}{... \ignorespaces}{...}'. +end of the BEGIN clause, as in '\begin{newenvironment}{ENV NAME}{... +\ignorespaces}{...}'. To strip spaces off the end of an environment use '\ignorespacesafterend'. An example is that this will show a much @@ -7484,6 +8232,58 @@ solution is to change to '\newenvironment{eq}{\begin{equation}}{\end{equation}\ignorespacesafterend}'. +File: latex2e.info, Node: xspace package, Prev: \ignorespaces & \ignorespacesafterend, Up: Definitions + +12.13 xspace package +==================== + +Synopsis: + + \usepackage{xspace} + ... + \newcommand{...}{...\xspace} + + The '\xspace' macro, when used at the end of a command, adds a space +unless the command is followed by certain punctuation characters. + + After a command name that uses letters (as opposed to single +character command names using non-letters such as '\$'), TeX gobbles +white space. Thus, in the first sentence below, the output has +'Vermont' placed snugly against the period, without any intervening +space. + + \newcommand{\VT}{Vermont} + Our college is in \VT . + The \VT{} summers are nice. + + But because of the gobbling, the second sentence needs the dummy +curly braces or else there would be no space separating 'Vermont' from +'summers'. (Many authors instead instead use a backslash-space '\ ' for +this. *Note \(SPACE)::.) + + The 'xspace' package provides '\xspace'. It is for writing commands +which are designed to be used mainly in text. It inserts a space after +that command unless what immediately follows is in a list of exceptions. +In this example, the dummy braces are not needed. + + \newcommand{\VT}{Vermont\xspace} + Our college is in \VT . + \VT summers are nice. + + The default exception list contains the characters ',.'/?;:!~-)', the +open curly brace and the backslash-space command discussed above, and +the commands '\footnote' or '\footnotemark'. Add to that list as with +'\xspaceaddexceptions{\myfni \myfnii}' and remove from that list as with +'\xspaceremoveexception{!}'. + + A comment: many experts prefer not to use '\xspace'. Putting it in a +definition means that the command will usually get the spacing right. +But it isn't easy to predict when to enter dummy braces because +'\xspace' will get it wrong, such as when it is followed by another +command, and so '\xspace' can make editing material harder and more +error-prone than instead always remembering the dummy braces. + + File: latex2e.info, Node: Counters, Next: Lengths, Prev: Definitions, Up: Top 13 Counters @@ -7574,14 +8374,14 @@ with a backslash. Number Name Command Symbol ----------------------------------------------------------------------------- 1 asterisk '\ast' * - 2 dagger '\dagger' U+2020 - 3 ddagger '\ddagger' U+2021 - 4 section-sign '\S' U+00A7 - 5 paragraph-sign '\P' U+00B6 - 6 double-vert '\parallel' U+2016 + 2 dagger '\dagger' † + 3 ddagger '\ddagger' ‡ + 4 section-sign '\S' § + 5 paragraph-sign '\P' ¶ + 6 double-vert '\parallel' ‖ 7 double-asterisk '\ast\ast' ** - 8 double-dagger '\dagger\dagger' U+2020U+2020 - 9 double-ddagger '\ddagger\ddagger' U+2021U+2021 + 8 double-dagger '\dagger\dagger' †† + 9 double-ddagger '\ddagger\ddagger' ‡‡ File: latex2e.info, Node: \usecounter, Next: \value, Prev: \alph \Alph \arabic \roman \Roman \fnsymbol, Up: Counters @@ -7677,7 +8477,7 @@ File: latex2e.info, Node: \addtocounter, Next: \refstepcounter, Prev: \setcou Synopsis: - \addtocounter{COUNTER}{VALUE + \addtocounter{COUNTER}{VALUE} Globally increment COUNTER by the amount specified by the VALUE argument, which may be negative. @@ -7724,8 +8524,8 @@ it. (For the definition of "counters numbered within", *note \newcounter::.) This command differs from '\refstepcounter' in that this one does not -influence references -- it does not define the current '\ref' value to -be the result of '\thecounter' (*note \refstepcounter::). +influence references; that is, it does not define the current '\ref' +value to be the result of '\thecounter' (*note \refstepcounter::). File: latex2e.info, Node: \day & \month & \year, Prev: \stepcounter, Up: Counters @@ -7760,11 +8560,11 @@ as an argument. Lengths come in two types. A "rigid length" such as '10pt' does not contain a 'plus' or 'minus' component. (Plain TeX calls this a -"dimen".) A "rubber length" (what Plain TeX calls a "skip") such as as -with '1cm plus0.05cm minus0.01cm' can contain either or both of those -components. In that rubber length, the '1cm' is the "natural length" -while the other two, the 'plus' and 'minus' components, allow TeX to -stretch or shrink the length to optimize placement. +"dimen".) A "rubber length" (what plain TeX calls a "skip" or "glue") +such as with '1cm plus0.05cm minus0.01cm' can contain either or both of +those components. In that rubber length, the '1cm' is the "natural +length" while the other two, the 'plus' and 'minus' components, allow +TeX to stretch or shrink the length to optimize placement. The illustrations below use these two commands. @@ -7857,6 +8657,8 @@ so that after '\setlength{\ylength}{1in plus 0.2in}' and * \settodepth:: Set a length to the depth of something. * \settoheight:: Set a length to the height of something. * \settowidth:: Set a length to the width of something. +* \stretch:: Add infinite stretchability. +* Expressions:: Compute with lengths and integers. File: latex2e.info, Node: Units of length, Next: \setlength, Up: Lengths @@ -7868,8 +8670,8 @@ TeX and LaTeX know about these units both inside and outside of math mode. 'pt' - Point, 1/72.27 inch. The conversion to metric units, to two - decimal places, is 1point = 2.85mm = 28.45cm. + Point, 1/72.27 inch. The conversion to metric units is 1point = + 2.845mm = .2845cm. 'pc' Pica, 12 pt @@ -8029,7 +8831,7 @@ get something like 'Undefined control sequence. <argument> number, treated as zero. <to be read again> \setbox'. -File: latex2e.info, Node: \settowidth, Prev: \settoheight, Up: Lengths +File: latex2e.info, Node: \settowidth, Next: \stretch, Prev: \settoheight, Up: Lengths 14.6 '\settowidth' ================== @@ -8056,6 +8858,143 @@ If you leave the backslash out of LEN, as in number, treated as zero. <to be read again> \setbox'. +File: latex2e.info, Node: \stretch, Next: Expressions, Prev: \settowidth, Up: Lengths + +14.7 '\stretch' +=============== + +Synopsis: + + \stretch{NUMBER} + + Produces a rubber length with zero natural length and NUMBER times +'\fill' units of stretchability (*note Lengths::). The NUMBER can be +positive or negative. This command is robust (*note \protect::). + + It works for both vertical and horizontal spacing. In this +horizontal example, LaTeX produces three tick marks, and the distance +between the first and second is half again as long as the distance +between the second and third. + + \rule{0.4pt}{1ex}\hspace{\stretch{1.5}}% + \rule{0.4pt}{1ex}\hspace{\stretch{1}}% + \rule{0.4pt}{1ex} + + In this vertical example, the 'We dedicate ...' will have three times +as much space under it as above it. + + \newenvironment{dedication}{% in document preamble + \clearpage\thispagestyle{empty}% + \vspace*{\stretch{1}} % stretchable space at top + \it + }{% + \vspace{\stretch{3}} % space at bot is 3x as at top + \clearpage + } + ... + \begin{dedication} % in document body + We dedicate this book to our wives. + \end{dedication} + + +File: latex2e.info, Node: Expressions, Prev: \stretch, Up: Lengths + +14.8 Expressions +================ + +Synopsis, one of: + + \numexpr EXPRESSION + \dimexpr EXPRESSION + \glueexpr EXPRESSION + \muglue EXPRESSION + + Any place where you may write an integer, or a TeX dimen, or TeX +glue, or muglue, you can instead write an expression to compute that +type of quantity. + + An example is that '\the\dimexpr\linewidth-4pt\relax' will produce as +output the length that is four points less than width of a line (the +only purpose of '\the' is to show the result in the document). +Analogously, '\romannumeral\numexpr6+3\relax' will produce 'ix', and +'\the\glueexpr 5pt plus 1pt * 2 \relax' will produce '10.0pt plus +2.0pt'. + + A convenience here over doing calculations by allocating registers +and then using '\advance', etc., is that the evaluation of expressions +does not involve assignments and can therefore be performed in places +where assignments are not allowed. The next example computes the width +of the '\parbox'. + + \newlength{\offset}\setlength{\offset}{2em} + \begin{center} + \parbox{\dimexpr\linewidth-\offset*3}{With malice toward none + with charity for all with firmness in the right as God gives us to see + the right let us strive on to finish the work we are in to bind up the + nation's wounds, to care for him who shall have borne the battle and + for his widow and his orphan \textasciitilde\ to do all which may + achieve and cherish a just and lasting peace among ourselves and with + all nations. ---Abraham Lincoln, Second Inaugural Address, from the + memorial} + \end{center} + + The EXPRESSION consists of one or more terms of the same type +(integer, dimension, etc.) that are added or subtracted. A term that +is a type of number, dimension, etc., consists of a factor of that type, +optionally multiplied or divided by factors. A factor of a type is +either a quantity of that type or a parenthesized subexpression. The +expression produces a result of the given type, so that '\numexpr' +produces an integer, '\dimexpr' produces a dimension, etc. + + In the quotation example above, changing to +'\dimexpr\linewidth-3*\offset' gives the error 'Illegal unit of measure +(pt inserted)'. This is because for '\dimexpr' and '\glueexpr', the +input consists of a dimension or glue value followed by an optional +multiplication factor, and not the other way around. Thus '\the\dimexpr +1pt*10\relax' is valid and produces '10.0pt', but '\the\dimexpr +10*1pt\relax' gives the 'Illegal unit' error. + + The expressions absorb tokens and carry out appropriate mathematics +up to a '\relax' (which will be absorbed), or up to the first non-valid +token. Thus, '\the\numexpr2+3px' will print '5px', because LaTeX reads +the '\numexpr2+3', which is made up of numbers, and then finds the +letter 'p', which cannot be part of a number. It therefore terminates +the expression and produces the '5', followed by the regular text 'px'. + + This termination behavior is useful in comparisons. In +'\ifnum\numexpr\parindent*2 < 10pt Yes\else No\fi', the less than sign +terminates the expression and the result is 'No' (in a standard LaTeX +article). + + Expressions may use the operators '+', '-', '*' and '/' along with +parentheses for subexpressions, '(...)'. In glue expressions the 'plus' +and 'minus' parts do not need parentheses to be affected by a factor. +So '\the\glueexpr 5pt plus 1pt * 2 \relax' results in '10pt plus 2pt'. + + TeX will coerce other numerical types in the same way as it does when +doing register assignment. Thus '\the\numexpr\dimexpr 1pt\relax\relax' +will result in '65536', which is '1pt' converted to scaled points (TeX's +internal unit) and then coerced into an integer. With a '\glueexpr' +here, the stretch and shrink would be dropped. Going the other way, a +'\numexpr' inside a '\dimexpr' or '\glueexpr' will need appropriate +units, as in '\the\dimexpr\numexpr 1 + 2\relax pt\relax', which produces +'3.0pt'. + + The details of the arithmetic: each factor is checked to be in the +allowed range, numbers must be less than 2^{31} in absolute value, and +dimensions or glue components must be less than 2^{14} points, or 'mu', +or 'fil', etc. The arithmetic operations are performed individually, +except for a scaling operation (a multiplication immediately followed by +a division) which is done as one combined operation with a 64-bit +product as intermediate value. The result of each operation is again +checked to be in the allowed range. + + Finally, division and scaling take place with rounding (unlike TeX's +'\divide', which truncates). Thus '\the\dimexpr 5pt*(3/2)\relax' puts +'10.0pt' in the document, because it rounds '3/2' to '2', while +'\the\dimexpr 5pt*(4/3)\relax' produces '5.0pt'. + + File: latex2e.info, Node: Making paragraphs, Next: Math formulas, Prev: Lengths, Up: Top 15 Making paragraphs @@ -8183,7 +9122,7 @@ outputs an empty box whose width is '\parindent'. These commands are robust (*note \protect::). Ordinarily you create a new paragraph by putting in a blank line. -*Note \par:: for the difference between this command and '\par'. To +*Note \par::, for the difference between this command and '\par'. To start a paragraph without an indent, or to continue an interrupted paragraph, use '\noindent'. @@ -8224,27 +9163,32 @@ File: latex2e.info, Node: \parindent & \parskip, Next: Marginal notes, Prev: Synopsis: - \setlength{\parskip}{HORIZONTAL LEN} - \setlength{\parinden}{VERTICAL LEN} + \setlength{\parindent}{HORIZONTAL LEN} + \setlength{\parskip}{VERTICAL LEN} - Both are a rubber lengths (*note Lengths::). They give the + Both are rubber lengths (*note Lengths::). They affect the indentation of ordinary paragraphs, not paragraphs inside minipages -(*note minipage::), and the vertical space between paragraphs. +(*note minipage::), and the vertical space between paragraphs, +respectively. - This, put in the preamble, + For example, if this is put in the preamble: \setlength{\parindent}{0em} \setlength{\parskip}{1ex} -arranges that the document will have paragraphs that are not indented, -but instead are vertically separated by about the height of a lowercase -'x'. +The document will have paragraphs that are not indented, but instead are +vertically separated by about the height of a lowercase 'x'. In standard LaTeX documents, the default value for '\parindent' in -one-column documents is '15pt' when the default text size is '10pt' , +one-column documents is '15pt' when the default text size is '10pt', '17pt' for '11pt', and '1.5em' for '12pt'. In two-column documents it -is '1em'. The default value for '\parskip' in LaTeX's standard document -styles is '0pt plus1pt'. +is '1em'. (These values are set before LaTeX calls '\normalfont' so +'em' is derived from the default font, Computer Modern. If you use a +different font then to set '\parindent' in units matching that font, do +'\AtBeginDocument{\setlength{\parindent}{1em}}'.) + + The default value for '\parskip' in LaTeX's standard document styles +is '0pt plus1pt'. File: latex2e.info, Node: Marginal notes, Prev: \parindent & \parskip, Up: Making paragraphs @@ -8283,7 +9227,8 @@ hyphenation there by beginning LEFT or RIGHT with '\hspace{0pt}'. '\marginparpush' Minimum vertical space between notes; default '7pt' for '12pt' - documents, '5pt' else. + documents, '5pt' else. See also *note page layout parameters + marginparpush::. '\marginparsep' Horizontal space between the main text and the note; default '11pt' @@ -8460,12 +9405,12 @@ like '{}_t K^2'. The empty curly braces '{}' give the subscript something to attach to and keeps it from accidentally attaching to a prior symbols. - Using the subscript or superscript command outside of math mode or + Using the subscript or superscript character outside of math mode or display math mode, as in 'the expression x^2', will get you the error 'Missing $ inserted'. A common reason to want subscripts outside of a mathematics mode is -to typeset chemical formulas. There are packages for that such as +to typeset chemical formulas. There are packages for that, such as 'mhchem'; see CTAN. @@ -8476,8 +9421,8 @@ File: latex2e.info, Node: Math symbols, Next: Math functions, Prev: Subscript LaTeX provides almost any mathematical or technical symbol that anyone uses. For example, if you include '$\pi$' in your source, you will get -the pi symbol U+03C0. See the 'Comprehensive LaTeX Symbol List' at -<https://ctan.org/tex-archive/info/symbols/comprehensive/>. +the pi symbol π. See the "Comprehensive LaTeX Symbol List" package at +<https://ctan.org/pkg/comprehensive>. Here is a list of commonly-used symbols. It is by no means exhaustive. Each symbol is described with a short phrase, and its @@ -8487,384 +9432,369 @@ be used only in math mode. To redefine a command so that it can be used whatever the current mode, see *note \ensuremath::. '\|' - U+2225 Parallel (relation). Synonym: '\parallel'. + ∥ Parallel (relation). Synonym: '\parallel'. '\aleph' - U+2135 Aleph, transfinite cardinal (ordinary). + ℵ Aleph, transfinite cardinal (ordinary). '\alpha' - U+03B1 Lowercase Greek letter alpha (ordinary). + α Lowercase Greek letter alpha (ordinary). '\amalg' - U+2A3F Disjoint union (binary) + ⨿ Disjoint union (binary) '\angle' - U+2220 Geometric angle (ordinary). Similar: less-than sign '<' and + ∠ Geometric angle (ordinary). Similar: less-than sign '<' and angle bracket '\langle'. '\approx' - U+2248 Almost equal to (relation). + ≈ Almost equal to (relation). '\ast' - U+2217 Asterisk operator, convolution, six-pointed (binary). + ∗ Asterisk operator, convolution, six-pointed (binary). Synonym: '*', which is often a superscript or subscript, as in the Kleene star. Similar: '\star', which is five-pointed, and is sometimes used as a general binary operation, and sometimes reserved for cross-correlation. '\asymp' - U+224D Asymptotically equivalent (relation). + ≍ Asymptotically equivalent (relation). '\backslash' \ Backslash (ordinary). Similar: set minus '\setminus', and '\textbackslash' for backslash outside of math mode. '\beta' - U+03B2 Lowercase Greek letter beta (ordinary). + β Lowercase Greek letter beta (ordinary). '\bigcap' - U+22C2 Variable-sized, or n-ary, intersection (operator). Similar: + ⋂ Variable-sized, or n-ary, intersection (operator). Similar: binary intersection '\cap'. '\bigcirc' - U+26AA Circle, larger (binary). Similar: function - composition '\circ'. + ⚪ Circle, larger (binary). Similar: function composition '\circ'. '\bigcup' - U+22C3 Variable-sized, or n-ary, union (operator). Similar: binary + ⋃ Variable-sized, or n-ary, union (operator). Similar: binary union '\cup'. '\bigodot' - U+2A00 Variable-sized, or n-ary, circled dot operator (operator). + ⨀ Variable-sized, or n-ary, circled dot operator (operator). '\bigoplus' - U+2A01 Variable-sized, or n-ary, circled plus operator (operator). + ⨁ Variable-sized, or n-ary, circled plus operator (operator). '\bigotimes' - U+2A02 Variable-sized, or n-ary, circled times operator (operator). + ⨂ Variable-sized, or n-ary, circled times operator (operator). '\bigtriangledown' - U+25BD Variable-sized, or n-ary, open triangle pointing down - (operator). + ▽ Variable-sized, or n-ary, open triangle pointing down (operator). '\bigtriangleup' - U+25B3 Variable-sized, or n-ary, open triangle pointing up - (operator). + △ Variable-sized, or n-ary, open triangle pointing up (operator). '\bigsqcup' - U+2A06 Variable-sized, or n-ary, square union (operator). + ⨆ Variable-sized, or n-ary, square union (operator). '\biguplus' - U+2A04 Variable-sized, or n-ary, union operator with a plus - (operator). (Note that the name has only one p.) + ⨄ Variable-sized, or n-ary, union operator with a plus (operator). + (Note that the name has only one p.) '\bigvee' - U+22C1 Variable-sized, or n-ary, logical-and (operator). + ⋁ Variable-sized, or n-ary, logical-or (operator). '\bigwedge' - U+22C0 Variable-sized, or n-ary, logical-or (operator). + ⋀ Variable-sized, or n-ary, logical-and (operator). '\bot' - U+22A5 Up tack, bottom, least element of a partially ordered set, - or a contradiction (ordinary). See also '\top'. + ⊥, Up tack, bottom, least element of a partially ordered set, or a + contradiction (ordinary). See also '\top'. '\bowtie' - U+22C8 Natural join of two relations (relation). + ⋈ Natural join of two relations (relation). '\Box' - U+25A1 Modal operator for necessity; square open box (ordinary). - Not available in plain TeX. In LaTeX you need to load the - 'amssymb' package. + □ Modal operator for necessity; square open box (ordinary). Not + available in plain TeX. In LaTeX you need to load the 'amssymb' + package. '\bullet' - U+2022 Bullet (binary). Similar: multiplication dot '\cdot'. + • Bullet (binary). Similar: multiplication dot '\cdot'. '\cap' - U+2229 Intersection of two sets (binary). Similar: variable-sized + ∩ Intersection of two sets (binary). Similar: variable-sized operator '\bigcap'. '\cdot' - U+22C5 Multiplication (binary). Similar: Bullet dot '\bullet'. + ⋅ Multiplication (binary). Similar: Bullet dot '\bullet'. '\chi' - U+03C7 Lowercase Greek chi (ordinary). + χ Lowercase Greek chi (ordinary). '\circ' - U+2218 Function composition, ring operator (binary). Similar: + ∘ Function composition, ring operator (binary). Similar: variable-sized operator '\bigcirc'. '\clubsuit' - U+2663 Club card suit (ordinary). + ♣ Club card suit (ordinary). '\complement' - U+2201 Set complement, used as a superscript as in - '$S^\complement$' (ordinary). Not available in plain TeX. In - LaTeX you need to load the 'amssymb' package. Also used: - '$S^{\mathsf{c}}$' or '$\bar{S}$'. + ∁, Set complement, used as a superscript as in '$S^\complement$' + (ordinary). Not available in plain TeX. In LaTeX you need to load + the 'amssymb' package. Also used: '$S^{\mathsf{c}}$' + or '$\bar{S}$'. '\cong' - U+2245 Congruent (relation). + ≅ Congruent (relation). '\coprod' - U+2210 Coproduct (operator). + ∐ Coproduct (operator). '\cup' - U+222A Union of two sets (binary). Similar: variable-sized + ∪ Union of two sets (binary). Similar: variable-sized operator '\bigcup'. '\dagger' - U+2020 Dagger relation (binary). + † Dagger relation (binary). '\dashv' - U+22A3 Dash with vertical, reversed turnstile (relation). Similar: + ⊣ Dash with vertical, reversed turnstile (relation). Similar: turnstile '\vdash'. '\ddagger' - U+2021 Double dagger relation (binary). + ‡ Double dagger relation (binary). '\Delta' - U+0394 Greek uppercase delta, used for increment (ordinary). + Δ Greek uppercase delta, used for increment (ordinary). '\delta' - U+03B4 Greek lowercase delta (ordinary). + δ Greek lowercase delta (ordinary). '\Diamond' - U+25C7 Large diamond operator (ordinary). Not available in plain - TeX. In LaTeX you need to load the 'amssymb' package. + ◇ Large diamond operator (ordinary). Not available in plain TeX. + In LaTeX you need to load the 'amssymb' package. '\diamond' - U+22C4 Diamond operator (binary). Similar: large - diamond '\Diamond', circle bullet '\bullet'. + ⋄ Diamond operator (binary). Similar: large diamond '\Diamond', + circle bullet '\bullet'. '\diamondsuit' - U+2662 Diamond card suit (ordinary). + ♢ Diamond card suit (ordinary). '\div' - U+00F7 Division sign (binary). + ÷ Division sign (binary). '\doteq' - U+2250 Approaches the limit (relation). Similar: geometrically - equal to '\Doteq'. + ≐ Approaches the limit (relation). Similar: geometrically equal + to '\Doteq'. '\downarrow' - U+2193 Down arrow, converges (relation). Similar: '\Downarrow' - double line down arrow. + ↓ Down arrow, converges (relation). Similar: '\Downarrow' double + line down arrow. '\Downarrow' - U+21D3 Double line down arrow (relation). Similar: '\downarrow' - single line down arrow. + ⇓ Double line down arrow (relation). Similar: '\downarrow' single + line down arrow. '\ell' - U+2113 Lowercase cursive letter l (ordinary). + ℓ Lowercase cursive letter l (ordinary). '\emptyset' - U+2205 Empty set symbol (ordinary). The variant form is - '\varnothing'. + ∅ Empty set symbol (ordinary). The variant form is '\varnothing'. '\epsilon' - U+03F5 Lowercase lunate epsilon (ordinary). Similar to Greek text + ϵ Lowercase lunate epsilon (ordinary). Similar to Greek text letter. More widely used in mathematics is the script small letter - epsilon '\varepsilon' U+03B5. Related: the set membership relation - '\in' U+2208. + epsilon '\varepsilon' ε. Related: the set membership relation + '\in' ∈. '\equiv' - U+2261 Equivalence (relation). + ≡ Equivalence (relation). '\eta' - U+03B7 Lowercase Greek letter (ordinary). + η Lowercase Greek letter (ordinary). '\exists' - U+2203 Existential quantifier (ordinary). + ∃ Existential quantifier (ordinary). '\flat' - U+266D Musical flat (ordinary). + ♭ Musical flat (ordinary). '\forall' - U+2200 Universal quantifier (ordinary). + ∀ Universal quantifier (ordinary). '\frown' - U+2322 Downward curving arc (ordinary). + ⌢ Downward curving arc (ordinary). '\Gamma' - U+0393 uppercase Greek letter (ordinary). + Γ uppercase Greek letter (ordinary). '\gamma' - U+03B3 Lowercase Greek letter (ordinary). + γ Lowercase Greek letter (ordinary). '\ge' - U+2265 Greater than or equal to (relation). This is a synonym + ≥ Greater than or equal to (relation). This is a synonym for '\geq'. '\geq' - U+2265 Greater than or equal to (relation). This is a synonym + ≥ Greater than or equal to (relation). This is a synonym for '\ge'. '\gets' - U+2190 Is assigned the value (relation). Synonym: '\leftarrow'. + ← Is assigned the value (relation). Synonym: '\leftarrow'. '\gg' - U+226B Much greater than (relation). Similar: much less - than '\ll'. + ≫ Much greater than (relation). Similar: much less than '\ll'. '\hbar' - U+210F Planck constant over two pi (ordinary). + ℏ Planck constant over two pi (ordinary). '\heartsuit' - U+2661 Heart card suit (ordinary). + ♡ Heart card suit (ordinary). '\hookleftarrow' - U+21A9 Hooked left arrow (relation). + ↩ Hooked left arrow (relation). '\hookrightarrow' - U+21AA Hooked right arrow (relation). + ↪ Hooked right arrow (relation). '\iff' - U+27F7 If and only if (relation). It is '\Longleftrightarrow' with - a '\thickmuskip' on either side. + ⟷ If and only if (relation). It is '\Longleftrightarrow' with a + '\thickmuskip' on either side. '\Im' - U+2111 Imaginary part (ordinary). See: real part '\Re'. + ℑ Imaginary part (ordinary). See: real part '\Re'. '\imath' Dotless i; used when you are putting an accent on an i (*note Math accents::). '\in' - U+2208 Set element (relation). See also: lowercase lunate - epsilon '\epsilon'U+03F5 and small letter script - epsilon '\varepsilon'. + ∈ Set element (relation). See also: lowercase lunate + epsilon '\epsilon'ϵ and small letter script epsilon '\varepsilon'. '\infty' - U+221E Infinity (ordinary). + ∞ Infinity (ordinary). '\int' - U+222B Integral (operator). + ∫ Integral (operator). '\iota' - U+03B9 Lowercase Greek letter (ordinary). + ι Lowercase Greek letter (ordinary). '\Join' - U+2A1D Condensed bowtie symbol (relation). Not available in Plain - TeX. + ⨝ Condensed bowtie symbol (relation). Not available in Plain TeX. '\jmath' Dotless j; used when you are putting an accent on a j (*note Math accents::). '\kappa' - U+03BA Lowercase Greek letter (ordinary). + κ Lowercase Greek letter (ordinary). '\Lambda' - U+039B uppercase Greek letter (ordinary). + Λ uppercase Greek letter (ordinary). '\lambda' - U+03BB Lowercase Greek letter (ordinary). + λ Lowercase Greek letter (ordinary). '\land' - U+2227 Logical and (binary). This is a synonym for '\wedge'. See - also logical or '\lor'. + ∧ Logical and (binary). Synonym: '\wedge'. See also + logical or '\lor'. '\langle' - U+27E8 Left angle, or sequence, bracket (opening). Similar: + ⟨ Left angle, or sequence, bracket (opening). Similar: less-than '<'. Matches '\rangle'. '\lbrace' - U+007B Left curly brace (opening). Synonym: '\{'. - Matches '\rbrace'. + { Left curly brace (opening). Synonym: '\{'. Matches '\rbrace'. '\lbrack' - U+005B Left square bracket (opening). Synonym: '['. - Matches '\rbrack'. + [ Left square bracket (opening). Synonym: '['. Matches '\rbrack'. '\lceil' - U+2308 Left ceiling bracket, like a square bracket but with the - bottom shaved off (opening). Matches '\rceil'. + ⌈ Left ceiling bracket, like a square bracket but with the bottom + shaved off (opening). Matches '\rceil'. '\le' - U+2264 Less than or equal to (relation). This is a synonym - for '\leq'. + ≤ Less than or equal to (relation). This is a synonym for '\leq'. '\leadsto' - U+21DD Squiggly right arrow (relation). Not available in plain - TeX. In LaTeX you need to load the 'amssymb' package. To get this - symbol outside of math mode you can put + ⇝ Squiggly right arrow (relation). To get this symbol outside of + math mode you can put '\newcommand*{\Leadsto}{\ensuremath{\leadsto}}' in the preamble and then use '\Leadsto' instead. '\Leftarrow' - U+21D0 Is implied by, double-line left arrow (relation). Similar: + ⇐ Is implied by, double-line left arrow (relation). Similar: single-line left arrow '\leftarrow'. '\leftarrow' - U+2190 Single-line left arrow (relation). Synonym: '\gets'. - Similar: double-line left arrow '\Leftarrow'. + ← Single-line left arrow (relation). Synonym: '\gets'. Similar: + double-line left arrow '\Leftarrow'. '\leftharpoondown' - U+21BD Single-line left harpoon, barb under bar (relation). + ↽ Single-line left harpoon, barb under bar (relation). '\leftharpoonup' - U+21BC Single-line left harpoon, barb over bar (relation). + ↼ Single-line left harpoon, barb over bar (relation). '\Leftrightarrow' - U+21D4 Bi-implication; double-line double-headed arrow (relation). + ⇔ Bi-implication; double-line double-headed arrow (relation). Similar: single-line double headed arrow '\leftrightarrow'. '\leftrightarrow' - U+2194 Single-line double-headed arrow (relation). Similar: - double-line double headed arrow '\Leftrightarrow'. + ↔ Single-line double-headed arrow (relation). Similar: double-line + double headed arrow '\Leftrightarrow'. '\leq' - U+2264 Less than or equal to (relation). This is a synonym - for '\le'. + ≤ Less than or equal to (relation). This is a synonym for '\le'. '\lfloor' - U+230A Left floor bracket (opening). Matches: '\floor'. + ⌊ Left floor bracket (opening). Matches: '\floor'. '\lhd' - U+25C1 Arrowhead, that is, triangle, pointing left (binary). Not - available in plain TeX. In LaTeX you need to load the 'amssymb' - package. For the normal subgroup symbol you should load 'amssymb' - and use '\vartriangleleft' (which is a relation and so gives better + ◁ Arrowhead, that is, triangle, pointing left (binary). For the + normal subgroup symbol you should load 'amssymb' and + use '\vartriangleleft' (which is a relation and so gives better spacing). '\ll' - U+226A Much less than (relation). Similar: much greater - than '\gg'. + ≪ Much less than (relation). Similar: much greater than '\gg'. '\lnot' - U+00AC Logical negation (ordinary). Synonym: '\neg'. + ¬ Logical negation (ordinary). Synonym: '\neg'. '\longleftarrow' - U+27F5 Long single-line left arrow (relation). Similar: long + ⟵ Long single-line left arrow (relation). Similar: long double-line left arrow '\Longleftarrow'. '\longleftrightarrow' - U+27F7 Long single-line double-headed arrow (relation). Similar: - long double-line double-headed arrow '\Longleftrightarrow'. + ⟷ Long single-line double-headed arrow (relation). Similar: long + double-line double-headed arrow '\Longleftrightarrow'. '\longmapsto' - U+27FC Long single-line left arrow starting with vertical bar + ⟼ Long single-line left arrow starting with vertical bar (relation). Similar: shorter version '\mapsto'. '\longrightarrow' - U+27F6 Long single-line right arrow (relation). Similar: long + ⟶ Long single-line right arrow (relation). Similar: long double-line right arrow '\Longrightarrow'. '\lor' - U+2228 Logical or (binary). Synonym: wedge '\wedge'. + ∨ Logical or (binary). Synonym: '\vee'. See also + logical and '\land'. '\mapsto' - U+21A6 Single-line left arrow starting with vertical bar - (relation). Similar: longer version '\longmapsto'. + ↦ Single-line left arrow starting with vertical bar (relation). + Similar: longer version '\longmapsto'. '\mho' - U+2127 Conductance, half-circle rotated capital omega (ordinary). - Not available in plain TeX. In LaTeX you need to load the - 'amssymb' package. + ℧ Conductance, half-circle rotated capital omega (ordinary). '\mid' - U+2223 Single-line vertical bar (relation). A typical use of - '\mid' is for a set '\{\, x \mid x\geq 5 \,\}'. + ∣ Single-line vertical bar (relation). A typical use of '\mid' is + for a set '\{\, x \mid x\geq 5 \,\}'. Similar: '\vert' and '|' produce the same single-line vertical bar symbol but without any spacing (they fall in class ordinary) and @@ -8873,471 +9803,444 @@ whatever the current mode, see *note \ensuremath::. for '\vert' and for norm see the entry for '\Vert'. '\models' - U+22A8 Entails, or satisfies; double turnstile, short double dash + ⊨ Entails, or satisfies; double turnstile, short double dash (relation). Similar: long double dash '\vDash'. '\mp' - U+2213 Minus or plus (relation). + ∓ Minus or plus (relation). '\mu' - U+03BC Lowercase Greek letter (ordinary). + μ Lowercase Greek letter (ordinary). '\nabla' - U+2207 Hamilton's del, or differential, operator (ordinary). + ∇ Hamilton's del, or differential, operator (ordinary). '\natural' - U+266E Musical natural notation (ordinary). + ♮ Musical natural notation (ordinary). '\ne' - U+2260 Not equal (relation). Synonym: '\neq'. + ≠ Not equal (relation). Synonym: '\neq'. '\nearrow' - U+2197 North-east arrow (relation). + ↗ North-east arrow (relation). '\neg' - U+00AC Logical negation (ordinary). Synonym: '\lnot'. Sometimes + ¬ Logical negation (ordinary). Synonym: '\lnot'. Sometimes instead used for negation: '\sim'. '\neq' - U+2260 Not equal (relation). Synonym: '\ne'. + ≠ Not equal (relation). Synonym: '\ne'. '\ni' - U+220B Reflected membership epsilon; has the member (relation). + ∋ Reflected membership epsilon; has the member (relation). Synonym: '\owns'. Similar: is a member of '\in'. '\not' - U+0020 Long solidus, or slash, used to overstrike a following - operator (relation). + Long solidus, or slash, used to overstrike a following operator + (relation). Many negated operators are available that don't require '\not', particularly with the 'amssymb' package. For example, '\notin' is typographically preferable to '\not\in'. '\notin' - U+2209 Not an element of (relation). Similar: not subset + ∉ Not an element of (relation). Similar: not subset of '\nsubseteq'. '\nu' - U+03BD Lowercase Greek letter (ordinary). + ν Lowercase Greek letter (ordinary). '\nwarrow' - U+2196 North-west arrow (relation). + ↖ North-west arrow (relation). '\odot' - U+2299 Dot inside a circle (binary). Similar: variable-sized + ⊙ Dot inside a circle (binary). Similar: variable-sized operator '\bigodot'. '\oint' - U+222E Contour integral, integral with circle in the middle - (operator). + ∮ Contour integral, integral with circle in the middle (operator). '\Omega' - U+03A9 uppercase Greek letter (ordinary). + Ω uppercase Greek letter (ordinary). '\omega' - U+03C9 Lowercase Greek letter (ordinary). + ω Lowercase Greek letter (ordinary). '\ominus' - U+2296 Minus sign, or dash, inside a circle (binary). + ⊖ Minus sign, or dash, inside a circle (binary). '\oplus' - U+2295 Plus sign inside a circle (binary). Similar: variable-sized + ⊕ Plus sign inside a circle (binary). Similar: variable-sized operator '\bigoplus'. '\oslash' - U+2298 Solidus, or slash, inside a circle (binary). + ⊘ Solidus, or slash, inside a circle (binary). '\otimes' - U+2297 Times sign, or cross, inside a circle (binary). Similar: + ⊗ Times sign, or cross, inside a circle (binary). Similar: variable-sized operator '\bigotimes'. '\owns' - U+220B Reflected membership epsilon; has the member (relation). + ∋ Reflected membership epsilon; has the member (relation). Synonym: '\ni'. Similar: is a member of '\in'. '\parallel' - U+2225 Parallel (relation). Synonym: '\|'. + ∥ Parallel (relation). Synonym: '\|'. '\partial' - U+2202 Partial differential (ordinary). + ∂ Partial differential (ordinary). '\perp' - U+27C2 Perpendicular (relation). Similar: '\bot' uses the same - glyph but the spacing is different because it is in the class - ordinary. + ⟂ Perpendicular (relation). Similar: '\bot' uses the same glyph + but the spacing is different because it is in the class ordinary. + +'\Phi' + Φ Uppercase Greek letter (ordinary). '\phi' - U+03D5 Lowercase Greek letter (ordinary). The variant form is - '\varphi' U+03C6. + ϕ Lowercase Greek letter (ordinary). The variant form is + '\varphi' φ. '\Pi' - U+03A0 uppercase Greek letter (ordinary). + Π uppercase Greek letter (ordinary). '\pi' - U+03C0 Lowercase Greek letter (ordinary). The variant form is - '\varpi' U+03D6. + π Lowercase Greek letter (ordinary). The variant form is + '\varpi' ϖ. '\pm' - U+00B1 Plus or minus (binary). + ± Plus or minus (binary). '\prec' - U+227A Precedes (relation). Similar: less than '<'. + ≺ Precedes (relation). Similar: less than '<'. '\preceq' - U+2AAF Precedes or equals (relation). Similar: less than or + ⪯ Precedes or equals (relation). Similar: less than or equals '\leq'. '\prime' - U+2032 Prime, or minute in a time expression (ordinary). Typically - used as a superscript: '$f^\prime$'; '$f^\prime$' and '$f'$' - produce the same result. An advantage of the second is that - '$f'''$' produces the desired symbol, that is, the same result as + ′ Prime, or minute in a time expression (ordinary). Typically used + as a superscript: '$f^\prime$'; '$f^\prime$' and '$f'$' produce the + same result. An advantage of the second is that '$f'''$' produces + the desired symbol, that is, the same result as '$f^{\prime\prime\prime}$', but uses rather less typing. You can only use '\prime' in math mode. Using the right single quote ''' in text mode produces a different character (apostrophe). '\prod' - U+220F Product (operator). + ∏ Product (operator). '\propto' - U+221D Is proportional to (relation) + ∝ Is proportional to (relation) '\Psi' - U+03A8 uppercase Greek letter (ordinary). + Ψ uppercase Greek letter (ordinary). '\psi' - U+03C8 Lowercase Greek letter (ordinary). + ψ Lowercase Greek letter (ordinary). '\rangle' - U+27E9 Right angle, or sequence, bracket (closing). Similar: - greater than '>'. Matches:'\langle'. + ⟩ Right angle, or sequence, bracket (closing). Similar: greater + than '>'. Matches:'\langle'. '\rbrace' - U+007D Right curly brace (closing). Synonym: '\}'. - Matches '\lbrace'. + } Right curly brace (closing). Synonym: '\}'. Matches '\lbrace'. '\rbrack' - U+005D Right square bracket (closing). Synonym: ']'. + ] Right square bracket (closing). Synonym: ']'. Matches '\lbrack'. '\rceil' - U+2309 Right ceiling bracket (closing). Matches '\lceil'. + ⌉ Right ceiling bracket (closing). Matches '\lceil'. '\Re' - U+211C Real part, real numbers, cursive capital R (ordinary). - Related: double-line, or blackboard bold, R '\mathbb{R}'; to access - this, load the 'amsfonts' package. + ℜ Real part, real numbers, cursive capital R (ordinary). Related: + double-line, or blackboard bold, R '\mathbb{R}'; to access this, + load the 'amsfonts' package. '\restriction' - U+21BE Restriction of a function (relation). Synonym: + ↾, Restriction of a function (relation). Synonym: '\upharpoonright'. Not available in plain TeX. In LaTeX you need to load the 'amssymb' package. '\revemptyset' - U+29B0 Reversed empty set symbol (ordinary). Related: - '\varnothing'. Not available in plain TeX. In LaTeX you need to - load the 'stix' package. + ⦰, Reversed empty set symbol (ordinary). Related: '\varnothing'. + Not available in plain TeX. In LaTeX you need to load the 'stix' + package. '\rfloor' - U+230B Right floor bracket, a right square bracket with the top cut - off (closing). Matches '\lfloor'. + ⌋ Right floor bracket, a right square bracket with the top cut off + (closing). Matches '\lfloor'. '\rhd' - U+25C1 Arrowhead, that is, triangle, pointing right (binary). Not - available in plain TeX. In LaTeX you need to load the 'amssymb' - package. For the normal subgroup symbol you should instead load - 'amssymb' and use '\vartriangleright' (which is a relation and so - gives better spacing). + ◁ Arrowhead, that is, triangle, pointing right (binary). For the + normal subgroup symbol you should instead load 'amssymb' and + use '\vartriangleright' (which is a relation and so gives better + spacing). '\rho' - U+03C1 Lowercase Greek letter (ordinary). The variant form is - '\varrho' U+03F1. + ρ Lowercase Greek letter (ordinary). The variant form is + '\varrho' ϱ. '\Rightarrow' - U+21D2 Implies, right-pointing double line arrow (relation). - Similar: right single-line arrow '\rightarrow'. + ⇒ Implies, right-pointing double line arrow (relation). Similar: + right single-line arrow '\rightarrow'. '\rightarrow' - U+2192 Right-pointing single line arrow (relation). - Synonym: '\to'. Similar: right double line arrow '\Rightarrow'. + → Right-pointing single line arrow (relation). Synonym: '\to'. + Similar: right double line arrow '\Rightarrow'. '\rightharpoondown' - U+21C1 Right-pointing harpoon with barb below the line (relation). + ⇁ Right-pointing harpoon with barb below the line (relation). '\rightharpoonup' - U+21C0 Right-pointing harpoon with barb above the line (relation). + ⇀ Right-pointing harpoon with barb above the line (relation). '\rightleftharpoons' - U+21CC Right harpoon up above left harpoon down (relation). + ⇌ Right harpoon up above left harpoon down (relation). '\searrow' - U+2198 Arrow pointing southeast (relation). + ↘ Arrow pointing southeast (relation). '\setminus' - U+29F5 Set difference, reverse solidus or reverse slash, like \ + ⧵ Set difference, reverse solidus or reverse slash, like \ (binary). Similar: backslash '\backslash' and also '\textbackslash' outside of math mode. '\sharp' - U+266F Musical sharp (ordinary). + ♯ Musical sharp (ordinary). '\Sigma' - U+03A3 uppercase Greek letter (ordinary). + Σ uppercase Greek letter (ordinary). '\sigma' - U+03C3 Lowercase Greek letter (ordinary). The variant form is - '\varsigma' U+03C2. + σ Lowercase Greek letter (ordinary). The variant form is + '\varsigma' ς. '\sim' - U+223C Similar, in a relation (relation). + ∼ Similar, in a relation (relation). '\simeq' - U+2243 Similar or equal to, in a relation (relation). + ≃ Similar or equal to, in a relation (relation). '\smallint' - U+222B Integral sign that does not change to a larger size in a - display (operator). + ∫ Integral sign that does not change to a larger size in a display + (operator). '\smile' - U+2323 Upward curving arc, smile (ordinary). + ⌣ Upward curving arc, smile (ordinary). '\spadesuit' - U+2660 Spade card suit (ordinary). + ♠ Spade card suit (ordinary). '\sqcap' - U+2293 Square intersection symbol (binary). Similar: + ⊓ Square intersection symbol (binary). Similar: intersection 'cap'. '\sqcup' - U+2294 Square union symbol (binary). Similar: union 'cup'. - Related: variable-sized operator '\bigsqcup'. + ⊔ Square union symbol (binary). Similar: union 'cup'. Related: + variable-sized operator '\bigsqcup'. '\sqsubset' - U+228F Square subset symbol (relation). Similar: subset '\subset'. + ⊏, Square subset symbol (relation). Similar: subset '\subset'. Not available in plain TeX. In LaTeX you need to load the 'amssymb' package. '\sqsubseteq' - U+2291 Square subset or equal symbol (binary). Similar: subset or - equal to '\subseteq'. + ⊑ Square subset or equal symbol (binary). Similar: subset or equal + to '\subseteq'. '\sqsupset' - U+2290 Square superset symbol (relation). Similar: - superset '\supset'. Not available in plain TeX. In LaTeX you need - to load the 'amssymb' package. + ⊐, Square superset symbol (relation). Similar: superset '\supset'. + Not available in plain TeX. In LaTeX you need to load the + 'amssymb' package. '\sqsupseteq' - U+2292 Square superset or equal symbol (binary). Similar: superset - or equal '\supseteq'. + ⊒ Square superset or equal symbol (binary). Similar: superset or + equal '\supseteq'. '\star' - U+22C6 Five-pointed star, sometimes used as a general binary - operation but sometimes reserved for cross-correlation (binary). - Similar: the synonyms asterisk '*' and '\ast', which are - six-pointed, and more often appear as a superscript or subscript, - as with the Kleene star. + ⋆ Five-pointed star, sometimes used as a general binary operation + but sometimes reserved for cross-correlation (binary). Similar: + the synonyms asterisk '*' and '\ast', which are six-pointed, and + more often appear as a superscript or subscript, as with the Kleene + star. '\subset' - U+2282 Subset (occasionally, is implied by) (relation). + ⊂ Subset (occasionally, is implied by) (relation). '\subseteq' - U+2286 Subset or equal to (relation). + ⊆ Subset or equal to (relation). '\succ' - U+227B Comes after, succeeds (relation). Similar: is less - than '>'. + ≻ Comes after, succeeds (relation). Similar: is less than '>'. '\succeq' - U+2AB0 Succeeds or is equal to (relation). Similar: less than or - equal to '\leq'. + ⪰ Succeeds or is equal to (relation). Similar: less than or equal + to '\leq'. '\sum' - U+2211 Summation (operator). Similar: Greek capital - sigma '\Sigma'. + ∑ Summation (operator). Similar: Greek capital sigma '\Sigma'. '\supset' - U+2283 Superset (relation). + ⊃ Superset (relation). '\supseteq' - U+2287 Superset or equal to (relation). + ⊇ Superset or equal to (relation). '\surd' - U+221A Radical symbol (ordinary). The LaTeX command '\sqrt{...}' + √ Radical symbol (ordinary). The LaTeX command '\sqrt{...}' typesets the square root of the argument, with a bar that extends to cover the argument. '\swarrow' - U+2199 Southwest-pointing arrow (relation). + ↙ Southwest-pointing arrow (relation). '\tau' - U+03C4 Lowercase Greek letter (ordinary). + τ Lowercase Greek letter (ordinary). '\theta' - U+03B8 Lowercase Greek letter (ordinary). The variant form is - '\vartheta' U+03D1. + θ Lowercase Greek letter (ordinary). The variant form is + '\vartheta' ϑ. '\times' - U+00D7 Primary school multiplication sign (binary). See - also '\cdot'. + × Primary school multiplication sign (binary). See also '\cdot'. '\to' - U+2192 Right-pointing single line arrow (relation). + → Right-pointing single line arrow (relation). Synonym: '\rightarrow'. '\top' - U+22A4 Top, greatest element of a partially ordered set (ordinary). - See also '\bot'. + ⊤ Top, greatest element of a partially ordered set (ordinary). See + also '\bot'. '\triangle' - U+25B3 Triangle (ordinary). + △ Triangle (ordinary). '\triangleleft' - U+25C1 Not-filled triangle pointing left (binary). - Similar: '\lhd'. For the normal subgroup symbol you should load - 'amssymb' and use '\vartriangleleft' (which is a relation and so - gives better spacing). + ◁ Not-filled triangle pointing left (binary). Similar: '\lhd'. + For the normal subgroup symbol you should load 'amssymb' and + use '\vartriangleleft' (which is a relation and so gives better + spacing). '\triangleright' - U+25B7 Not-filled triangle pointing right (binary). For the normal + ▷ Not-filled triangle pointing right (binary). For the normal subgroup symbol you should instead load 'amssymb' and use '\vartriangleright' (which is a relation and so gives better spacing). '\unlhd' - U+22B4 Left-pointing not-filled underlined arrowhead, that is, - triangle, with a line under (binary). Not available in plain TeX. - In LaTeX you need to load the 'amssymb' package. For the normal - subgroup symbol load 'amssymb' and use '\vartrianglelefteq' (which - is a relation and so gives better spacing). + ⊴ Left-pointing not-filled underlined arrowhead, that is, triangle, + with a line under (binary). For the normal subgroup symbol load + 'amssymb' and use '\vartrianglelefteq' (which is a relation and so + gives better spacing). '\unrhd' - U+22B5 Right-pointing not-filled underlined arrowhead, that is, - triangle, with a line under (binary). Not available in plain TeX. - In LaTeX you need to load the 'amssymb' package. For the normal - subgroup symbol load 'amssymb' and use '\vartrianglerighteq' (which - is a relation and so gives better spacing). + ⊵ Right-pointing not-filled underlined arrowhead, that is, + triangle, with a line under (binary). For the normal subgroup + symbol load 'amssymb' and use '\vartrianglerighteq' (which is a + relation and so gives better spacing). '\Uparrow' - U+21D1 Double-line upward-pointing arrow (relation). Similar: + ⇑ Double-line upward-pointing arrow (relation). Similar: single-line up-pointing arrow '\uparrow'. '\uparrow' - U+2191 Single-line upward-pointing arrow, diverges (relation). - Similar: double-line up-pointing arrow '\Uparrow'. + ↑ Single-line upward-pointing arrow, diverges (relation). Similar: + double-line up-pointing arrow '\Uparrow'. '\Updownarrow' - U+21D5 Double-line upward-and-downward-pointing arrow (relation). + ⇕ Double-line upward-and-downward-pointing arrow (relation). Similar: single-line upward-and-downward-pointing arrow '\updownarrow'. '\updownarrow' - U+2195 Single-line upward-and-downward-pointing arrow (relation). + ↕ Single-line upward-and-downward-pointing arrow (relation). Similar: double-line upward-and-downward-pointing arrow '\Updownarrow'. '\upharpoonright' - U+21BE Up harpoon, with barb on right side (relation). + ↾, Up harpoon, with barb on right side (relation). Synonym: '\restriction'. Not available in plain TeX. In LaTeX you need to load the 'amssymb' package. '\uplus' - U+228E Multiset union, a union symbol with a plus symbol in the - middle (binary). Similar: union '\cup'. Related: variable-sized + ⊎ Multiset union, a union symbol with a plus symbol in the middle + (binary). Similar: union '\cup'. Related: variable-sized operator '\biguplus'. '\Upsilon' - U+03A5 uppercase Greek letter (ordinary). + Υ uppercase Greek letter (ordinary). '\upsilon' - U+03C5 Lowercase Greek letter (ordinary). + υ Lowercase Greek letter (ordinary). '\varepsilon' - U+03B5 Small letter script epsilon (ordinary). This is more widely - used in mathematics than the non-variant lunate epsilon form - '\epsilon' U+03F5. Related: set membership '\in'. + ε Small letter script epsilon (ordinary). This is more widely used + in mathematics than the non-variant lunate epsilon form + '\epsilon' ϵ. Related: set membership '\in'. '\vanothing' - U+2205 Empty set symbol. Similar: '\emptyset'. Related: + ∅, Empty set symbol. Similar: '\emptyset'. Related: '\revemptyset'. Not available in plain TeX. In LaTeX you need to load the 'amssymb' package. '\varphi' - U+03C6 Variant on the lowercase Greek letter (ordinary). The - non-variant form is '\phi' U+03D5. + φ Variant on the lowercase Greek letter (ordinary). The + non-variant form is '\phi' ϕ. '\varpi' - U+03D6 Variant on the lowercase Greek letter (ordinary). The - non-variant form is '\pi' U+03C0. + ϖ Variant on the lowercase Greek letter (ordinary). The + non-variant form is '\pi' π. '\varrho' - U+03F1 Variant on the lowercase Greek letter (ordinary). The - non-variant form is '\rho' U+03C1. + ϱ Variant on the lowercase Greek letter (ordinary). The + non-variant form is '\rho' ρ. '\varsigma' - U+03C2 Variant on the lowercase Greek letter (ordinary). The - non-variant form is '\sigma' U+03C3. + ς Variant on the lowercase Greek letter (ordinary). The + non-variant form is '\sigma' σ. '\vartheta' - U+03D1 Variant on the lowercase Greek letter (ordinary). The - non-variant form is '\theta' U+03B8. + ϑ Variant on the lowercase Greek letter (ordinary). The + non-variant form is '\theta' θ. '\vdash' - U+22A2 Provable; turnstile, vertical and a dash (relation). - Similar: turnstile rotated a half-circle '\dashv'. + ⊢ Provable; turnstile, vertical and a dash (relation). Similar: + turnstile rotated a half-circle '\dashv'. '\vee' - U+2228 Logical or; a downwards v shape (binary). Related: logical + ∨ Logical or; a downwards v shape (binary). Related: logical and '\wedge'. Similar: variable-sized operator '\bigvee'. '\Vert' - U+2016 Vertical double bar (ordinary). Similar: vertical single - bar '\vert'. - - For a norm symbol, you can use the 'mathtools' package and put in - your preamble '\DeclarePairedDelimiter\norm{\lVert}{\rVert}'. This - gives you three command variants for double-line vertical bars that - are correctly horizontally spaced: if in the document body you - write the starred version '$\norm*{M^\perp}$' then the height of - the vertical bars will match the height of the argument, whereas - with '\norm{M^\perp}' the bars do not grow with the height of the - argument but instead are the default height, and '\norm[SIZE - COMMAND]{M^\perp}' also gives bars that do not grow but are set to - the size given in the SIZE COMMAND, e.g., '\Bigg'. + ‖ Vertical double bar (ordinary). *Note Delimiters::, for how to + use the 'mathtools' package to create flexibly-sized norm symbols. '\vert' - U+007C Single line vertical bar (ordinary). Similar: double-line - vertical bar '\Vert'. For such that, as in the definition of a - set, use '\mid' because it is a relation. - - For absolute value you can use the 'mathtools' package and in your - preamble put '\DeclarePairedDelimiter\abs{\lvert}{\rvert}'. This - gives you three command variants for single-line vertical bars that - are correctly horizontally spaced: if in the document body you - write the starred version '$\abs*{\frac{22}{7}}$' then the height - of the vertical bars will match the height of the argument, whereas - with '\abs{\frac{22}{7}}' the bars do not grow with the height of - the argument but instead are the default height, and '\abs[SIZE - COMMAND]{\frac{22}{7}}' also gives bars that do not grow but are - set to the size given in the SIZE COMMAND, e.g., '\Bigg'. + | Single line vertical bar (ordinary). For "such that", as in the + definition of a set, use '\mid' because it is a relation. *Note + Delimiters::, for how to use the 'mathtools' package to create + flexibly-sized absolute-value symbols. '\wedge' - U+2227 Logical and (binary). Synonym: '\land'. See also logical - or '\vee'. Similar: variable-sized operator '\bigwedge'. + ∧ Logical and (binary). Synonym: '\land'. See also logical or + '\vee'. Similar: variable-sized operator '\bigwedge'. '\wp' - U+2118 Weierstrass p (ordinary). + ℘ Weierstrass p (ordinary). '\wr' - U+2240 Wreath product (binary). + ≀ Wreath product (binary). '\Xi' - U+039E uppercase Greek letter (ordinary). + Ξ uppercase Greek letter (ordinary). '\xi' - U+03BE Lowercase Greek letter (ordinary). + ξ Lowercase Greek letter (ordinary). '\zeta' - U+03B6 Lowercase Greek letter (ordinary). + ζ Lowercase Greek letter (ordinary). The following symbols are most often used in plain text but LaTeX provides versions to use in mathematical text. @@ -9346,28 +10249,118 @@ provides versions to use in mathematical text. Dollar sign in math mode: $. '\mathparagraph' - Paragraph sign (pilcrow) in math mode, U+00B6. + Paragraph sign (pilcrow) in math mode, ¶. '\mathsection' - Section sign in math mode U+00A7. + Section sign in math mode §. '\mathsterling' - Sterling sign in math mode: #. + Sterling sign in math mode: £. '\mathunderscore' Underscore in math mode: _. * Menu: +* Arrows:: List of arrows. +* \boldmath & \unboldmath:: Symbols in boldface. * Blackboard bold:: Doublestruck characters. * Calligraphic:: Cursive characters. -* \boldmath & \unboldmath:: Symbols in boldface. +* Delimiters:: Parentheses, braces, etc. * Dots:: Ellipses, etc. +* Greek letters:: List of Greek letters. -File: latex2e.info, Node: Blackboard bold, Next: Calligraphic, Up: Math symbols +File: latex2e.info, Node: Arrows, Next: \boldmath & \unboldmath, Up: Math symbols + +16.2.1 Arrows +------------- + +These are the arrows that come with standard LaTeX. The 'latexsym' and +'amsfonts' packages contain many more. + +Symbol Command +--------------------------------------------------------------------------- +⇓ '\Downarrow' +↓ '\downarrow' +↩ '\hookleftarrow' +↪ '\hookrightarrow' +← '\leftarrow' +⇐ '\Leftarrow' +⇔ '\Leftrightarrow' +↔ '\leftrightarrow' +⟵ '\longleftarrow' +⟸ '\Longleftarrow' +⟷ '\longleftrightarrow' +⟺ '\Longleftrightarrow' +⟼ '\longmapsto' +⟹ '\Longrightarrow' +⟶ '\longrightarrow' +↦ '\mapsto' +↗ '\nearrow' +↖ '\nwarrow' +⇒ '\Rightarrow' +→ '\rightarrow', or '\to' +↘ '\searrow' +↙ '\swarrow' +↑ '\uparrow' +⇑ '\Uparrow' +↕ '\updownarrow' +⇕ '\Updownarrow' + + An example of the difference between '\to' and '\mapsto' is: '\( +f\colon D\to C \) given by \( n\mapsto n^2 \)'. + + For commutative diagrams there are a number of packages, including +'tikz-cd' and 'amscd'. + + +File: latex2e.info, Node: \boldmath & \unboldmath, Next: Blackboard bold, Prev: Arrows, Up: Math symbols + +16.2.2 '\boldmath' & '\unboldmath' +---------------------------------- + +Synopsis (used in paragraph mode or LR mode): + + \boldmath \( MATH \) + +or + + \unboldmath \( MATH \) -16.2.1 Blackboard bold + Declarations to change the letters and symbols in MATH to be in a +bold font, or to countermand that and bring back the regular (non-bold) +default. They must be used when not in math mode or display math mode +(*note Modes::). Both commands are fragile (*note \protect::). + + In this example each '\boldmath' command takes place inside an +'\mbox', + + we have $\mbox{\boldmath \( v \)} = 5\cdot\mbox{\boldmath \( u \)$}$ + +which means '\boldmath' is only called in a text mode, here LR mode, and +explains why LaTeX must switch to math mode to set 'v' and 'u'. + + If you use either command inside math mode, as with 'Trouble: \( +\boldmath x \)', then you get something like 'LaTeX Font Warning: +Command \boldmath invalid in math mode on input line 11' and 'LaTeX Font +Warning: Command \mathversion invalid in math mode on input line 11'. + + There are many issues with '\boldmath'. New documents should use the +'bm' package provided by the LaTeX Project team. A complete description +is outside the scope of this document (see the full documentation on +CTAN) but even this small example + + \usepackage{bm} % in preamble + ... + we have $\bm{v} = 5\cdot\bm{u}$ + +shows that it is an improvement over '\boldmath'. + + +File: latex2e.info, Node: Blackboard bold, Next: Calligraphic, Prev: \boldmath & \unboldmath, Up: Math symbols + +16.2.3 Blackboard bold ---------------------- Synopsis: @@ -9384,7 +10377,7 @@ integers, etc. \( \forall n \in \mathbb{N}, n^2 \geq 0 \) -the '\mathbb{N}' gives blackboard bold symbol U+2115 representing the +the '\mathbb{N}' gives blackboard bold symbol ℕ, representing the natural numbers. If you use other than an uppercase letter then you do not get an @@ -9394,9 +10387,9 @@ error but you get strange results, including unexpected characters. capital letters; look on CTAN. -File: latex2e.info, Node: Calligraphic, Next: \boldmath & \unboldmath, Prev: Blackboard bold, Up: Math symbols +File: latex2e.info, Node: Calligraphic, Next: Delimiters, Prev: Blackboard bold, Up: Math symbols -16.2.2 Calligraphic +16.2.4 Calligraphic ------------------- Synopsis: @@ -9410,57 +10403,270 @@ Synopsis: Let the graph be \( \mathcal{G} \). If you use something other than an uppercase letter then you do not -get an error. Instead you get unexpected output. For instance, -'\mathcal{g}' outputs a close curly brace symbol, while '\mathcal{+}' -outputs a plus sign. +get an error but you also do not get math calligraphic output. For +instance, '\mathcal{g}' outputs a close curly brace symbol. -File: latex2e.info, Node: \boldmath & \unboldmath, Next: Dots, Prev: Calligraphic, Up: Math symbols +File: latex2e.info, Node: Delimiters, Next: Dots, Prev: Calligraphic, Up: Math symbols -16.2.3 '\boldmath' & '\unboldmath' ----------------------------------- +16.2.5 Delimiters +----------------- -Synopsis (used in paragraph mode or LR mode): +Delimiters are parentheses, braces, or other characters used to mark the +start and end of subformulas. This formula has three sets of +parentheses delimiting the three subformulas. + + (z-z_0)^2 = (x-x_0)^2 + (y-y_0)^2 + +The delimiters do not need to match, so you can enter '\( [0,1) \)'. + + Here are the common delimiters: + +DelimiterCommand Name +------------------------------------------------------ +( '(' Left parenthesis +) ')' Right parenthesis +\} '{' or Left brace + '\lbrace' +\{ '}' or Right brace + '\rbrace' +[ '[' or Left bracket + '\lbrack' +] ']' or Right bracket + '\rbrack' +⌊ '\lfloor' Left floor bracket +⌋ '\rfloor' Right floor bracket +⌈ '\lceil' Left ceiling bracket +⌉ '\rceil' Right ceiling bracket +⟨ '\langle' Left angle bracket +⟩ '\rangle' Right angle bracket +/ '/' Slash, or forward slash +\ '\backslash' Reverse slash, or backslash +| '|' or Vertical bar + '\vert' +‖ '\|' or Double vertical bar + '\Vert' + + The 'mathtools' package allows you to create commands for paired +delimiters. For instance, if you put +'\DeclarePairedDelimiter\abs{\lvert}{\rvert}' in your preamble then you +get two commands for single-line vertical bars (they only work in math +mode). The starred version, such as '\abs*{\frac{22}{7}}', has the +height of the vertical bars match the height of the argument. The +unstarred version, such as '\abs{\frac{22}{7}}', has the bars fixed at a +default height. This version accepts an optional argument, as in +'\abs[SIZE COMMAND]{\frac{22}{7}}', where the height of the bars is +given in SIZE COMMAND, such as '\Bigg'. Using '\lVert' and '\rVert' as +the symbols will give you a norm symbol with the same behavior. - \boldmath \( MATH \) +* Menu: -or +* \left & \right:: Automatically sized delimiters. +* \bigl & \bigr etc.:: Manually sized delimiters. - \unboldmath \( MATH \) + +File: latex2e.info, Node: \left & \right, Next: \bigl & \bigr etc., Up: Delimiters - Declarations to change the letters and symbols in MATH to be in a -bold font, or to countermand that and bring back the regular (non-bold) -default. They must be used when not in math mode or display math mode -(*note Modes::). Both commands are fragile (*note \protect::). +16.2.5.1 '\left' & '\right' +........................... - In this example each '\boldmath' command takes place inside an -'\mbox', +Synopsis: - we have $\mbox{\boldmath \( v \)} = 5\cdot\mbox{\boldmath \( u \)$}$ + \left DELIMITER1 ... \right DELIMITER2 -which means '\boldmath' is only called in a text mode, here LR mode, and -explains why LaTeX must switch to math mode to set 'v' and 'u'. + Make matching parentheses, braces, or other delimiters. LaTeX makes +the delimiters tall enough to just cover the size of the formula that +they enclose. - If you use either command inside math mode, as with 'Trouble: \( -\boldmath x \)', then you get something like 'LaTeX Font Warning: -Command \boldmath invalid in math mode on input line 11' and 'LaTeX Font -Warning: Command \mathversion invalid in math mode on input line 11'. + This makes a unit vector surrounded by parentheses tall enough to +cover the entries. - There are many issues with '\boldmath'. New documents should use the -'bm' package provided by the LaTeX Project team. A complete description -is outside the scope of this document (see the full documentation on -CTAN) but even this small example + \begin{equation} + \left(\begin{array}{c} + 1 \\ + 0 \\ + \end{array}\right) + \end{equation} - \usepackage{bm} % in preamble - ... - we have $\bm{v} = 5\cdot\bm{u}$ + *Note Delimiters::, for a list of the common delimiters. -shows that it is an improvement over '\boldmath'. + Every '\left' must have a matching '\right'. In the above example, +leaving out the '\left(' gets the error message 'Extra \right'. Leaving +out the '\right)' gets 'You can't use `\eqno' in math mode'. + + However, DELIMITER1 and DELIMITER2 need not match. A common case is +that you want an unmatched brace, as below. Use a period, '.', as a +null delimiter. + + \begin{equation} + f(n)=\left\{\begin{array}{ll} + 1 &\mbox{--if \(n=0\)} \\ + f(n-1)+3n^2 &\mbox{--else} + \end{array}\right. + \end{equation} + +Note that to get a curly brace as a delimiter you must prefix it with a +backslash, '\{'. (The packages 'amsmath' and 'mathtools' allow you to +get the above construct through in a 'cases' environment.) + + The '\left ... \right' pair make a group. One consequence is that +the formula enclosed in the '\left ... \right' pair cannot have line +breaks in the output. This includes both manual line breaks and +LaTeX-generated automatic ones. In this example, LaTeX breaks the +equation to make the formula fit the margins. + + Lorem ipsum dolor sit amet + \( (a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z) \) + +But with '\left' and '\right' + + Lorem ipsum dolor sit amet + \( \left(a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z\right) \) + +LaTeX won't break the line, causing the formula to extend into the +margin. + + Because '\left ... \right' make a group, all the usual grouping rules +hold. Here, the value of '\testlength' set inside the equation will be +forgotten, and the output is '1.2pt'. + + \newlength{\testlength} \setlength{\testlength}{1.2pt} + \begin{equation} + \left( a+b=c \setlength{\testlength}{3.4pt} \right) + \the\testlength + \end{equation} + + The '\left ... \right' pair affect the horizontal spacing of the +enclosed formula, in two ways. The first is that in '\( \sin(x) = +\sin\left(x\right) \)' the one after the equals sign has more space +around the 'x'. That's because '\left( ... \right)' inserts an inner +node while '( ... )' inserts an opening node. The second way that the +pair affect the horizontal spacing is that because they form a group, +the enclosed subformula will be typeset at its natural width, with no +stretching or shrinking to make the line fit better. + + TeX scales the delimiters according to the height and depth of the +contained formula. Here LaTeX grows the brackets to extend the full +height of the integral. + + \begin{equation} + \left[ \int_{x=r_0}^{\infty} -G\frac{Mm}{r^2}\, dr \right] + \end{equation} + + Manual sizing is often better. For instance, although below the rule +has no depth, TeX will create delimiters that extend far below the rule. + + \begin{equation} + \left( \rule{1pt}{1cm} \right) + \end{equation} + +TeX can choose delimiters that are too small, as in '\( \left| |x|+|y| +\right| \)'. It can also choose delimiters that are too large, as here. + + \begin{equation} + \left( \sum_{0\leq i<n} i^k \right) + \end{equation} + +A third awkward case is when a long displayed formula is on more than +one line and you must match the sizes of the opening and closing +delimiter; you can't use '\left' on the first line and '\right' on the +last because they must be paired. + + To size the delimiters manually, see *note \bigl & \bigr etc.::. + + +File: latex2e.info, Node: \bigl & \bigr etc., Prev: \left & \right, Up: Delimiters + +16.2.5.2 '\bigl', '\bigr', etc. +............................... + +Synopsis, one of: + + \biglDELIMITER1 ... \bigrDELIMITER2 + \BiglDELIMITER1 ... \bigrDELIMITER2 + \bigglDELIMITER1 ... \biggrDELIMITER2 + \BigglDELIMITER1 ... \BiggrDELIMITER2 + +(as with '\bigl[...\bigr]'; strictly speaking they need not be paired, +see below), or one of: + + \bigmDELIMITER + \BigmDELIMITER + \biggmDELIMITER + \BiggmDELIMITER + +(as with '\bigm|'), or one of: + + \bigDELIMITER + \BigDELIMITER + \biggDELIMITER + \BiggDELIMITER + +(as with '\big['). + + Produce manually-sized delimiters. For delimiters that are +automatically sized see *note \left & \right::). + + This produces slightly larger outer vertical bars. + + \bigl| |x|+|y| \bigr| + + The commands above are listed in order of increasing size. You can +use the smallest size such as '\bigl...\bigr' in a paragraph without +causing LaTeX to spread the lines apart. The larger sizes are meant for +displayed equations. + + *Note Delimiters::, for a list of the common delimiters. In the +family of commands with 'l' and 'r', DELIMITER1 and DELIMITER2 need not +be the same. + + The 'l' and 'r' commands produce open and close delimiters that +insert no horizontal space between a preceding atom and the delimiter, +while the commands without 'l' and 'r' insert some space (because each +delimiter is set as an ordinary variable). Compare these two. + + \begin{tabular}{l} + \(\displaystyle \sin\biggl(\frac{1}{2}\biggr) \) \\ % good + \(\displaystyle \sin\bigg(\frac{1}{2}\bigg) \) \\ % bad + \end{tabular} + +The traditional typographic treatment is on the first line. On the +second line the output will have some extra space between the '\sin' and +the open parenthesis. + + Commands without 'l' or 'r' do give correct spacing in some +circumstances, as with this large vertical line + + \begin{equation} + \int_{x=a}^b x^2\,dx = \frac{1}{3} x^3 \Big|_{x=a}^b + \end{equation} + +(many authors would replace '\frac' with the '\tfrac' command from the +'amsmath' package), and as with this larger slash. + + \begin{equation} + \lim_{n\to\infty}\pi(n) \big/ (n/\log n) = 1 + \end{equation} + + Unlike the '\left...\right' pair (*note \left & \right::), the +commands here with 'l' and 'r' do not make a group. Strictly speaking +they need not be matched so you can write something like this. + + \begin{equation} + \Biggl[ \pi/6 ] + \end{equation} + + The commands with 'm' are for relations, which are in the middle of +formulas, as here. + + \begin{equation} + \biggl\{ a\in B \biggm| a=\sum_{0\leq i<n}3i^2+4 \biggr\} + \end{equation} -File: latex2e.info, Node: Dots, Prev: \boldmath & \unboldmath, Up: Math symbols +File: latex2e.info, Node: Dots, Next: Greek letters, Prev: Delimiters, Up: Math symbols -16.2.4 Dots, horizontal or vertical +16.2.6 Dots, horizontal or vertical ----------------------------------- Ellipses are the three dots (usually three) indicating that a pattern @@ -9476,15 +10682,14 @@ continues. '\cdots' Horizontal ellipsis with the dots raised to the center of the line, - as in U+22EF. Used as: '\( a_0\cdot a_1\cdots a_{n-1} \)'. + as in ⋯. Used as: '\( a_0\cdot a_1\cdots a_{n-1} \)'. '\ddots' - Diagonal ellipsis, U+22F1. See the above array example for a - usage. + Diagonal ellipsis, ⋱. See the above array example for a usage. '\ldots' - Ellipsis on the baseline, U+2026. Used as: '\( x_0,\ldots x_{n-1} - \)'. Another example is the above array example. A synonym is + Ellipsis on the baseline, …. Used as: '\( x_0,\ldots x_{n-1} \)'. + Another example is the above array example. A synonym is '\mathellipsis'. A synonym from the 'amsmath' package is '\hdots'. You can also use this command outside of mathematical text, as in @@ -9492,7 +10697,7 @@ continues. or LR mode a synonym for '\ldots' is '\dots'.) '\vdots' - Vertical ellipsis, U+22EE. See the above array example for a usage. + Vertical ellipsis, ⋮. See the above array example for a usage. The 'amsmath' package has the command '\dots' to semantically mark up ellipses. This example produces two different-looking outputs for the @@ -9516,6 +10721,52 @@ the dots are followed by a binary operator or relation symbol, '\dotsi' for dots with integrals, or '\dotso' for others. +File: latex2e.info, Node: Greek letters, Prev: Dots, Up: Math symbols + +16.2.7 Greek letters +-------------------- + +The upper case versions of these Greek letters are only shown when they +differ from Roman upper case letters. + +Symbol Command Name +---------------------------------------------------------------------------- +α '\alpha' Alpha +β '\beta' Beta +γ, Γ '\gamma', '\Gamma' Gamma +δ, Δ '\delta', '\Delta' Delta +ε, ϵ '\varepsilon', Epsilon + '\epsilon' +ζ '\zeta' Zeta +η '\eta' Eta +θ, ϑ '\theta', Theta + '\vartheta' +ι '\iota' Iota +κ '\kappa' Kappa +λ, Λ '\lambda', '\Lambda' Lambda +μ '\mu' Mu +ν '\nu' Nu +ξ, Ξ '\xi', '\Xi' Xi +π, Π '\pi', '\Pi' Pi +ρ, ϱ '\rho', '\varrho' Rho +σ, Σ '\sigma', '\Sigma' Sigma +τ '\tau' Tau +ϕ, φ, '\phi', '\varphi', Phi +Φ '\Phi' +χ '\chi' chi +ψ, Ψ '\psi', '\Psi' Psi +ω, Ω '\omega', '\Omega' Omega + + For omicron, if you are using LaTeX's default Computer Modern font +then enter omicron just as 'o' or 'O'. If you like having the name or +if your font shows a difference then you can use something like +'\newcommand\omicron{o}'. The package 'unicode-math' has '\upomicron' +for upright omicron and '\mitomicron' for math italic. + + While the set membership relation symbol ∈ generated by '\in' is +related to epsilon, it is never used for a variable. + + File: latex2e.info, Node: Math functions, Next: Math accents, Prev: Math symbols, Up: Math formulas 16.3 Math functions @@ -9654,7 +10905,7 @@ Accents::). Math breve accent '\check' - Math ha'c<ek (check) accent + Math háček (check) accent '\ddot' Math dieresis accent @@ -9743,9 +10994,9 @@ When typesetting mathematics, LaTeX puts in spacing according to the normal rules for mathematics texts. If you enter 'y=m x' then LaTeX ignores the space and in the output the m is next to the x, as y=mx. - But LaTeX's rules sometimes need tweaking. For example, in an + But LaTeX's rules occasionally need tweaking. For example, in an integral the tradition is to put a small extra space between the 'f(x)' -and the 'dx', here done with the '\,' command. +and the 'dx', here done with the '\,' command: \int_0^1 f(x)\,dx @@ -9756,13 +11007,25 @@ math symbols family (*note Units of length::). Thus, a '\thickspace' is something like 5/18 times the width of a 'M'. '\;' - Synonym: '\thickspace'. Normally '5.0mu plus 5.0mu'. Math mode - only. + Synonym: '\thickspace'. Normally '5.0mu plus 5.0mu'. With + 'amsmath', or as of the 2020-10-01 LaTeX release, can be used in + text mode as well as math mode; before that, in math mode only. + +'\negthickspace' + Normally '-5.0mu plus 2.0mu minus 4.0mu'. With 'amsmath', or as of + the 2020-10-01 LaTeX release, can be used in text mode as well as + math mode; before that, in math mode only. '\:' '\>' Synonym: '\medspace'. Normally '4.0mu plus 2.0mu minus 4.0mu'. - Math mode only. + With 'amsmath', or as of the 2020-10-01 LaTeX release, can be used + in text mode as well as math mode; before that, in math mode only. + +'\negmedspace' + Normally '-4.0mu plus 2.0mu minus 4.0mu'. With 'amsmath', or as of + the 2020-10-01 LaTeX release, can be used in text mode as well as + math mode; before that, in math mode only. '\,' Synonym: '\thinspace'. Normally '3mu', which is 1/6em. Can be @@ -9779,9 +11042,11 @@ something like 5/18 times the width of a 'M'. \end{equation} '\!' - A negative thin space. Normally '-3mu'. The '\!' command is math - mode only but the '\negthinspace' command is available for text - mode (*note \thinspace & \negthinspace::). + A negative thin space. Normally '-3mu'. With 'amsmath', or as of + the 2020-10-01 LaTeX release, can be used in text mode as well as + math mode; before that, The '\!' command is math mode only but the + '\negthinspace' command has always worked in text mode (*note + \thinspace & \negthinspace::). '\quad' This is 18mu, that is, 1em. This is often used for space @@ -9795,8 +11060,9 @@ something like 5/18 times the width of a 'M'. * Menu: -* \smash:: Eliminate height or depth of a subformula. -* \phantom & \vphantom & \hphantom:: Make empty box with the same size as the argument. +* \smash:: Eliminate height or depth of a subformula. +* \phantom & \vphantom & \hphantom:: Make empty box same size as argument. +* \mathstrut:: Add some vertical space to a formula. File: latex2e.info, Node: \smash, Next: \phantom & \vphantom & \hphantom, Up: Spacing in math mode @@ -9862,7 +11128,7 @@ in the bottom line below. over smashing a subformula box. -File: latex2e.info, Node: \phantom & \vphantom & \hphantom, Prev: \smash, Up: Spacing in math mode +File: latex2e.info, Node: \phantom & \vphantom & \hphantom, Next: \mathstrut, Prev: \smash, Up: Spacing in math mode 16.6.2 '\phantom' & '\vphantom' & '\hphantom' --------------------------------------------- @@ -9881,21 +11147,31 @@ Synopsis: The '\phantom' command creates a box with the same height, depth, and width as SUBFORMULA, but empty. That is, this command causes LaTeX to -typeset the box but not its ink. The '\vphantom' variant also produces -an invisible box with the same height and depth as SUBFORMULA, but it -has width zero. And '\hphantom' makes a box with the same width as -SUBFORMULA but with height and depth zero. +typeset the space but not fill it with the material. Here LaTeX will +put a box of the right size for the quotation, but empty. + + \fbox{\phantom{Conservatism is the fear-filled worship of dead radicals. + --- Mark Twain}} - Without the '\vphantom' in this example, the top bars of the two -square roots would be at different heights. + The '\vphantom' variant produces an invisible box with the same +vertical size as SUBFORMULA, the same height and depth, but having zero +width. And '\hphantom' makes a box with the same width as SUBFORMULA +but with zero height and depth. - \( \sqrt{\vphantom{a^3}a}\cdot\sqrt{a^3} \) + In this example, the tower of exponents in the second summand +expression is so tall that TeX places this expression further down than +its default. Without adjustment, the two summand expressions would be +at different levels. The '\vphantom' in the first expression tells TeX +to leave as much vertical room as it does for the tower, so the two +expressions come out at the same level. - The '\vphantom{a^3}' causes the first '\sqrt' to have inside it a box -of the same height as the second '\sqrt', so LaTeX makes the bars align. + \begin{displaymath} + \sum_{j\in\{0,\ldots\, 10\}\vphantom{3^{3^{3^j}}}} + \sum_{i\in\{0,\ldots\, 3^{3^{3^j}}\}} i\cdot j + \end{displaymath} - These commands often are combined with '\smash'. *Note \smash:: for -another example of the use of '\vphantom'. + These commands are often used in conjunction with '\smash'. *Note +\smash::, which includes another example of '\vphantom'. The three phantom commands appear often but note that LaTeX provides a suite of other commands to work with box sizes that may be more @@ -9916,6 +11192,31 @@ mode. So if one of these starts a paragraph then you should prefix it with '\leavevmode'. +File: latex2e.info, Node: \mathstrut, Prev: \phantom & \vphantom & \hphantom, Up: Spacing in math mode + +16.6.3 '\mathstrut' +------------------- + +Synopsis: + + \mathstrut + + The analogue of '\strut' for mathematics. *Note \strut::. + + The input '$\sqrt{x} + \sqrt{x^i}$' gives output where the second +radical is taller than the first. To add extra vertical space without +any horizontal space, so that the two have the same height, use +'$\sqrt{x\mathstrut} + \sqrt{x^i\mathstrut}$'. + + The '\mathstrut' command adds the vertical height of an open +parenthesis, '(', but no horizontal space. It is defined as +'\vphantom{(}', so see *note \phantom & \vphantom & \hphantom:: for +more. An advantage over '\strut' is that '\mathstrut' adds no depth, +which is often the right thing for formulas. Using the height of an +open parenthesis is just a convention; for complete control over the +amount of space, use '\rule' with a width of zero. *Note \rule::. + + File: latex2e.info, Node: Math miscellany, Prev: Spacing in math mode, Up: Math formulas 16.7 Math miscellany @@ -9929,7 +11230,6 @@ that don't fit into other categories. * Colon character & \colon:: Colon. * \*:: Discretionary multiplication. * \frac:: Fraction. -* \left & \right:: Paired delimiters. * \sqrt:: Radicals. * \stackrel:: Text over a relation. @@ -9967,7 +11267,7 @@ Synopsis: \* A multiplication symbol that allows a line break. If there is a -break then LaTeX puts a '\times' symbol, U+00D7, before that break. +break then LaTeX puts a '\times' symbol, ×, before that break. In '\( A_1\* A_2\* A_3\* A_4 \)', if there is no line break then LaTeX outputs it as though it were '\( A_1 A_2 A_3 A_4 \)'. If a line @@ -9976,7 +11276,7 @@ sets it like '\( A_1 A_2 \times \)', followed by the break, followed by '\( A_3 A_4 \)'. -File: latex2e.info, Node: \frac, Next: \left & \right, Prev: \*, Up: Math miscellany +File: latex2e.info, Node: \frac, Next: \sqrt, Prev: \*, Up: Math miscellany 16.7.3 '\frac' -------------- @@ -9991,47 +11291,9 @@ comes out small; see the discussion of '\displaystyle' (*note Math formulas::). -File: latex2e.info, Node: \left & \right, Next: \sqrt, Prev: \frac, Up: Math miscellany - -16.7.4 '\left' & '\right' -------------------------- +File: latex2e.info, Node: \sqrt, Next: \stackrel, Prev: \frac, Up: Math miscellany -Synopsis: - - \left DELIMITER1 ... \right DELIMITER2 - - Make matching parentheses, braces, or other delimiters. The -delimiters are sized according to the math they enclose. This makes a -unit vector surrounded by appropriate-height parentheses. - - \begin{equation} - \left(\begin{array}{c} - 1 \\ - 0 \\ - \end{array}\right) - - Every '\left' must have a matching '\right'. Leaving out the -'\left(' in the above gets 'Extra \right'. Leaving off the '\right)' -gets 'You can't use `\eqno' in math mode'. - - However, the two delimiters DELIMITER1 and DELIMITER2 need not match. -A common case is that you want an unmatched brace, as below. Use a -period, '.', as a null delimiter. - - \begin{equation} - f(n)=\left\{\begin{array}{ll} - 1 &\mbox{--if \(n=0\)} \\ - f(n-1)+3n^2 &\mbox{--else} - \end{array}\right. - \end{equation} - -Note that to get a curly brace as a delimiter you must prefix it with a -backslash, '\{'. - - -File: latex2e.info, Node: \sqrt, Next: \stackrel, Prev: \left & \right, Up: Math miscellany - -16.7.5 '\sqrt' +16.7.4 '\sqrt' -------------- Synopsis, one of: @@ -10050,7 +11312,7 @@ steeper, until for a large enough 'arg', it is vertical). File: latex2e.info, Node: \stackrel, Prev: \sqrt, Up: Math miscellany -16.7.6 '\stackrel' +16.7.5 '\stackrel' ------------------ Synopsis, one of: @@ -10178,7 +11440,7 @@ Synopsis: Generate a title. In the standard classes the title appears on a separate page, except in the 'article' class where it is at the top of -the first page. (*Note Document class options:: for information about +the first page. (*Note Document class options::, for information about the 'titlepage' document class option.) This example shows '\maketitle' appearing in its usual place, @@ -10438,7 +11700,7 @@ Horizontal space * \hfill:: Stretchable horizontal space. * \hss:: Infinitely stretchable/shrinkable horizontal space. * \spacefactor:: Stretchability of following space -* \(SPACE):: Backslash-space; and explicit space. +* \(SPACE):: Backslash-space, and explicit space. * ~:: Tie, an unbreakable space. * \thinspace & \negthinspace:: One-sixth of an em, and negative one-sixth. * \/:: Italic correction. @@ -10477,7 +11739,7 @@ points (*note Lengths/em::). \qquad\includegraphics{mensmile.png} \end{center} -*Note Spacing in math mode:: for '\quad' and '\qquad'. These are +*Note Spacing in math mode::, for '\quad' and '\qquad'. These are lengths from centuries of typesetting and so may be a better choice in many circumstances than arbitrary lengths, such as you get with '\hspace'. @@ -10733,7 +11995,7 @@ The second causes spacing between sentences to stretch or shrink more space between sentences (or spaces following a question mark, exclamation point, comma, or colon) more than the space between words that are in the middle of a sentence. Declaring '\frenchspacing' (the -command is from Plain TeX) switches to the tradition that all spaces are +command is from plain TeX) switches to the tradition that all spaces are treated equally. @@ -10788,7 +12050,7 @@ follows, as in '\TeX\ is nice'. (But using curly parentheses, as in '\TeX{} is best', has the advantage of still working if the next character is a period.) The other common use is that it marks a period as ending an abbreviation instead of ending a sentence, as in 'So says -Prof.\ Smith' (*note \@::). +Prof.\ Smith' or 'Jones et al.\ (1993)' (*note \@::). Under normal circumstances, '\'<tab> and '\'<newline> are equivalent to backslash-space, '\ '. @@ -10815,22 +12077,29 @@ In addition, despite the period, LaTeX does not use the end-of-sentence spacing (*note \@::). Ties prevent the end of line separation of things where that could -cause confusion. But they also reduce LaTeX's options when it breaks -lines into paragraphs, so you can use too many. They are also matters -of taste, sometimes alarmingly dogmatic taste, among readers. -Nevertheless, here are some usage models, many of them from the TeXbook. +cause confusion. They also still allow hyphenation (of either of the +tied words), so they are generally preferable to putting consecutive +words in an '\mbox' (*note \mbox & \makebox::). + + They are also matters of taste, sometimes alarmingly dogmatic taste, +among readers. Nevertheless, here are some usage models, many of them +from 'The TeXbook'. * Between an enumerator and its item, such as in references: 'Chapter~12', or 'Theorem~\ref{th:Wilsons}', or - 'Figure~\ref{fig:KGraph}'. When cases are enumerated inline: - '(b)~Show that $f(x)$ is (1)~continuous, and (2)~bounded'. + 'Figure~\ref{fig:KGraph}'. + + * When cases are enumerated inline: '(b)~Show that $f(x)$ is + (1)~continuous, and (2)~bounded'. * Between a number and its unit: '$745.7.8$~watts' (the 'siunitx' package has a special facility for this) or '144~eggs'. This includes between a month and a date: 'October~12' or '12~Oct'. In general, in any expressions where numbers and abbreviations or symbols are separated by a space: 'AD~565', or '2:50~pm', or - 'Boeing~747', or '268~Plains Road', or '\$$1.4$~billion'. + 'Boeing~747', or '268~Plains Road', or '\$$1.4$~billion'. Other + common choices here are a thin space (*note \thinspace & + \negthinspace::) and no space at all. * When mathematical phrases are rendered in words: 'equals~$n$', or 'less than~$\epsilon$', or 'given~$X$', or 'modulo~$p^e$ for all @@ -10844,13 +12113,10 @@ Nevertheless, here are some usage models, many of them from the TeXbook. * Between symbols in series: '$1$,~$2$, or~$3$' or '$1$,~$2$, \ldots,~$n$'. - * Between a person's forenames and between multiple surnames: - 'Donald~E. Knuth', or 'Luis~I. Trabb~Pardo', or 'Charles~XII' (but - you must give TeX places to break the line so you may do 'Charles - Louis Xavier~Joseph de~la Vall\'ee~Poussin'). - - * Before a dash: 'pages 12~--14' or 'it is~--- it must be said~--- - plausible'. + * Between a person's given names and between multiple surnames: + 'Donald~E. Knuth', or 'Luis~I. Trabb~Pardo', or 'Charles~XII'--but + you must give TeX places to break the line so you might do 'Charles + Louis Xavier~Joseph de~la Vall\'ee~Poussin'. File: latex2e.info, Node: \thinspace & \negthinspace, Next: \/, Prev: ~, Up: Spaces @@ -10863,21 +12129,25 @@ Synopsis, one of: \thinspace \negthinspace - Produce an unbreakable and unstretchable space of 1/6em and -1/6em. -These are the text mode equivalents of '\,' and '\!' (*note Spacing in -math mode/\thinspace::). You can use '\,' as a synonym for '\thinspace' -in text mode. + These produce unbreakable and unstretchable spaces of 1/6em and +-1/6em, respectively. These are the text mode equivalents of '\,' and +'\!' (*note Spacing in math mode/\thinspace::). - The '\negthinspace' command is used in text mode mostly for fiddling -with spaces. One common use of '\thinspace' is as the space between -nested quotes. + You can use '\,' as a synonym for '\thinspace' in text mode. + + One common use of '\thinspace' is as the space between nested quotes: Killick replied, ``I heard the Captain say, `Ahoy there.'\thinspace'' Another use is that some style guides call for a '\thinspace' between an -ellipsis and a sentence ending period (other style guides, though, think -the three dots are quite enough already). Still another use is between -initials, as in 'D.\thinspace E.\ Knuth'. +ellipsis and a sentence ending period (other style guides, think the +three dots and/or four dots are plenty). Another style-specific use is +between initials, as in 'D.\thinspace E.\ Knuth'. + + LaTeX provides a variety of similar spacing commands (*note Spacing +in math mode::). With 'amsmath', or as of the 2020-10-01 LaTeX release, +they can be used in text mode as well as math mode, including '\!' for +'\negthinspace'; before that, they were available only in math mode. File: latex2e.info, Node: \/, Next: \hrulefill & \dotfill, Prev: \thinspace & \negthinspace, Up: Spaces @@ -10890,32 +12160,42 @@ Synopsis: BEFORE-CHARACTER\/AFTER-CHARACTER Insert an "italic correction", a small space defined by the font -designer for each character, to avoid the character colliding with -whatever follows. When you use '\/', LaTeX takes the correction from -the font metric file, scales it by any scaling that has been applied to -the font, and then inserts that much horizontal space. +designer for each character (possibly zero), to avoid the character +colliding with whatever follows. When you use '\/', LaTeX takes the +correction from the font metric file, scales it by any scaling that has +been applied to the font, and then inserts that much horizontal space. Here, were it not for the '\/', the BEFORE-CHARACTER italic f would hit the AFTER-CHARACTER roman H \newcommand{\companylogo}{{\it f}\/H} -because the italic letter leans far to the right. +because the italic letter f leans far to the right. If AFTER-CHARACTER is a period or comma then don't insert an italic -correction since those punctuation symbols have a very small height. -However, with semicolons or colons as well as with normal letters, the -italic correction can help. +correction since those punctuation symbols are so low to the baseline +already. However, with semicolons or colons, as well as with normal +letters, the italic correction can help. It is typically used between a +switch from italic or slanted fonts to an upright font. - When you use commands such as '\textit' or '\itshape' to change -fonts, LaTeX will automatically insert any needed italic correction -(*note Font styles::). + When you use commands such as '\emph' and '\textit' and '\textsl' to +change fonts, LaTeX automatically inserts the italic correction when +needed (*note Font styles::). However, declarations such as '\em' and +'\itshape' and '\slshape' do not automatically insert italic +corrections. - Roman characters can also have an italic correction. An example is -in the name 'pdf\/\TeX'. + Upright characters can also have an italic correction. An example +where this is needed is the name 'pdf\/\TeX'. However, most upright +characters have a zero italic correction. Some font creators do not +include italic correction values even for italic fonts. - There is no concept of italic correction in math mode; spacing is -done in a different way. + Technically, LaTeX uses another font-specific value, the so-called +slant parameter (namely '\fontdimen1'), to determine whether to possibly +insert an italic correction, rather than tying the action to particular +font commands. + + There is no concept of italic correction in math mode; math spacing +is done in a different way. File: latex2e.info, Node: \hrulefill & \dotfill, Next: \bigskip & \medskip & \smallskip, Prev: \/, Up: Spaces @@ -11161,7 +12441,7 @@ component (*note Lengths::). \vspace{1ex plus 0.5ex} The new day dawned cold. -(*Note \bigskip & \medskip & \smallskip:: for common inter-paragraph +(*Note \bigskip & \medskip & \smallskip::, for common inter-paragraph spaces.) The '*'-version inserts vertical space that non-discardable. More @@ -11261,7 +12541,7 @@ from the first 'addvspace'. Now uncomment the second '\addvspace'. It does not make the gap 20pt longer; instead the gap is the sum of '\baselineskip' and 20pt. So -'\addvspace' in a sense does the opposite of its name -- it makes sure +'\addvspace' in a sense does the opposite of its name--it makes sure that multiple vertical spaces do not accumulate, but instead that only the largest one is used. @@ -11315,14 +12595,14 @@ mode (*note Modes::) so it is not broken into lines. The '\mbox' command is robust, while '\makebox' is fragile (*note \protect::). Because 'text' is not broken into lines, you can use '\mbox' to -prevent hyphenation. In this example, LaTeX will not hyphenate the -table name, 'T-4'. +prevent hyphenation. In this example, LaTeX will not hyphenate the tank +name, 'T-34'. - See Table~\mbox{T-4} + The soviet tank \mbox{T-34} is a symbol of victory against nazism. - The first two command versions, '\mbox' and '\makebox', are roughly -equivalent. They create a box just wide enough to contain the TEXT. -(They are like plain TeX's '\hbox'.) + The first two command synopsis versions, '\mbox' and '\makebox', are +roughly equivalent. They create a box just wide enough to contain the +TEXT. (They are like plain TeX's '\hbox'.) In the third version the optional argument WIDTH specifies the width of the box. Note that the space occupied by the text need not equal the @@ -11342,8 +12622,9 @@ the natural size you can say this. \makebox[2\width]{Get a stretcher} - For the fourth command version the optional argument POSITION gives -position of the text within the box. It may take the following values: + For the fourth command synopsis version the optional argument +POSITION gives position of the text within the box. It may take the +following values: 'c' The TEXT is centered (default). @@ -11370,11 +12651,11 @@ puts the value of the quiz questions to the left of those questions. \pts{90}An African or European swallow? - The right edge of the output '10 points ' (note the ending space) -will be just before the 'What' (note the space after 'points'). You can -use '\makebox' similarly when making graphics, such as in 'TikZ' or -'Asymptote', where you put the edge of the text at a known location, -regardless of the length of that text. + The right edge of the output '10 points ' (note the ending space +after 'points') will be just before the 'What'. You can use '\makebox' +similarly when making graphics, such as in 'TikZ' or 'Asymptote', where +you put the edge of the text at a known location, regardless of the +length of that text. For boxes with frames see *note \fbox & \framebox::. For colors see *note Colored boxes::. @@ -11383,11 +12664,11 @@ see *note Colored boxes::. 'picture' environment, where the length is given in terms of '\unitlength' (*note \makebox (picture)::). - If you put a double-backslash into TEXT then LaTeX will not give you -a new line; for instance '\makebox{abc def \\ ghi}' outputs 'abc defghi' -while '\makebox{abc def \par ghi}' outputs 'abc def ghi', but neither go -to a second line. To get multiple lines see *note \parbox:: and *note -minipage::. + As TEXT is typeset in LR mode, neither a double backslash '\\' nor +'\par' will give you a new line; for instance '\makebox{abc def \\ ghi}' +outputs 'abc defghi' while '\makebox{abc def \par ghi}' outputs 'abc def +ghi', both on a single line. To get multiple lines see *note \parbox:: +and *note minipage::. File: latex2e.info, Node: \fbox & \framebox, Next: \parbox, Prev: \mbox & \makebox, Up: Boxes @@ -11417,7 +12698,7 @@ a frame. are roughly the same. As to the third and fourth invocations, the optional arguments allow you to specify the box width as WIDTH and the position of the text inside that box as POSITION. *Note \mbox & -\makebox:: for the full description but here is an example creating an +\makebox::, for the full description but here is an example creating an empty box that is 1/4in wide. \setlength{\fboxsep}{0pt}\framebox[0.25in]{\strut}} @@ -11454,7 +12735,7 @@ frame the result. And if you wish to go anywhere you must run twice as fast as that. \end{minipage}} - *Note Colored boxes:: for colors other than black and white. + *Note Colored boxes::, for colors other than black and white. The 'picture' environment has a version of this command where the units depend on 'picture''s '\unitlength' (*note \framebox (picture)::). @@ -11497,12 +12778,12 @@ CONTENTS. The CONTENTS is the text that is placed in that box. It should not have any paragraph-making components. There are three optional arguments, POSITION, HEIGHT, and INNER-POS. -The POSITION gives the vertical alignment of the 'parbox' with respect -to the surrounding material. The possible values are 'c' or 'm' to make -the vertical center of the 'parbox' lines up with the center of the -adjacent line (this is the default), or 't' to match the top line of the -'parbox' with the baseline of the surrounding material, or 'b' to match -the bottom line. +The POSITION gives the vertical alignment of the "parbox" with respect +to the surrounding material. The supported values are 'c' or 'm' to +make the vertical center of the parbox lines up with the center of the +adjacent text line (this is the default), or 't' to match the top line +of the parbox with the baseline of the surrounding material, or 'b' to +match the bottom line. The optional argument HEIGHT overrides the natural height of the box. @@ -11527,10 +12808,10 @@ Synopsis, one of: Raise or lower TEXT. This command is fragile (*note \protect::). - This example makes a command for the restriction of a function by -lowering the vertical bar symbol. + This example makes a command for denoting the restriction of a +function by lowering the vertical bar symbol. - \newcommand\restricted[1]{\raisebox{-.5ex}{$|$}_{#1}} + \newcommand*\restricted[1]{\raisebox{-.5ex}{$|$}_{#1}} $f\restricted{A}$ The first mandatory argument DISTANCE specifies how far to raise the @@ -11549,7 +12830,7 @@ is the box's height plus its depth). This will align two graphics on their top (*note Graphics::). - \usepackage{graphicx} \usepackage{calc} % in preamble + \usepackage{graphicx,calc} % in preamble ... \begin{center} \raisebox{1ex-\height}{% @@ -11576,40 +12857,41 @@ Synopsis, one of: \savebox{BOX-CMD}[WIDTH][POS]{TEXT} Typeset TEXT just as with '\makebox' (*note \mbox & \makebox::) -except that LaTeX does not output it but instead saves it in a storage -bin named BOX-CMD. The bin name BOX-CMD begins with a backslash, '\'. -You must have previously allocated the bin BOX-CMD with '\newsavebox' -(*note \newsavebox::).The '\sbox' command is robust while '\savebox' is +except that LaTeX does not output it but instead saves it in a box +register referred to by a variable named BOX-CMD. The variable name +BOX-CMD begins with a backslash, '\'. You must have previously +allocated the box register BOX-CMD with '\newsavebox' (*note +\newsavebox::). The '\sbox' command is robust while '\savebox' is fragile (*note \protect::). - This creates and uses a bin. + This creates and uses a box register. \newsavebox{\fullname} \sbox{\fullname}{John Jacob Jingleheimer Schmidt} ... \usebox{\fullname}! His name is my name, too! Whenever we go out, the people always shout! - There goes \\usebox{\fullname}! Ya da da da da da da. + There goes \usebox{\fullname}! Ya da da da da da da. -One advantage of using and reusing a bin over a '\newcommand' is -efficiency, that LaTeX need not repeatedly retypeset the contents. See -the example below. +One advantage of using and reusing a box register over a '\newcommand' +macro variable is efficiency, that LaTeX need not repeatedly retypeset +the contents. See the example below. The first two command invocations, '\sbox{BOX-CMD}{TEXT}' and '\savebox{BOX-CMD}{TEXT}', are roughly equivalent. As to the third and fourth, the optional arguments allow you to specify the box width as WIDTH, and the position of the text inside that box as POSITION. *Note -\mbox & \makebox:: for the full description. +\mbox & \makebox::, for the full description. In the '\sbox' and '\savebox' commands the TEXT is typeset in LR mode so it does not have line breaks (*note Modes::). If you use these then LaTeX doesn't give you an error but it ignores what you want: if you -enter '\sbox{\newbin}{test \\ test}' and '\usebox{\newbin}' then you get -'testtest', while if you enter '\sbox{\newbin}{test \par test}' and -'\usebox{\newbin}' then you get 'test test', but no error or warning. +enter '\sbox{\newreg}{test \\ test}' and '\usebox{\newreg}' then you get +'testtest', while if you enter '\sbox{\newreg}{test \par test}' and +'\usebox{\newreg}' then you get 'test test', but no error or warning. To fix this use a '\parbox' or 'minipage' as here. - \savebox{\abin}{% + \savebox{\areg}{% \begin{minipage}{\linewidth} \begin{enumerate} \item First item @@ -11617,15 +12899,15 @@ To fix this use a '\parbox' or 'minipage' as here. \end{enumerate} \end{minipage}} ... - \usebox{\abin} + \usebox{\areg} - As an example of the efficiency of reusing a bin's contents, this -puts the same picture on each page of the document by putting it in the -header. LaTeX only typesets it once. + As an example of the efficiency of reusing a register's contents, +this puts the same picture on each page of the document by putting it in +the header. LaTeX only typesets it once. \usepackage{graphicx} % all this in the preamble - \newsavebox{\sealbin} - \savebox{\sealbin}{% + \newsavebox{\sealreg} + \savebox{\sealreg}{% \setlength{\unitlength}{1in}% \begin{picture}(0,0)% \put(1.5,-2.5){% @@ -11635,13 +12917,13 @@ header. LaTeX only typesets it once. \end{tabular}} \end{picture}% } - \markright{\usebox{\sealbin}} + \markright{\usebox{\sealreg}} \pagestyle{headings} The 'picture' environment is good for fine-tuning the placement. - If the bin has not already been defined then you get something like -'Undefined control sequence. <argument> \nobin'. + If the register '\noreg' has not already been defined then you get +something like 'Undefined control sequence. <argument> \noreg'. File: latex2e.info, Node: lrbox, Next: \usebox, Prev: \sbox & \savebox, Up: Boxes @@ -11655,24 +12937,25 @@ Synopsis: TEXT \end{lrbox} - The TEXT inside the environment is saved in the bin 'BOX-CMD'. The -BOX-CMD must begin with a backslash. You must create this bin in -advance with '\newsavebox' (*note \newsavebox::). This is the -environment form of the '\sbox' and '\savebox' commands, and is -equivalent to them. *Note \sbox & \savebox:: for the full information. + This is the environment form of the '\sbox' and '\savebox' commands, +and is equivalent to them. for the full description, *Note \sbox & +\savebox::. - In this example the environment is convenient for entering the -'tabular'. + The TEXT inside the environment is saved in the box register referred +to by variable 'BOX-CMD'. The variable name BOX-CMD must begin with a +backslash, '\'. You must allocate this box register in advance with +'\newsavebox' (*note \newsavebox::). In this example the environment is +convenient for entering the 'tabular'. - \newsavebox{\jhbin} - \begin{lrbox}{\jhbin} + \newsavebox{\jhreg} + \begin{lrbox}{\jhreg} \begin{tabular}{c} \includegraphics[height=1in]{jh.png} \\ Jim Hef{}feron \end{tabular} \end{lrbox} ... - \usebox{\jhbin} + \usebox{\jhreg} File: latex2e.info, Node: \usebox, Prev: lrbox, Up: Boxes @@ -11684,10 +12967,11 @@ Synopsis: \usebox{BOX-CMD} - Produce the box most recently saved in the bin BOX-CMD by the -commands '\sbox' or '\savebox', or the 'lrbox' environment. *Note \sbox -& \savebox:: for more information and examples. (Note that BOX-CMD -starts with a backslash.) This command is robust (*note \protect::). + Produce the box most recently saved in the box register BOX-CMD by +the commands '\sbox' or '\savebox', or the 'lrbox' environment. For +more information and examples, *Note \sbox & \savebox::. (Note that the +variable name BOX-CMD starts with a backslash, '\'.) This command is +robust (*note \protect::). File: latex2e.info, Node: Color, Next: Graphics, Prev: Boxes, Up: Top @@ -11904,7 +13188,7 @@ style but sometimes you want a one-off. Those are the second forms in the synopses. Colors of \textcolor[rgb]{0.33,0.14,0.47}{Purple} and - {\color[rgb]{0.72,0.60,0.37} Gold} for the team. + {\color[rgb]{0.72,0.60,0.37}Gold} for the team. The format of COLOR SPECIFICATION depends on the color model (*note Color models::). For instance, while 'rgb' takes three numbers, 'gray' @@ -12071,7 +13355,7 @@ with a '.def' extension, such as 'pdftex.def'. '\includegraphics' command). 'draft' - For each graphic file, it is not shown but instead the file name is + For each graphic file, it is not shown but instead its file name is printed in a box of the correct size. In order to determine the size, the file must be present. @@ -12124,14 +13408,15 @@ File: latex2e.info, Node: \graphicspath, Next: \DeclareGraphicsExtensions, Up Synopsis: - \graphicspath{LIST OF DIR NAMES INSIDE CURLY BRACKETS} + \graphicspath{LIST OF DIRECTORIES INSIDE CURLY BRACES} Declare a list of directories to search for graphics files. This allows you to later say something like '\includegraphics{lion.png}' instead of having to give its path. - LaTeX always looks for graphic files first in the current directory. -The declaration below tells the system to then look in the subdirectory + LaTeX always looks for graphic files first in the current directory +(and the output directory, if specified; *note output directory::). The +declaration below tells the system to then look in the subdirectory 'pix', and then '../pix'. \usepackage{graphicx} % or graphics; put in preamble @@ -12159,9 +13444,9 @@ the current directory, ... \usepackage{lion.png} -for each of the listed directories, LaTeX concatenates it with the file -name and searches for the result, checking for 'pix/lion.png' and then -'../pix/lion.png'. This algorithm means that the '\graphicspath' +for each of the listed directories, LaTeX concatenates it with the +filename and searches for the result, checking for 'pix/lion.png' and +then '../pix/lion.png'. This algorithm means that the '\graphicspath' command does not recursively search subdirectories: if you issue '\graphicspath{{a/}}' and the graphic is in 'a/b/lion.png' then LaTeX will not find it. It also means that you can use absolute paths such as @@ -12203,7 +13488,7 @@ files. ... \includegraphics{lion} % will find lion.png before lion.pdf -Because the file name 'lion' does not have a period, LaTeX uses the +Because the filename 'lion' does not have a period, LaTeX uses the extension list. For each directory in the graphics path (*note \graphicspath::), LaTeX will try the extensions in the order given. If it does not find such a file after trying all the directories and @@ -12218,7 +13503,9 @@ Windows platform is not case sensitive. document; the printer driver has a sensible default. For example, the most recent 'pdftex.def' has this extension list. - .png,.pdf,.jpg,.mps,.jpeg,.jbig2,.jb2,.PNG,.PDF,.JPG,.JPEG,.JBIG2,.JB2 + .pdf,.png,.jpg,.mps,.jpeg,.jbig2,.jb2,.PDF,.PNG,.JPG,.JPEG,.JBIG2,.JB2 + + To change the order, use the 'grfext' package. You can use this command anywhere in the document. You can use it more than once. Show its value with @@ -12256,7 +13543,7 @@ extension not covered by another rule, so it covers 'filename.1', EXTENSION The file extension to which this rule applies. The extension is anything after and including the first dot in the filename. Use - the Kleene star, '*', to denote the default behaviour for all + the Kleene star, '*', to denote the default behavior for all undeclared extensions. TYPE @@ -12287,7 +13574,7 @@ SIZE-FILE EXTENSION COMMAND A command that will be applied to the file. This is very often - left blank. This command must start with a single backward quote. + left empty. This command must start with a single backward quote. Thus, '\DeclareGraphicsRule{.eps.gz}{eps}{.eps.bb}{`gunzip -c #1}' specifies that any file with the extension '.eps.gz' should be treated as an 'eps' file, with the BoundingBox information stored @@ -12360,10 +13647,10 @@ to search for the file, *note \graphicspath::. example is '\includegraphics{"sister picture.jpg"}'. The '\includegraphics{FILENAME}' command decides on the type of -graphic by splitting FILENAME on the first dot. You can use FILENAME -with no dot, as in '\includegraphics{turing}' and then LaTeX tries a -sequence of extensions such as '.png' and '.pdf' until it finds a file -with that extension (*note \DeclareGraphicsExtensions::). +graphic by splitting FILENAME on the first dot. You can instead use +FILENAME with no dot, as in '\includegraphics{turing}', and then LaTeX +tries a sequence of extensions such as '.png' and '.pdf' until it finds +a file with that extension (*note \DeclareGraphicsExtensions::). If your file name contains dots before the extension then you can hide them with curly braces, as in @@ -12372,9 +13659,9 @@ hide them with curly braces, as in below. This and other filename issues are also handled with the package 'grffile'. - This example puts a graphic in a figure environment so LaTeX can move -it to the next page if fitting it on the current page is awkward (*note -figure::). + This example puts a graphic in a 'figure' environment so LaTeX can +move it to the next page if fitting it on the current page is awkward +(*note figure::). \begin{figure} \centering @@ -12438,7 +13725,7 @@ two will end with different widths and heights. There are many options. The primary ones are listed first. Note that a graphic is placed by LaTeX into a box, which is -traditionally referred to as its bounding box (distinct from the +traditionally referred to as its "bounding box" (distinct from the PostScript BoundingBox described below). The graphic's printed area may go beyond this box, or sit inside this box, but when LaTeX makes up a page it puts together boxes and this is the box allocated for the @@ -12451,7 +13738,7 @@ graphic. convenient is '\linewidth', or in a two-column document, '\columnwidth' (*note Page layout parameters::). An example is that by using the 'calc' package you can make the graphic be 1 cm - narrow than the width of the text with + narrower than the width of the text with '\includegraphics[width=\linewidth-1.0cm]{hefferon.jpg}'. 'height' @@ -12482,7 +13769,7 @@ graphic. 'scale' Factor by which to scale the graphic. To make a graphic twice its nominal size, enter '\includegraphics[scale=2.0]{...}'. This - number may be any value; a number between 1 and 0 will shrink the + number may be any value; a number between 0 and 1 will shrink the graphic and a negative number will reflect it. 'angle' @@ -12510,10 +13797,10 @@ graphic. 'viewport' Pick out a subregion of the graphic to show. Takes four arguments, separated by spaces and given in TeX dimensions, as with - '\includegraphics[.., viewport=0in 0in 1in 0.618in]{...}'. The - dimensions default to big points, 'bp'. They are taken relative to - the origin specified by the bounding box. See also the 'trim' - option. + '\includegraphics[.., viewport=0in 0in 1in 0.618in]{...}'. When + the unit is omitted, the dimensions default to big points, 'bp'. + They are taken relative to the origin specified by the bounding + box. See also the 'trim' option. 'trim' Gives parts of the graphic to not show. Takes four arguments, @@ -12561,7 +13848,7 @@ graphic. 'quiet' Do not write information to the log. You can set it with 'quiet=true' or just specified it with - '\includegraphics[...,quite,...]{...}', + '\includegraphics[...,quiet,...]{...}', 'draft' If you set it with 'draft=true' or just specify it with @@ -12630,7 +13917,7 @@ the file 'lion.xxx' as though it were 'lion.png'. For more on these, 'command' Specify a command to be applied to this file. Only use this in - conjunction with the option 'type'. *Note Command line options:: + conjunction with the option 'type'. *Note Command line options::, for a discussion of enabling the '\write18' functionality to run external commands. @@ -12651,7 +13938,7 @@ Synopsis if you use the 'graphics' package: Put MATERIAL in a box and rotate it ANGLE degrees counterclockwise. - This example rotates the table column heads forty five degrees. + This example rotates the table column heads forty-five degrees. \begin{tabular}{ll} \rotatebox{45}{Character} &\rotatebox{45}{NATO phonetic} \\ @@ -12788,6 +14075,7 @@ meaning do not correspond to simple characters you can type. * Text symbols:: Inserting other non-letter symbols in text. * Accents:: Inserting accents. * Additional Latin letters:: Inserting other non-English characters. +* inputenc package:: Set the input file text encoding. * \rule:: Inserting lines and rectangles. * \today:: Inserting today's date. @@ -12799,7 +14087,8 @@ File: latex2e.info, Node: Reserved characters, Next: Upper and lower case, Up LaTeX sets aside the following characters for special purposes. For example, the percent sign '%' is for comments. They are called -"reserved characters" or "special characters". +"reserved characters" or "special characters". They are all discussed +elsewhere in this manual. # $ % & { } _ ~ ^ \ @@ -12810,12 +14099,13 @@ will produce '$1.23' in your output. As to the last three characters, to get a tilde in the text body font use '\~{}' (omitting the curly braces would result in the next character -receiving a tilde accent). Similarly, to get a get a text body font +receiving a tilde accent). Similarly, to get a text body font circumflex use '\^{}'. To get a backslash in the font of the text body, enter '\textbackslash{}'. To produce the reserved characters in a typewriter font use '\verb!!' -as below (the double backslash '\\' is only there to split the lines). +as below (the double backslash '\\' is only there to split the lines in +the output). \begin{center} \# \$ \% \& \{ \} \_ \~{} \^{} \textbackslash \\ @@ -12835,12 +14125,13 @@ Synopsis: \MakeUppercase{TEXT} \MakeLowercase{TEXT} - Change the case of characters. The TeX primitives commands -'\uppercase' and '\lowercase' only work for American characters. The -LaTeX commands '\MakeUppercase' and '\MakeLowercase' commands also -change characters accessed by commands such as '\ae' or '\aa'. The -commands '\MakeUppercase' and '\MakeLowercase' are robust but they have -moving arguments (*note \protect::). + Change the case of characters. The TeX primitive commands +'\uppercase' and '\lowercase' are set up by default to work only with +the 26 letters a-z and A-Z. The LaTeX commands '\MakeUppercase' and +'\MakeLowercase' commands also change characters accessed by commands +such as '\ae' or '\aa'. The commands '\MakeUppercase' and +'\MakeLowercase' are robust but they have moving arguments (*note +\protect::). These commands do not change the case of letters used in the name of a command within TEXT. But they do change the case of every other Latin @@ -12869,6 +14160,14 @@ standard LaTeX commands '\MakeUppercase' and '\MakeLowerCase'. To uppercase only the first letter of words, you can use the package 'mfirstuc'. + Handling all the casing rules specified by Unicode, e.g., for +non-Latin scripts, is a much bigger job than anything envisioned in the +original TeX and LaTeX. It has been implemented in the 'expl3' package +as of 2020. The article "Case changing: From TeX primitives to the +Unicode algorithm", (Joseph Wright, 'TUGboat' 41:1, +<https://tug.org/TUGboat/tb41-1/tb127wright-case.pdf>), gives a good +overview of the topic, past and present. + File: latex2e.info, Node: Symbols by font position, Next: Text symbols, Prev: Upper and lower case, Up: Special insertions @@ -12877,12 +14176,12 @@ File: latex2e.info, Node: Symbols by font position, Next: Text symbols, Prev: You can access any character of the current font using its number with the '\symbol' command. For example, the visible space character used in -the '\verb*' command has the code decimal 32, so it can be typed as -'\symbol{32}'. +the '\verb*' command has the code decimal 32 in the standard Computer +Modern typewriter font, so it can be typed as '\symbol{32}'. You can also specify numbers in octal (base 8) by using a ''' prefix, -or hexadecimal (base 16) with a '"' prefix, so the previous example -could also be written as '\symbol{'40}' or '\symbol{"20}'. +or hexadecimal (base 16) with a '"' prefix, so the visible space at 32 +decimal could also be written as '\symbol{'40}' or '\symbol{"20}'. File: latex2e.info, Node: Text symbols, Next: Accents, Prev: Symbols by font position, Up: Special insertions @@ -12892,18 +14191,20 @@ File: latex2e.info, Node: Text symbols, Next: Accents, Prev: Symbols by font LaTeX provides commands to generate a number of non-letter symbols in running text. Some of these, especially the more obscure ones, are not -available in OT1. Unless you are using XeLaTeX or LuaLaTeX then you may -need to load the 'textcomp' package. +available in OT1. As of the LaTeX February 2020 release, all symbols +are available by default; before that, it was necessary to use the +'textcomp' package for some (technically, those in the 'TS1' font +encoding). '\copyright' '\textcopyright' (C) The copyright symbol. '\dag' - U+2020 The dagger symbol (in text). + † The dagger symbol (in text). '\ddag' - U+2021 The double dagger symbol (in text). + ‡ The double dagger symbol (in text). '\LaTeX' The LaTeX logo. @@ -12911,11 +14212,11 @@ need to load the 'textcomp' package. '\LaTeXe' The LaTeX2e logo. -'\guillemotleft (<<)' -'\guillemotright (>>)' -'\guilsinglleft (<)' -'\guilsinglright (>)' - <<, >>, <, > Double and single angle quotation marks, commonly used +'\guillemotleft («)' +'\guillemotright (»)' +'\guilsinglleft (‹)' +'\guilsinglright (›)' + «, », ‹, › Double and single angle quotation marks, commonly used in French. '\ldots' @@ -12929,22 +14230,22 @@ need to load the 'textcomp' package. '\P' '\textparagraph' - U+00B6 Paragraph sign (pilcrow). + ¶ Paragraph sign (pilcrow). '\pounds' '\textsterling' - # English pounds sterling. + £ English pounds sterling. -'\quotedblbase (,,)' -'\quotesinglbase (,)' - ,, and , Double and single quotation marks on the baseline. +'\quotedblbase („)' +'\quotesinglbase (‚)' + „ and ‚ Double and single quotation marks on the baseline. '\rq' ' Right (closing) quote. '\S' '\textsection' - U+00A7 Section sign. + § Section sign. '\TeX' The TeX logo. @@ -12965,10 +14266,10 @@ need to load the 'textcomp' package. | Vertical bar. '\textbardbl' - U+23F8 Double vertical bar. + ⏸ Double vertical bar. '\textbigcircle' - U+25EF Big circle symbol. + ◯, Big circle symbol. '\textbraceleft' { Left brace. @@ -12980,7 +14281,7 @@ need to load the 'textcomp' package. * Bullet. '\textcircled{LETTER}' - U+24B6 Circle around LETTER. + Ⓐ, Circle around LETTER. '\textcompwordmark' '\textcapitalcompwordmark' @@ -12992,49 +14293,70 @@ need to load the 'textcomp' package. while the '\textascendercompwordmark' form has the ascender height. '\textdagger' - U+2020 Dagger. + † Dagger. '\textdaggerdbl' - U+2021 Double dagger. + ‡ Double dagger. '\textdollar (or '\$')' $ Dollar sign. '\textemdash (or '---')' - -- Em-dash (used for punctuation, as in 'The playoffs --- if you - are fortunate enough to make the playoffs --- is more like a - sprint.'). + -- Em-dash. Used for punctuation, usually similar to commas or + parentheses, as in ''The playoffs---if you're lucky enough to make + the playoffs---are more like a sprint.'' Conventions for spacing + around em-dashes vary widely. '\textendash (or '--')' - - En-dash (used for ranges, as in 'See pages 12--14'). + - En-dash. Used for ranges, as in ''see pages 12--14''. '\texteuro' - The Euro symbol: Euro. For an alternative glyph design, try the - 'eurosym' package; also, most fonts nowadays come with their own - Euro symbol (Unicode U+20AC). + The Euro currency symbol: €. + + For an alternative glyph design, try the 'eurosym' package; also, + most fonts nowadays come with their own Euro symbol (Unicode + U+20AC). '\textexclamdown (or '!`')' - ! Upside down exclamation point. + ¡ Upside down exclamation point. + +'\textfiguredash' + Dash used between numerals, Unicode U+2012. Defined in the June + 2021 release of LaTeX. When used in pdfTeX, approximated by an + en-dash; with a Unicode engine, either typesets the glyph if + available in the current font, or writes the usual "Missing + character" warning to the log file. '\textgreater' > Greater than symbol. +'\texthorizontalbar' + Horizontal bar character, Unicode U+2015. Defined in the June 2021 + release of LaTeX. Behavior as with '\textfiguredash' above; the + pdfTeX approximation is an em-dash. + '\textless' < Less than symbol. '\textleftarrow' - U+2190 Left arrow. + ←, Left arrow. + +'\textnonbreakinghyphen' + Non-breaking hyphen character, Unicode U+2011. Defined in the June + 2021 release of LaTeX. Behavior as with '\textfiguredash' above; + the pdfTeX approximation is a regular ASCII hyphen (with breaks + disallowed after). '\textordfeminine' '\textordmasculine' - a, o Feminine and masculine ordinal symbols. + ª, º Feminine and masculine ordinal symbols. '\textperiodcentered' - U+00B7 Centered period. + · Centered period. '\textquestiondown (or '?`')' - ? Upside down question mark. + ¿ Upside down question mark. '\textquotedblleft (or '``')' " Double left quote. @@ -13049,7 +14371,7 @@ need to load the 'textcomp' package. ' Single right quote. '\textquotesingle' - U+0027 Straight single quote. (From TS1 encoding.) + ', Straight single quote. (From TS1 encoding.) '\textquotestraightbase' '\textquotestraightdblbase' @@ -13059,22 +14381,22 @@ need to load the 'textcomp' package. (R) Registered symbol. '\textrightarrow' - U+2192 Right arrow. + →, Right arrow. '\textthreequartersemdash' - U+FE58 "Three-quarters" em-dash, between en-dash and em-dash. + ﹘, "Three-quarters" em-dash, between en-dash and em-dash. '\texttrademark' - U+2122 Trademark symbol. + ™ Trademark symbol. '\texttwelveudash' - U+FE58 "Two-thirds" em-dash, between en-dash and em-dash. + ﹘, "Two-thirds" em-dash, between en-dash and em-dash. '\textunderscore' _ Underscore. '\textvisiblespace' - U+2423 Visible space symbol. + ␣, Visible space symbol. File: latex2e.info, Node: Accents, Next: Additional Latin letters, Prev: Text symbols, Up: Special insertions @@ -13083,12 +14405,14 @@ File: latex2e.info, Node: Accents, Next: Additional Latin letters, Prev: Text ============ LaTeX has wide support for many of the world's scripts and languages, -through the 'babel' package and related support if you are using -pdfLaTeX, or 'polyglossia' if you are using XeLaTeX or LuaLaTeX. This -section does not cover that support. It only lists the core LaTeX -commands for creating accented characters. The '\capital...' commands -shown here produce alternative forms for use with capital letters. -These are not available with OT1. +provided through the core 'babel' package, which supports pdfLaTeX, +XeLaTeX and LuaLaTeX. The 'polyglossia' package provides similar +support with the latter two engines. + + This section does not cover that support. It only lists the core +LaTeX commands for creating accented characters. The '\capital...' +commands shown here produce alternative forms for use with capital +letters. These are not available with OT1. Below, to make them easier to find, the accents are all illustrated with lowercase 'o'. @@ -13099,33 +14423,33 @@ accented. '\"' '\capitaldieresis' - o" Umlaut (dieresis). + ö Umlaut (dieresis). '\'' '\capitalacute' - o' Acute accent. + ó Acute accent. '\.' - o. Dot accent. + ȯ Dot accent. '\=' '\capitalmacron' - o= Macron (overbar) accent. + ō Macron (overbar) accent. '\^' '\capitalcircumflex' - o^ Circumflex (hat) accent. + ô Circumflex (hat) accent. '\`' '\capitalgrave' - o` Grave accent. + ò Grave accent. '\~' '\capitaltilde' - n~ Tilde accent. + ñ Tilde accent. '\b' - o_ Bar accent underneath. + o̲ Bar accent underneath. Related to this, '\underbar{TEXT}' produces a bar under TEXT. The argument is always processed in LR mode (*note Modes::). The bar @@ -13135,40 +14459,91 @@ accented. '\c' '\capitalcedilla' - c, Cedilla accent underneath. + ç Cedilla accent underneath. '\d' '\capitaldotaccent' - .o Dot accent underneath. + ọ Dot accent underneath. '\H' '\capitalhungarumlaut' - o'' Long Hungarian umlaut accent. + ő Long Hungarian umlaut accent. '\k' '\capitalogonek' - o; Ogonek. Not available in the OT1 encoding. + ǫ Ogonek. Not available in the OT1 encoding. '\r' '\capitalring' - o* Ring accent. + o̊ Ring accent. '\t' '\capitaltie' '\newtie' '\capitalnewtie' - oo[ Tie-after accent. The '\newtie' form is centered in its box. + oo͡ Tie-after accent. The '\newtie' form is centered in its box. '\u' '\capitalbreve' - o( Breve accent. + ŏ Breve accent. '\v' '\capitalcaron' - o< Ha'c<ek (check, caron) accent. + ǒ Háček (check, caron) accent. + +* Menu: + +* \accent:: Low level command to produce an accented character. + + +File: latex2e.info, Node: \accent, Up: Accents + +23.5.1 '\accent' +---------------- + +Synopsis: + + \accent NUMBER CHARACTER + + A TeX primitive command used to generate accented characters from +accent marks and letters. The accent mark is selected by NUMBER, a +numeric argument, followed by a space and then a CHARACTER argument +constructs the accented character in the current font. + + These are accented 'e' characters. + + \accent18 e + \accent20 e + \accent21 e + \accent22 e + \accent23 e + +The first is a grave, the second is breve, etc. + + The position of the accent is determined by the font designer and so +the outcome of '\accent' use may differ between fonts. In LaTeX it is +desirable to have glyphs for accented characters rather than building +them using '\accent'. Using glyphs that already contain the accented +characters (as in T1 encoding) allows correct hyphenation whereas +'\accent' disables hyphenation (specifically with OT1 font encoding +where accented glyphs are absent). + + There can be an optional font change between NUMBER and CHARACTER. +Note also that this command sets the '\spacefactor' to 1000 (*note +\spacefactor::). + + An unavoidable characteristic of some Cyrillic letters and the +majority of accented Cyrillic letters is that they must be assembled +from multiple elements (accents, modifiers, etc.) while '\accent' +provides for a single accent mark and a single letter combination. +There are also cases where accents must appear between letters that +\accent does not support. Still other cases exist where the letters I +and J have dots above their lowercase counterparts that conflict with +dotted accent marks. The use of '\accent' in these cases will not work +as it cannot analyze upper/lower case. -File: latex2e.info, Node: Additional Latin letters, Next: \rule, Prev: Accents, Up: Special insertions +File: latex2e.info, Node: Additional Latin letters, Next: inputenc package, Prev: Accents, Up: Special insertions 23.6 Additional Latin letters ============================= @@ -13179,15 +14554,15 @@ English. '\aa' '\AA' - aa and AA. + å and Å. '\ae' '\AE' - ae and AE. + æ and Æ. '\dh' '\DH' - Icelandic letter eth: d and D. Not available with OT1 encoding, you + Icelandic letter eth: ð and Ð. Not available with OT1 encoding, you need the 'fontenc' package to select an alternate font encoding, such as T1. @@ -13203,7 +14578,7 @@ English. '\l' '\L' - /l and /L. + ł and Ł. '\ng' '\NG' @@ -13211,26 +14586,82 @@ English. '\o' '\O' - /o and /O. + ø and Ø. '\oe' '\OE' - oe and OE. + œ and Œ. '\ss' '\SS' - ss and SS. + ß and SS. '\th' '\TH' - Icelandic letter thorn: th and TH. Not available with OT1 encoding, + Icelandic letter thorn: þ and Þ. Not available with OT1 encoding, you need the 'fontenc' package to select an alternate font encoding, such as T1. -File: latex2e.info, Node: \rule, Next: \today, Prev: Additional Latin letters, Up: Special insertions +File: latex2e.info, Node: inputenc package, Next: \rule, Prev: Additional Latin letters, Up: Special insertions + +23.7 'inputenc' package +======================= + +Synopsis: -23.7 '\rule' + \usepackage[ENCODING-NAME]{inputenc} + + Declare the input file's text encoding to be ENCODING-NAME. The +default, if this package is not loaded, is UTF-8. Technically, +specifying the encoding name is optional, but in practice it is not +useful to omit it. + + In a computer file, the characters are stored according to a scheme +called the "encoding". There are many different encodings. The +simplest is ASCII, which supports 95 printable characters, not enough +for most of the world's languages. For instance, to typeset the +a-umlaut character ä in an ASCII-encoded LaTeX source file, the sequence +'\"a' is used. This would make source files for anything but English +hard to read; even for English, often a more extensive encoding is more +convenient. + + The modern encoding standard, in some ways a union of the others, is +UTF-8, one of the representations of Unicode. This is the default for +LaTeX since 2018. + + The 'inputenc' package is how LaTeX knows what encoding is used. For +instance, the following command explicitly says that the input file is +UTF-8 (note the lack of a dash). + + \usepackage[utf8]{inputenc} + + Caution: use 'inputenc' only with the pdfTeX engine (*note TeX +engines::). (The XeTeX and LuaTeX engines assume that the input file is +UTF-8 encoded.) If you invoke LaTeX with either the 'xelatex' command +or the 'lualatex' command, and try to declare a non-UTF-8 encoding with +'inputenc', such as 'latin1', then you will get the error 'inputenc is +not designed for xetex or luatex'. + + An 'inputenc' package error such as 'Invalid UTF-8 byte "96' means +that some of the material in the input file does not follow the encoding +scheme. Often these errors come from copying material from a document +that uses a different encoding than the input file; this one is a left +single quote from a web page using 'latin1' inside a LaTeX input file +that uses UTF-8. The simplest solution is to replace the non-UTF-8 +character with its UTF-8 equivalent, or use a LaTeX equivalent command +or character. + + In some documents, such as a collection of journal articles from a +variety of authors, changing the encoding in mid-document may be +necessary. Use the command '\inputencoding{ENCODING-NAME}'. The most +common values for ENCODING-NAME are: 'ascii', 'latin1', 'latin2', +'latin3', 'latin4', 'latin5', 'latin9', 'latin10', and 'utf8'. + + +File: latex2e.info, Node: \rule, Next: \today, Prev: inputenc package, Up: Special insertions + +23.8 '\rule' ============ Synopsis, one of: @@ -13240,8 +14671,8 @@ Synopsis, one of: Produce a "rule", a filled-in rectangle. - This produces a rectangular blob, sometimes called a Halmos symbol, -often used to mark the end of a proof. + This example produces a rectangular blob, sometimes called a Halmos +symbol, or just "qed", often used to mark the end of a proof: \newcommand{\qedsymbol}{\rule{0.4em}{2ex}} @@ -13263,12 +14694,12 @@ thickness is common in LaTeX. A rule that has zero width, or zero thickness, will not show up in the output, but can cause LaTeX to change the output around it. *Note -\strut:: for examples. +\strut::, for examples. File: latex2e.info, Node: \today, Prev: \rule, Up: Special insertions -23.8 '\today' +23.9 '\today' ============= Synopsis: @@ -13335,7 +14766,7 @@ with five included files. This will bring in material from 'pref.tex', 'chap1.tex', 'chap2.tex', 'append.tex', and 'bib.tex'. If you compile this file, and then comment -out all of the lines inside '\includeonly{...}' except for 'chap1,' and +out all of the lines inside '\includeonly{...}' except for 'chap1', and compile again, then LaTeX will only process the material in the first chapter. Thus, your output will appear more quickly and be shorter to print. However, the advantage of the '\includeonly' command is that @@ -13343,7 +14774,7 @@ LaTeX will retain the page numbers and all of the cross reference information from the other parts of the document so these will appear in your output correctly. - *Note Larger book template:: for another example of '\includeonly'. + *Note Larger book template::, for another example of '\includeonly'. * Menu: @@ -13374,12 +14805,13 @@ and this is 'chap1.tex'. This will not appear. This can be useful for putting documentation or comments at the end -of a file, or for avoiding junk characters that can be added during -mailing. It is also useful for debugging: one strategy to localize -errors is to put '\endinput' halfway through the included file and see -if the error disappears. Now, knowing which half contains the error, -moving '\endinput' to halfway through that area further narrows down the -location. This process rapidly finds the offending line. +of a file, or for avoiding junk characters that can be added if the file +is transmitted in the body of an email. It is also useful for +debugging: one strategy to localize errors is to put '\endinput' halfway +through the included file and see if the error disappears. Now, knowing +which half contains the error, moving '\endinput' to halfway through +that area further narrows down the location. This process rapidly finds +the offending line. After reading '\endinput', LaTeX continues to read to the end of the line, so something can follow this command and be read nonetheless. @@ -13407,10 +14839,12 @@ document. The '\include' command does three things: it executes '\clearpage' (*note \clearpage & \cleardoublepage::), then it inputs the material from 'FILENAME.tex' into the document, and then it does another -'\clearpage'. This command can only appear in the document body. The -'\includeonly' command controls which files will be read by LaTeX under -subsequent '\include' commands. Its list of filenames is -comma-separated, and it can only appear in the preamble. +'\clearpage'. This command can only appear in the document body. + + The '\includeonly' command controls which files will be read by LaTeX +under subsequent '\include' commands. Its list of filenames is +comma-separated. It must appear in the preamble or even earlier, e.g., +the command line; it can't appear in the document body. This example root document, 'constitution.tex', brings in three files, 'preamble.tex', 'articles.tex', and 'amendments.tex'. @@ -13437,7 +14871,7 @@ file just for editing convenience. Running LaTeX on 'constitution.tex' makes the material from the three files appear in the document but also generates the auxiliary files -'preamble.aux', 'articles.aux', and 'amendments.tex'. These contain +'preamble.aux', 'articles.aux', and 'amendments.aux'. These contain information such as page numbers and cross-references (*note Cross references::). If you now comment out '\includeonly''s lines with 'preamble' and 'amendments' and run LaTeX again then the resulting @@ -13452,9 +14886,9 @@ include all the files you call for with '\include' commands. The '\include' command makes a new page. To avoid that, see *note \input:: (which, however, does not retain the auxiliary information). - *Note Larger book template:: for another example using '\include' and -'\includeonly'. That example also uses '\input' for some material that -will not necessarily start on a new page. + *Note Larger book template::, for another example using '\include' +and '\includeonly'. That example also uses '\input' for some material +that will not necessarily start on a new page. File names can involve paths. @@ -13502,7 +14936,7 @@ also create 'athiesm.aux'.) If you '\include' the root file in itself then you first get 'LaTeX Error: Can be used only in preamble.' Later runs get 'TeX capacity exceeded, sorry [text input levels=15]'. To fix this, you must remove -the inclusion '\include{root}' but also delete the file 'ROOT.aux' and +the inclusion '\include{ROOT}' but also delete the file 'ROOT.aux' and rerun LaTeX. @@ -13591,7 +15025,7 @@ LaTeX will produce a table of contents on the book's first page. Uncommenting the second line would cause that table to contain chapter and section listings but not subsection listings, because the '\section' -command has level 1. *Note Sectioning:: for level numbers of the +command has level 1. *Note Sectioning::, for level numbers of the sectioning units. For more on the 'tocdepth' *note Sectioning/tocdepth::. @@ -13601,7 +15035,7 @@ book template::. If you want a page break after the table of contents, write a '\newpage' command after the '\tableofcontents' command, as above. - To make the table of contents LaTeX stores the information in an + To make the table of contents, LaTeX stores the information in an auxiliary file named 'ROOT-FILE.toc' (*note Splitting the input::). For example, this LaTeX file 'test.tex' @@ -13612,64 +15046,134 @@ example, this LaTeX file 'test.tex' \subsection{First subsection} ... -writes the following line to 'test.toc'. +writes these lines to 'test.toc'. \contentsline {section}{\numberline {1}First section}{2} \contentsline {subsection}{\numberline {1.1}First subsection}{2} -The 'section' or 'subsection' is the sectioning unit. The hook -'\numberline' lets you to change how the information appears in the -table of contents. Of its two arguments, '1' or '1.1' is the sectioning -unit number and 'First section' or 'First subsection' is the title. -Finally, '2' is the page number on which the sectioning units start. - - One consequence of this auxiliary file storage strategy is that to -get the contents page correct you must run LaTeX twice, once to store -the information and once to get it. In particular, the first time that -you run LaTeX on a new document, the table of contents page will be -empty except for its 'Contents' header. Just run it again. +Each line contains a single command, '\contentsline' (*note +\contentsline::). The first argument, the 'section' or 'subsection', is +the sectioning unit. The second argument has two components. The hook +'\numberline' determines how the sectioning number, '1' or '1.1', +appears in the table of contents (*note \numberline::). The remainder +of the second argument of '\contentsline', 'First section' or 'First +subsection', is the sectioning title text. Finally, the third argument, +'2', is the page number on which this sectioning unit starts. + + To typeset these lines, the document class provides '\l@SECTION-UNIT' +commands such as '\l@section{TEXT}{PAGENUMBER}' and +'\l@subsection{TEXT}{PAGENUMBER}'. These commands often use the +'\@dottedtocline' command (*note \@dottedtocline::). + + A consequence of LaTeX's strategy of using auxiliary files is that to +get the correct information in the document you must run LaTeX twice, +once to store the information and the second time to retrieve it. In +the ordinary course of writing a document authors run LaTeX a number of +times, but you may notice that the first time that you compile a new +document, the table of contents page will be empty except for its +'Contents' header. Just run LaTeX again. The commands '\listoffigures' and '\listoftables' produce a list of -figures and a list of tables. They work the same way as the contents -commands; for instance, these work with information stored in '.lof' and -'.lot' files. +figures and a list of tables. Their information is stored in files with +extension '.lof' and '.lot'. They work the same way as +'\tableofcontents' but the latter is more common, so we use it for most +examples. - To change the header for the table of contents page do something like -the first line here. + You can manually add material to the table of contents, the list of +figures, and the list of tables. For instance, add a line about a +section to the table of contents with +'\addcontentsline{toc}{section}{TEXT}'. (*note \addcontentsline::). +Add arbitrary material, that is, non-line material, with +'\addtocontents', as with the command +'\addtocontents{lof}{\protect\vspace{2ex}}', which adds vertical space +to the list of figures (*note \addtocontents::). + + Lines in the table of contents, the list of figures, and the list of +tables, have four parts. First is an indent. Next is a box into which +sectioning numbers are placed, and then the third box holds the title +text, such as 'First section'. Finally there is a box up against the +right margin, inside of which LaTeX puts the page number box. For the +indent and the width of the number box, *note \@dottedtocline::. The +right margin box has width '\@tocrmarg' and the page number is flush +right in that space, inside a box of width '\@pnumwidth'. By default +'\@tocrmarg' is '2.55em' and '\@pnumwidth' is '1.55em'. Change these as +with '\renewcommand{\@tocrmarg}{3.5em}'. - \renewcommand{\contentsname}{Table of contents} + CTAN has many packages for the table of contents and lists of figures +and tables (*note CTAN::). The package 'tocloft' is convenient for +adjusting some aspects of the default such as spacing. And, +'tocbibbind' will automatically add the bibliography, index, etc. to +the table of contents. + + To change the header for the table of contents page, do something +like these commands before you call '\tableofcontents', etc. + + \renewcommand{\contentsname}{Table of Contents} \renewcommand{\listfigurename}{Plots} - \renewcommand{\listtablename}{Tables} + \renewcommand{\listtablename}{Specifications} -Similarly, the other two lines will do the other two. -Internationalization packages such as 'babel' or 'polyglossia' will -change the headers depending on the chosen base language. - CTAN has many packages for the table of contents and lists of figures -and tables. One convenient one for adjusting some aspects of the -default, such as spacing, is 'tocloft'. And, 'tocbibbind' will -automatically add the bibliography, index, etc. to the table of -contents. + Internationalization packages such as 'babel' or 'polyglossia' will +change these headers depending on the chosen base language. * Menu: +* \@dottedtocline:: Format entry line in table of contents, etc. * \addcontentsline:: Add an entry to table of contents, etc. * \addtocontents:: Add text directly to table of contents file, etc. +* \contentsline:: Set line in table of contents, etc. * \nofiles:: Prevent writing to auxiliary files. +* \numberline:: Put its number argument flush left in a box. + + +File: latex2e.info, Node: \@dottedtocline, Next: \addcontentsline, Up: Table of contents etc. + +25.1.1 '\@dottedtocline' +------------------------ + +Synopsis: + + \@dottedtocline{SECTION-LEVEL-NUM}{INDENT}{NUMWIDTH}{TEXT}{PAGENUMBER} + + Used internally by LaTeX to format an entry line in the table of +contents, list of figures, or list of tables. Authors do not directly +enter '\@dottedtocline' commands. + + This command is typically used by '\l@section', '\l@subsection', +etc., to format the content lines. For example, the 'article.cls' file +contains these definitions: + + \newcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}} + \newcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} + \newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} + +In this example, '\@dottedcline' appears to have been given only three +arguments. But tracing the internal code shows that it picks up the +final TEXT and PAGENUMBER arguments in the synopsis from a call to +'\contentsline'. + + Between the box for the title text of a section and the right margin +box, these '\@dottedtocline' commands insert "leaders", that is, +evenly-spaced dots. The dot-to-dot space is given by the command +'\@dotsep'. By default it is 4.5 (it is in math units, which are +'1/18' em. Change it using '\renewcommand', as in +'\renewcommand{\@dotsep}{3.5}'. + + In the default book class, LaTeX does not use dotted leaders for the +Part and Chapter table entries, and in the default article class it does +not use dotted leaders for Section entries. -File: latex2e.info, Node: \addcontentsline, Next: \addtocontents, Up: Table of contents etc. +File: latex2e.info, Node: \addcontentsline, Next: \addtocontents, Prev: \@dottedtocline, Up: Table of contents etc. -25.1.1 '\addcontentsline' +25.1.2 '\addcontentsline' ------------------------- Synopsis: \addcontentsline{EXT}{UNIT}{TEXT} - Add an entry to the file specified by EXT. Usually EXT is one of -'toc' for the table of contents, 'lof' for the list of figures, or 'lot' -for the list of tables. + Add an entry to the auxiliary file with extension EXT. The following will result in an 'Appendices' line in the table of contents. @@ -13683,20 +15187,23 @@ where it appears in the input file. The '\addcontentsline' command writes information to the file 'ROOT-NAME.EXT'. It writes that information as the text of the command '\contentsline{UNIT}{TEXT}{NUM}', where 'NUM' is the current value of -counter 'UNIT'. The most common case is the table of contents and there -NUM is the page number of the first page of UNIT. +counter 'UNIT' (*note \contentsline::). The most common case is the +table of contents and there NUM is the page number of the first page of +UNIT. This command is invoked by the sectioning commands '\chapter', etc., and also by '\caption' inside a float environment. But it is also used -by authors. For example, in a book to have the preface unnumbered, you -may use the starred '\chapter*'. But that does not put in table of -contents information, so you can enter it manually, as here. +by authors. For example, an author writing a book whose style is to +have an unnumbered preface may use the starred '\chapter*'. But that +command leaves out table of contents information, which can be entered +manually, as here. \chapter*{Preface} \addcontentsline{toc}{chapter}{\protect\numberline{}Preface} In the '.toc' file LaTeX will put the line '\contentsline -{chapter}{\numberline {}Preface}{3}'; note the page number '3'. +{chapter}{\numberline {}Preface}{3}'; note that the page number '3' is +automatically generated by the system, not entered manually. All of the arguments for '\addcontentsline' are required. @@ -13736,9 +15243,9 @@ then you don't get an error but the formatting in the table of contents will not make sense. -File: latex2e.info, Node: \addtocontents, Next: \nofiles, Prev: \addcontentsline, Up: Table of contents etc. +File: latex2e.info, Node: \addtocontents, Next: \contentsline, Prev: \addcontentsline, Up: Table of contents etc. -25.1.2 '\addtocontents' +25.1.3 '\addtocontents' ----------------------- Synopsis: @@ -13747,8 +15254,8 @@ Synopsis: Add TEXT, which may be text or formatting commands, directly to the auxiliary file with extension EXT. This is most commonly used for the -table of contents so that is the discussion here, but this also applies -to the list of figures and list of tables. +table of contents so that is the discussion here, but it also applies to +the list of figures and list of tables. This will put some vertical space in the table of contents after the 'Contents' header. @@ -13756,6 +15263,24 @@ to the list of figures and list of tables. \tableofcontents\newpage \addtocontents{toc}{\protect\vspace*{3ex}} +This puts the word 'Page', in boldface, above the column of page numbers +and after the header. + + \tableofcontents + \addtocontents{toc}{~\hfill\textbf{Page}\par} + \chapter{...} + +This adds a line announcing work by a new author. + + \addtocontents{toc}{% + \protect\vspace{2ex} + \textbf{Chapters by N. Other Author}\par} + + The difference between '\addtocontents' and '\addcontentsline' is +that the latter is strictly for lines, such as with a line giving the +page number for the start of a new subset of the chapters. As the above +examples show, '\addtocontents' is for material such as spacing. + The '\addtocontents' command has two arguments. Both are required. EXT @@ -13779,9 +15304,52 @@ of contents can come out in the wrong order. The solution is to move '\addtocontents' into the file being included. -File: latex2e.info, Node: \nofiles, Prev: \addtocontents, Up: Table of contents etc. +File: latex2e.info, Node: \contentsline, Next: \nofiles, Prev: \addtocontents, Up: Table of contents etc. + +25.1.4 '\contentsline' +---------------------- + +Synopsis: + + \contentsline{UNIT}{TEXT}{PAGENUMBER} + + Used internally by LaTeX to typeset an entry of the table of +contents, list of figures, or list of tables (*note Table of contents +etc.::). Authors do not directly enter '\contentsline' commands. + + Usually adding material to these lists is done automatically by the +commands '\chapter', '\section', etc. for the table of contents, or by +the '\caption' command inside of a '\figure' or '\table' environment +(*note figure:: and *note table::). Thus, where the base file is +'thesis.tex', and contains the declaration '\tableofcontents', the +command '\chapter{Chapter One}' produces something like this in the file +'thesis.toc'. + + \contentsline {chapter}{\numberline {1}Chapter One}{3} + + If the file contains the declaration '\listoffigures' then a figure +environment involving '\caption{Test}' will produce something like this +in 'thesis.lof'. + + \contentsline {figure}{\numberline {1.1}{\ignorespaces Test}}{6} -25.1.3 '\nofiles' + To manually add material, use +'\addcontentsline{FILETYPE}{UNIT}{TEXT}', where FILETYPE is 'toc', +'lof', or 'lot' (*note \addcontentsline::). + + For manipulating how the '\contentline' material is typeset, see the +'tocloft' package. + + Note that the 'hyperref' package changes the definition of +'\contentsline' (and '\addcontentsline') to add more arguments, to make +hyperlinks. This is the source of the error 'Argument of \contentsline +has an extra }'. Fix this error by deleting the '.toc' or '.lof' or +'.lot' file, and running LaTeX again. + + +File: latex2e.info, Node: \nofiles, Next: \numberline, Prev: \contentsline, Up: Table of contents etc. + +25.1.5 '\nofiles' ----------------- Synopsis: @@ -13807,6 +15375,38 @@ LaTeX will not erase any existing auxiliary files, so if you insert the the table of contents page will continue to show the old information. +File: latex2e.info, Node: \numberline, Prev: \nofiles, Up: Table of contents etc. + +25.1.6 '\numberline' +-------------------- + +Synopsis: + + \numberline{NUMBER} + + Typeset its argument flush left in a box. This is used in a +'\contentsline' command to typeset the section number (*note +\contentsline::). + + For example, this line in a '.toc' file causes the '1' to be typeset +flush left. + + \contentsline {subsection}{\numberline {1.1}Motivation}{2} + + By default, LaTeX typesets the section numbers in a box of length +'\@tempdima'. That length is set by the commands '\l@section', +'\l@subsection', etc. Put section numbers inside a natural-width box +with '\renewcommand{\numberline}[1]{#1~}'. + + This command is fragile, so you may need to precede it with +'\protect' (*note \protect::). An example is the use of '\protect' in +the command +'\addcontentsline{toc}{section}{\protect\numberline{}Summary}' to get +the '\numberline' into this command in the '.toc' file: '\contentsline +{section}{\numberline {}Summary}{6}' (the page number '6' is +automatically added by LaTeX; *note \addcontentsline::). + + File: latex2e.info, Node: Indexes, Next: Glossaries, Prev: Table of contents etc., Up: Front/back matter 25.2 Indexes @@ -13838,12 +15438,12 @@ manipulations you run an external command, typically 'makeindex' or Finally, you bring the information back into your document and typeset it with the '\printindex' command (*note \printindex::). - There are many packages that apply to indexing commands. The -'showidx' package causes each index entries to be shown in the margin on -the page where the entry appears. This can help in preparing the index. -The 'multind' package supports multiple indexes. See also the TeX FAQ -entry on this topic, -<http://www.tex.ac.uk/cgi-bin/texfaq2html?label=multind>. + There are many packages in the area of indexing. The 'showidx' +package causes each index entries to be shown in the margin on the page +where the entry appears. This can help in preparing the index. The +'multind' package, among others, supports multiple indexes. See also +the TeX FAQ entry on this topic, <https://www.texfaq.org/FAQ-multind>, +and the CTAN topic, <https://ctan.org/topic/index-multi>. * Menu: @@ -13938,7 +15538,7 @@ which creates an entry citing the page number of its own index listing. which outputs an index entry like 'function, 23--27' where the page number range is in blue. - Consider an index entry such as 'U+03B1-ring'. Entering it as + Consider an index entry such as 'α-ring'. Entering it as '$\alpha$-ring' will cause it to be alphabetized according to the dollar sign. You can instead enter it using an at-sign, as '\index{alpha-ring@$\alpha$-ring}'. If you specify an entry with an @@ -14030,8 +15630,8 @@ then it is a comment. Traditionally index items are broken into groups, typically a group for entries starting with 'a', etc. This specifier gives what is inserted when a new group begins. Default: '"\n\n \\indexspace\n"' - ('\indexspace' is a rubber length with default value '10pt plus5pt - minus3pt'). + ('\indexspace' is a command inserting a rubber length, by default + '10pt plus5pt minus3pt'). 'lethead_flag' An integer. It governs what is inserted for a new group or letter. @@ -14121,10 +15721,14 @@ then it is a comment. '"rnaRA"'. There are a number of other programs that do the job 'makeindex' -does. One is 'xindy', which does internationalization and can process -indexes for documents marked up using LaTeX and a number of other -languages. It is highly configurable, both in markup terms and in terms -of the collating order of the text, as described in its documentation. +does. One is 'xindy' (https://ctan.org/pkg/xindy), which does +internationalization and can process indexes for documents marked up +using LaTeX and a number of other languages. It is written in Lisp, +highly configurable, both in markup terms and in terms of the collating +order of the text, as described in its documentation. + + A more recent indexing program supporting Unicode is 'xindex', +written in Lua (<https://ctan.org/pkg/xindex>). File: latex2e.info, Node: \printindex, Prev: makeindex, Up: Indexes @@ -14141,7 +15745,7 @@ Synopsis: To get an index you must first include '\usepackage{makeidx}\makeindex' in the document preamble and compile the document, then run the system command 'makeindex', and then compile -the document again. *Note Indexes:: for further discussion and an +the document again. *Note Indexes::, for further discussion and an example of the use of '\printindex'. @@ -14228,8 +15832,8 @@ Synopsis, one of: document. The settings associated with the label are pairs: 'KEY=VALUE'. - This puts the blackboard bold symbol for the real numbers U+211D in -the glossary. + This puts the blackboard bold symbol for the real numbers ℝ, in the +glossary. \newglossaryentry{R} { @@ -14296,7 +15900,7 @@ first letter of NAME, as does the fourth form, which also takes the plural. -File: latex2e.info, Node: Letters, Next: Terminal input/output, Prev: Front/back matter, Up: Top +File: latex2e.info, Node: Letters, Next: Input/output, Prev: Front/back matter, Up: Top 26 Letters ********** @@ -14641,20 +16245,130 @@ pagestyle is selected. If so, it appears on the lower right of the page. -File: latex2e.info, Node: Terminal input/output, Next: Command line, Prev: Letters, Up: Top +File: latex2e.info, Node: Input/output, Next: Command line interface, Prev: Letters, Up: Top + +27 Input/output +*************** -27 Terminal input/output -************************ +LaTeX uses the ability to write to a file and later read it back in to +build document components such as a table of contents or index. You can +also read a file that other programs written, or write a file for others +to read. You can communicate with users through the terminal. And, you +can issue instructions for the operating system. * Menu: +* \openin & \openout:: Open a file. +* \read:: Read text from a file. * \typein:: Read text from the terminal. * \typeout:: Write text to the terminal. +* \write:: Write text to a file or terminal. + + +File: latex2e.info, Node: \openin & \openout, Next: \read, Up: Input/output + +27.1 '\openin' & '\openout' +=========================== + +Synopsis: + + \openin NUMBER=FILENAME + + or: + + \openout NUMBER=FILENAME + + Open a file for reading material, or for writing it. The NUMBER must +be between 0 and 15, as in '\openin3' (in LuaLaTeX NUMBER can be between +0 and 255). + + Here TeX opens the file 'presidents.tex' for reading. + + \newread\presidentsfile + \openin\presidentsfile=presidents + \typeout{presidentsfile is \the\presidentsfile} + \read\presidentsfile to\presidentline + \typeout{\presidentline} + +The '\newread' command allocates input stream numbers from 0 to 15 +(there is also a '\newwrite'). The '\presidentsfile' is more memorable +but under the hood it is still a number; the first '\typeout' gives +something like 'presidentsfile is 1'. In addition, '\newread' keeps +track of the allocation so that if you use too many then you get an +error like '! No room for a new \read'. The second '\typeout' gives the +first line of the file, something like '1 Washington, George'. + + Ordinarily TeX will not try to open the file until the next page +shipout. To change this, use '\immediate\openin NUMBER=FILENAME' or +'\immediate\openout NUMBER=FILENAME'. + + Close files with '\closein NUMBER' and '\closeout NUMBER'. + + How LaTeX handles filenames varies among distributions, and even can +vary among versions of a distribution. If the file does not have an +extension then TeX will add a '.tex'. This creates 'presidents.tex', +writes one line to it, and closes it. + + \newwrite\presidentsfile + \openout\presidentsfile=presidents + \write\presidentsfile{1 Washington, George} + \closeout\presidentsfile + +But filenames with a period can cause trouble: if TeX finds a FILENAME +of 'presidents.dat' it could look first for 'presidents.dat.tex' and +later for 'presidents.dat', or it could do the opposite. Your +distribution's documentation should say more, and if you find something +that works for you then you are good, but to ensure complete portability +the best thing is to use file names containing only the twenty six ASCII +letters (not case-sensitive) and the ten digits, along with underscore +and dash, and in particular with no dot or space. + + For '\openin', if TeX cannot find the file then it does not give an +error. It just considers that the stream is not open (test for this +with '\ifeof'; one recourse is the command '\InputIfFileExists', *note +Class and package commands::). If you try to use the same number twice, +LaTeX won't give you an error. If you try to use a bad number then you +get an error message like '! Bad number (16). <to be read again> = l.30 +\openin16=test.jh'. -File: latex2e.info, Node: \typein, Next: \typeout, Up: Terminal input/output +File: latex2e.info, Node: \read, Next: \typein, Prev: \openin & \openout, Up: Input/output + +27.2 '\read' +============ + +Synopsis: + + \read NUMBER toMACRO + + Make the command MACRO contain the next line of input from text +stream NUMBER, as in '\read5 to\data'. + + This opens the file 'email.tex' for reading, puts the contents of the +first line into the command '\email', and then closes the file. -27.1 '\typein' + \newread\recipientfile + \openin\recipientfile=email + \read\recipientfile to\email + \typeout{Email address: \email} + \closein\recipientfile + + If NUMBER is outside the range from 0 to 15 or if no file of that +number is open, or if the file has ended, then '\read' will take input +from the terminal (or exit if interaction is not allowed, e.g., +'\nonstopmode'; *note interaction modes::). (However, the natural way +in LaTeX to take input from the terminal is '\typein' (*note \typein::.) + + To read an entire file as additional LaTeX source, use '\input' +(*note \input::) or '\include' (*note \include & \includeonly::). + + A common reason to want to read from a data file is to do mail +merges. CTAN has a number of packages for that; one is 'datatool'. + + +File: latex2e.info, Node: \typein, Next: \typeout, Prev: \read, Up: Input/output + +27.3 '\typein' ============== Synopsis, one of: @@ -14683,8 +16397,8 @@ you typed to be processed as if it had been included in the input file in place of the '\typein' command. In the second command version the optional argument 'CMD' argument -must be a command name -- it must begin with a backslash, \. This -command name is then defined or redefined to be the input that you +must be a command name, that is, it must begin with a backslash, \. +This command name is then defined or redefined to be the input that you typed. For example, this \typein[\student]{Enter student name:} @@ -14700,9 +16414,9 @@ gives this output on the command line, where the user has entered 'John Dee.' -File: latex2e.info, Node: \typeout, Prev: \typein, Up: Terminal input/output +File: latex2e.info, Node: \typeout, Next: \write, Prev: \typein, Up: Input/output -27.2 '\typeout' +27.4 '\typeout' =============== Synopsis: @@ -14736,35 +16450,324 @@ spaces. Use '^^J' to get a newline. Get a percent character with produces on the command line 'The length is 5.0pt'. -File: latex2e.info, Node: Command line, Next: Document templates, Prev: Terminal input/output, Up: Top +File: latex2e.info, Node: \write, Prev: \typeout, Up: Input/output -28 Command line -*************** +27.5 '\write' +============= + +Synopsis: + + \write NUMBER{STRING} + + Write STRING to the log file, to the terminal, or to a file opened by +'\openout'. For instance, '\write6' writes to text stream number 6. + + If the following appears in 'BASEFILE.tex' then it opens +'BASEFILE.jh', writes 'Hello World!' and a newline to it, and closes +that file. + + \newwrite\myfile + \immediate\openout\myfile=\jobname.jh % \jobname is root file basename + ... + \immediate\write\myfile{Hello world!} + ... + \immediate\closeout\myfile + +The '\newwrite' allocates a stream number, giving it a symbolic name to +make life easier, so that 'stream \newwrite\myfile\the\myfile' produces +something like 'stream 3'. Then '\openout' associates the stream number +with the given file name. TeX ultimately executed '\write3' which puts +the string in the file. + + Typically NUMBER is between 0 and 15, because typically LaTeX authors +follow the prior example and the number is allocated by the system. If +NUMBER is outside the range from 0 to 15 or if it is not associated with +an open file then LaTeX writes STRING to the log file. If NUMBER is +positive then in addition LaTeX writes STRING to the terminal. + + Thus, 'test \write-1{Hello World!}' puts 'Hello World!' followed by a +newline in the log file. (This is what the '\wlog' command does; *note +\wlog::). And '\write100{Hello World!}' puts the same in the log file +but also puts 'Hello World!' followed by a newline in the terminal +output. (But 16, 17, and 18 are special as NUMBER; see below.) + + In LuaTeX, instead of 16 output streams there are 256 (*note TeX +engines::). + + Use '\write\@auxout{STRING}' to write to the current '.aux' file, +which is associated with either the root file or with the current +include file; and use '\write\@mainaux{STRING}' to write to the main +'.aux'. These symbolic names are defined by LaTeX. + + By default LaTeX does not write STRING to the file right away. This +is because, for example, you may need '\write' to save the current page +number, but when TeX comes across a '\write' it typically does not know +what the page number is, since it has not yet done the page breaking. +So, you use '\write' in one of three contexts: + + \immediate\write\@auxout{STRING} %1 + \write\@auxout{STRING} %2 + \protected@write\@auxout{}{STRING} %3 + + 1. With the first, LaTeX writes STRING to the file immediately. Any + macros in STRING are fully expanded (just as in '\edef') so to + prevent expansion you must use '\noexpand', 'toks', etc., except + that you should use '#' instead of '##'). + + 2. With the second, STRING is stored on the current list of things (as + a TeX "whatsit" item) and kept until the page is shipped out and + likewise the macros are unexpanded until '\shipout'. At + '\shipout', STRING is fully expanded. + + 3. The third, '\protected@write', is like the second except that you + can use '\protect' to avoid expansion. The extra first argument + allows you to locally insert extra definitions to make more macros + protected or to have some other special definition for the write. + + As a simple example of expansion with '\write', STRING here contains +a control sequence '\triplex' which we've defined to be the text 'XYZ': + + \newwrite\jhfile + \openout\jhfile=test.jh + \newcommand{\triplex}{XYZ} + \write\jhfile{test \triplex test} + +This results in the file 'test.jh' containing the text 'test XYZtest' +followed by a newline. + + The cases where NUMBER is 16, 17, or 18 are special. Because of +'\write''s behavior when NUMBER is outside the range from 0 to 15 +described above, in Plain TeX '\write16' and '\write17' were sometimes +used to write to the log file and the terminal; however, in LaTeX, the +natural way to do that is with '\typeout' (*note \typeout::). The +'\write18' command is even more special; modern TeX systems use it for +giving commands to the operating system (*note \write18::). + + Ordinarily '\write' outputs a single line. You can include a newline +with '^^J'. Thus, this produces two lines in the log file: + + \wlog{Parallel lines have a lot in common.^^JBut they never meet.} + + A common case where authors need to write their own file is for +answers to exercises, or another situation where you want to write out +verbatim, without expanding the macros. CTAN has a number of packages +for this; one is 'answers'. + +* Menu: + +* \write and security:: Security. +* \message:: Write text to the log file and terminal. +* \wlog:: Write text to the log file. +* \write18:: Run an operating system command. + + +File: latex2e.info, Node: \write and security, Next: \message, Up: \write + +27.5.1 '\write' and security +---------------------------- + +The ability to write files raises security issues. If you compiled a +downloaded LaTeX file and it overwrote your password file then you would +be justifiably troubled. + + Thus, by default TeX systems only allow you to open files for writing +that are in the current directory or output directory, if specified +(*note output directory::), or in a subdirectory of those. So, this +code + + \newwrite\jhfile + \openout\jhfile=../test.jh + +gives an error like: + Not writing to ../test.jh (openout_any = p). + ! I can't write on file `../test.jh' + + You can get just such an error when using commands such as +'\include{../filename}' because LaTeX will try to open +'../filename.aux'. The simplest solution is to put the included files +in the same directory as the root file, or in subdirectories. + + +File: latex2e.info, Node: \message, Next: \wlog, Prev: \write and security, Up: \write + +27.5.2 '\message' +----------------- + +Synopsis: + + \message{STRING} + + Write STRING to the log file and the terminal. + + Typically, LaTeX authors use '\typeout' (*note \typeout::). It +allows you to use '\protect' on any fragile commands in STRING (*note +\protect::). But '\typeout' always inserts a newline at the end of +STRING while '\message' does not, so the latter can be useful. + + With this example document body. + + before\message{One Two}\message{Three}\message{Four^^JI} + \message{declare a thumb war.}After + +under some circumstances (see below) LaTeX writes the following to both +the terminal and the log file. + + One Two Three Four + I declare a thumb war. + +The '^^J' produces a newline. Also, in the output document, between +'before' and 'After' will be a single space (from the end of line +following 'I}'). + + While '\message' allows you more control over formatting, a gotcha is +that LaTeX may mess up that formatting because it inserts line breaks +depending on what it has already written. Contrast this document body, +where the 'Two' has moved, to the one given above. + + before\message{One}\message{Two Three}\message{Four^^JI} + \message{declare a thumb war.}After + + This can happen: when LaTeX is outputting the messages to the +terminal, now the message with 'One' is shorter and it fits at the end +of the output terminal line, and so LaTeX breaks the line between it and +the 'Two Three'. That line break appears also in the log file. This +line break insertion can depend on, for instance, the length of the full +path names of included files. So producing finely-formatted lines in a +way that is portable is hard, likely requiring starting your message at +the beginning of a line. + + +File: latex2e.info, Node: \wlog, Next: \write18, Prev: \message, Up: \write + +27.5.3 '\wlog' +-------------- + +Synopsis: + + \wlog{STRING} + + Write STRING to the log file. + + \wlog{Did you hear about the mathematician who hates negatives?} + \wlog{He'll stop at nothing to avoid them.} + + Ordinarily STRING appears in a single separate line. Use '^^J' to +insert a newline. + + \wlog{Helvetica and Times Roman walk into a bar.} + \wlog{The barman says,^^JWe don't serve your type.} + + +File: latex2e.info, Node: \write18, Prev: \wlog, Up: \write + +27.5.4 '\write18' +----------------- + +Synopsis: + + \write18{SHELL_COMMAND} + + Issue a command to the operating system shell. The operating system +runs the command and LaTeX's execution is blocked until that finishes. + + This sequence (on Unix) + + \usepackage{graphicx} % in preamble + ... + \newcommand{\fignum}{1} + \immediate\write18{cd pix && asy figure\fignum} + \includegraphics{pix\figure\fignum.pdf} + +will run Asymptote (the 'asy' program) on 'pix/figure1.asy', so that the +document can later read in the resulting graphic (*note +\includegraphics::). Like any '\write', here LaTeX expands macros in +SHELL_COMMAND so that '\fignum' is replaced by '1'. + + Another example is that you can automatically run BibTeX at the start +of each LaTeX run (*note Using BibTeX::) by including +'\immediate\write18{bibtex8 \jobname}' as the first line of the file. +Note that '\jobname' expands to the basename of the root file unless the +'--jobname' option is passed on the command line, in which case this is +the option argument. + + You sometimes need to do a multi-step process to get the information +that you want. This will insert into the input a list of all PDF files +in the current directory (but see 'texosquery' below): + + \immediate\write18{ls *.pdf > tmp.dat} + \input{tmp.dat} + + The standard behavior of any '\write' is to wait until a page is +being shipped out before expanding the macros or writing to the stream +(*note \write::). But sometimes you want it done now. For this, use +'\immediate\write18{SHELL_COMMAND}'. + + There are obvious security issues with allowing system commands +inside a LaTeX file. If you download a file off the net and it contains +commands to delete all your files then you would be unhappy. The +standard settings in modern distributions turn off full shell access. +You can turn it on, if you are sure the shell commands are safe, by +compiling with 'latex --enable-write18 FILENAME' (*note Command line +options::). (The '--shell-escape' option is a synonym, in TeX Live.) + + In the place of full shell access, modern distributions by default +use a restricted version that allows some commands to work, such as +those that run Metafont to generate missing fonts, even if you do not +use the 'enable-write18' option. By default this list of allowed +commands is short and features only commands that are under the control +of the distribution maintainers (*note Command line options::). + + The SHELL_COMMAND text is always passed to '/bin/sh' on Unix-like +operating systems, and the DOS command interpreter 'cmd.exe' on Windows. +Any different shell set by the user, and the 'SHELL' environment +variable, is ignored. + + If what you need is system information, such as the operating system +name, locale information, or directory contents, take a look at the +'texosquery' package, which provides a convenient and secure interface +for this, unlike the above examples using the raw '\write18': +<https://ctan.org/pkg/texosquery>. + + LaTeX provides a package 'shellesc' on top of the primitive +'\write18' command. Its primary purpose is to provide a command +'\ShellEscape' which works identically on all TeX engines; LuaTeX +intentionally did not retain '\write18' as a way to invoke a shell +command, so some engine-specific code is needed. The 'shellesc' package +also provides a command '\DelayedShellEscape', executed at '\output' +time, for the same reason. + + +File: latex2e.info, Node: Command line interface, Next: Document templates, Prev: Input/output, Up: Top + +28 Command line interface +************************* Synopsis (from a terminal command line): pdflatex OPTIONS ARGUMENT - Run LaTeX on ARGUMENT. In place of 'pdflatex' you can also use -'xelatex', or 'lualatex', or 'dviluatex', or 'latex'. + Run LaTeX on ARGUMENT. In place of 'pdflatex' you can also use (for +PDF output) 'xelatex' or 'lualatex', or (for DVI output) 'latex' or +'dvilualatex', among others (*note TeX engines::). For example, this will run LaTeX on the file 'thesis.tex', creating the output 'thesis.pdf'. pdflatex thesis -Note that '.tex' is the default file extension. +Note that '.tex' is the default file name extension. - pdfTeX is a development of the original TeX program, as are XeTeX and -LuaTeX (*note TeX engines::). They are completely backward compatible. -But the original program had a custom output format, DVI, while the -newer ones can output directly to PDF. This allows them to take -advantage of the extra features in PDF such as hyperlinks, support for -modern image formats such as JPG and PNG, and ubiquitous viewing -programs. In short, if you run 'pdflatex' or 'xelatex' or 'lualatex' -then you will by default get PDF and have access to all its modern -features. If you run 'latex', or 'dvilualatex', then you will get DVI. -The description here assumes pdfLaTeX. + pdfTeX is an extension of the original TeX program, as are XeTeX and +LuaTeX (*note TeX engines::). The first two are completely backward +compatible and the latter, almost so. Perhaps the most fundamental new +feature for all three is that the original TeX output its own DVI +format, while the newer ones can output directly to PDF. This allows +them to take advantage of the extra features in PDF such as hyperlinks, +support for modern image formats such as JPG and PNG, and ubiquitous +viewing programs. In short, if you run 'pdflatex' or 'xelatex' or +'lualatex' then you will by default get PDF and have access to all its +modern features. If you run 'latex', or 'dvilualatex', then you will +get DVI. The description here assumes pdfLaTeX. *Note Command line options::, for a selection of the most useful command line options. As to ARGUMENT, the usual case is that it does @@ -14774,20 +16777,21 @@ then the system will interpret it as a line of LaTeX input, which can be used for special effects (*note Command line input::). If you gave no arguments or options then 'pdflatex' prompts for input -from the terminal. You can escape from this by entering '<control>-D'. +from the terminal. You can escape from this by entering 'CTRL-D'. If LaTeX finds an error in your document then by default it stops and -asks you about it. *Note Recovering from errors:: for an outline of +asks you about it. *Note Recovering from errors::, for an outline of what to do. * Menu: -* Command line options:: Read text from the terminal. -* Command line input:: Write text to the terminal. +* Command line options:: Commonly used command line options. +* Command line input:: Specify LaTeX code on the command line. +* Jobname:: How TeX sets the current job name. * Recovering from errors:: When something goes wrong. -File: latex2e.info, Node: Command line options, Next: Command line input, Up: Command line +File: latex2e.info, Node: Command line options, Next: Command line input, Up: Command line interface 28.1 Command line options ========================= @@ -14798,7 +16802,11 @@ line. With many implementations you can specify command line options by prefixing them with '-' or '--'. This is the case for both TeX Live -(and MacTeX) and MiKTeX. We will use both conventions interchangeably. +(including MacTeX) and MiKTeX. We will use both conventions +interchangeably. If an option takes a value, it can be specified either +as a separate argument ('--foo val'), or as one argument with an '=' +sign ('--foo=val'), but there can be no spaces around the '='. We will +generally use the '=' syntax. '-version' Show the current version, like 'pdfTeX 3.14159265-2.6-1.40.16 (TeX @@ -14811,13 +16819,13 @@ prefixing them with '-' or '--'. This is the case for both TeX Live '-interaction=MODE' TeX compiles a document in one of four interaction modes: 'batchmode', 'nonstopmode', 'scrollmode', 'errorstopmode'. In - "errorstop mode" (the default), TeX stops at each error and asks - for user intervention. In "batch mode" it prints nothing on the - terminal, errors are scrolled as if the user hit '<return>' at - every error, and missing files cause the job to abort. In "nonstop - mode", diagnostic message appear on the terminal but as in batch - mode there is no user interaction. In "scroll mode", TeX only - stops for missing files or keyboard input. + "errorstopmode" (the default), TeX stops at each error and asks for + user intervention. In "batchmode" it prints nothing on the + terminal, errors are scrolled as if the user hit 'RETURN' at every + error, and missing files cause the job to abort. In "nonstopmode", + diagnostic message appear on the terminal but as in batch mode + there is no user interaction. In "scrollmode", TeX stops for + missing files or keyboard input, but nothing else. For instance, starting LaTeX with this command line @@ -14826,43 +16834,40 @@ prefixing them with '-' or '--'. This is the case for both TeX Live eliminates most terminal output. '-jobname=STRING' - Set the value of TeX's 'jobname' to the string. The log file and + Set the value of TeX's "jobname" to the string. The log file and output file will then be named 'STRING.log' and 'STRING.pdf'. - - When you run 'pdflatex OPTIONS ARGUMENT', if ARGUMENT does not - start with a backslash then TeX considers it the name of a file to - input. Otherwise it waits for the first '\input' instruction and - the name of the input file will be the job name. This is used to - name the log file the output file. The 'jobname' option overrides - that process and directly specifies the name. *Note Command line - input:: for an example of its use. + *note Jobname::. '-output-directory=DIRECTORY' Write files in the directory DIRECTORY. It must already exist. + This applies to all external files created by TeX or LaTeX, such as + the '.log' file for the run, the '.aux', '.toc', etc., files + created by LaTeX, as well as the main '.pdf' or '.dvi' output file + itself. + + When specified, the output directory DIRECTORY is also + automatically checked first for any file that it is input, so that + the external files can be read back in, if desired. The true + current directory (in which LaTeX was run) remains unchanged, and + is also checked for input files. -'--shell-escape' -'--no-shell-escape' '--enable-write18' '--disable-write18' - Enable or disable '\write18{SHELL COMMAND}'. The first two options - are for with TeX Live or MacTeX while the second two are for - MiKTeX. - - Sometimes you want to run external system commands from inside a - LaTeX file. For instance the package 'sagetex' allows you to have - the mathematics software system Sage do calculations or draw graphs - and then incorporate that output in your document. For this TeX - provides the '\write18' command. - - But with this functionality enabled, security issues could happen - if you compiled a LaTeX file from the Internet. By default - '\write18' is disabled. (More precisely, by default TeX Live, - MacTeX, and MiKTeX only allow the execution of a limited number of - TeX-related programs, which they distribute.) - - If you invoke LaTeX with the option 'no-shell-escape', and in your - document you call '\write18{ls -l}', then you do not get an error - but the log file says 'runsystem(ls -l)...disabled'. +'--shell-escape' +'--no-shell-escape' + Enable or disable '\write18{SHELL_COMMAND}' (*note \write18::). + The first two options are supported by both TeX Live and MiKTeX, + while the second two are synonyms supported by TeX Live. + + Enabling this functionality has major security implications, since + it allows a LaTeX file to run any command whatsoever. Thus, by + default, unrestricted '\write18' is not allowed. (The default for + TeX Live, MacTeX, and MiKTeX is to allow the execution of a limited + number of TeX-related programs, which they distribute.) + + For example, if you invoke LaTeX with the option 'no-shell-escape', + and in your document you call '\write18{ls -l}', then you do not + get an error but the log file says 'runsystem(ls -l)...disabled'. '-halt-on-error' Stop processing at the first error. @@ -14873,18 +16878,22 @@ prefixing them with '-' or '--'. This is the case for both TeX Live These are only available with TeX Live or MacTeX. -File: latex2e.info, Node: Command line input, Next: Recovering from errors, Prev: Command line options, Up: Command line +File: latex2e.info, Node: Command line input, Next: Jobname, Prev: Command line options, Up: Command line interface 28.2 Command line input ======================= -As part of the command line invocation 'pdflatex OPTIONS ARGUMENT' you -can specify arbitrary LaTeX input by starting ARGUMENT with a backslash. -This allows you to do some special effects. +As part of the command line invocation + + LATEX-ENGINE OPTIONS ARGUMENT + +you can specify arbitrary LaTeX input by starting ARGUMENT with a +backslash. (All the engines support this.) This allows you to do some +special effects. For example, this file (which uses the 'hyperref' package for -hyperlinks) can produce two kinds of output, one for paper and one for a -PDF. +hyperlinks) can produce two kinds of output, one to be read on physical +paper and one to be read online. \ifdefined\paperversion % in preamble \newcommand{\urlcolor}{black} @@ -14897,10 +16906,14 @@ PDF. ... Compiling this document 'book.tex' with the command line 'pdflatex book' -will give the 'CTAN' link in blue. But compiling it with 'pdflatex -"\def\paperversion{}\input book.tex"' has the link in black. (Note the -use of double quotes to prevent interpretation of the symbols by the -command line shell; your system may do this differently.) +will give the 'CTAN' link in blue. But compiling it with + + pdflatex "\def\paperversion{}\input book.tex" + +has the link in black. We use double quotes to prevent interpretation +of the symbols by the command line shell. (This usually works on both +Unix and Windows systems, but there are many peculiarities to shell +quoting, so read your system documentation if need be.) In a similar way, from the single file 'main.tex' you can compile two different versions. @@ -14909,22 +16922,88 @@ different versions. pdflatex -jobname=teachers "\def\teachers{}\input{main}" The 'jobname' option is there because otherwise both files would be -called 'main.pdf' and the second would overwrite the first. +called 'main.pdf' and the second would overwrite the first. (See the +next section.) - A final example. This loads the package 'graphicx' with the option -'draft' + In this example, we pass the 'draft' option to the 'graphicx' +package: + + pdflatex "\PassOptionsToPackage{draft}{graphicx}\input{aa.tex}" + +so the graphic files are read for their bounding box size information +but replaced in the PDF by a box with same size and that contains only +the file name, which speeds up compilation time and saves printer ink. + + +File: latex2e.info, Node: Jobname, Next: Recovering from errors, Prev: Command line input, Up: Command line interface + +28.3 Jobname +============ + +Running LaTeX creates a number of files, including the main PDF (or DVI) +output but also including others. These files are named with the +so-called "jobname". The most common case is also the simplest, where +for instance the command 'pdflatex thesis' creates 'thesis.pdf' and also +'thesis.log' and 'thesis.aux'. Here the job name is 'thesis'. + + In general, LaTeX is invoked as 'LATEX-ENGINE OPTIONS ARGUMENT', +where LATEX-ENGINE is 'pdflatex', 'lualatex', etc. (*note TeX +engines::). If ARGUMENT does not start with a backslash, as is the case +above with 'thesis', then TeX considers it to be the name of the file to +input as the main document. The name of that root file, without the +'.tex' extension, is the jobname. If ARGUMENT does start with a +backslash, or if TeX is in interactive mode, then it waits for the first +'\input' command, and the jobname is the argument to '\input'. + + There are two more possibilities for the jobname. It can be directly +specified with the '-jobname' option, as in 'pdflatex -jobname=myname' +(*note Command line input:: for a real example). + + The final possibility is 'texput', which is the final fallback +default if no other name is available to TeX. For example, if no +'-jobname' option was specified, and the compilation stops before there +is any output, then the log file will be named 'texput.log'. + + A special case of this is that in LaTeX versions of (approximately) +2020 or later, the jobname is also 'texput' if the first '\input' occurs +as a result of being called by either '\documentclass' or +'\RequirePackage'. So this will produce a file named 'texput.pdf': + + pdflatex "\documentclass{minimal}\begin{document}Hello!\end{document}" + + However, this special case only applies to those two commands. Thus, +with + + pdflatex "\documentclass{article}\usepackage{lipsum}\input{thesis}" + +the output file is 'lipsum.pdf', as '\usepackage' calls '\input'. + + Within the document, the macro '\jobname' expands to the jobname. +(When you run LaTeX on a file whose name contains spaces, the string +returned by '\jobname' contains matching start and end quotes.) In the +expansion of that macro, all characters are of catcode 12 (other) except +that spaces are category 10, including letters that are normally +catcode 11. + + Because of this catcode situation, using the jobname in a conditional +can become complicated. One solution is to use the macro '\IfBeginWith' +from the 'xstring' package in its star variant, which is insensitive to +catcode. For example, in the following text the footnote "Including +Respublica Bananensis Francorum." is only present if the task name +starts with 'my-doc'. - pdflatex -jobname=aa "\RequirePackage[draft]{graphicx}\input{aa.tex}" + If a democracy is just a regime where citizens vote then + all banana republics \IfBeginWith*{\jobname}{my-doc}% + {\footnote{Including Respublica Bananensis Francorum.}}{} are + democracies. -so the graphic files are read for their size information but not -incorporated into the PDF. (The 'jobname' option is there because -otherwise the output file would be 'graphicx.pdf', as '\RequirePackage' -does an '\input' of its own.) + Manipulating the value of '\jobname' inside of a document does not +change the name of the output file or the log file. -File: latex2e.info, Node: Recovering from errors, Prev: Command line input, Up: Command line +File: latex2e.info, Node: Recovering from errors, Prev: Jobname, Up: Command line interface -28.3 Recovering from errors +28.4 Recovering from errors =========================== If LaTeX finds an error in your document then it gives you an error @@ -14941,15 +17020,16 @@ causes it show this, and wait for input. {} problem is a million dollar one. ? -The simplest thing is to enter 'x' and '<return>' and fix the typo. You -could instead enter '?' and '<return>' to see other options. +The simplest thing is to enter 'x' and 'RETURN' and fix the typo. You +could instead enter '?' and 'RETURN' to see other options. There are two other error scenarios. The first is that you forgot to include the '\end{document}' or misspelled it. In this case LaTeX gives you a '*' prompt. You can get back to the command line by typing -'\stop' and '<return>'. +'\stop' and 'RETURN'; this command does its best to exit LaTeX +immediately, whatever state it may be in. - The last scenario is that you mistyped the file name. For instance, + The last scenario is that you mistyped the filename. For instance, instead of 'pdflatex test' you might type 'pdflatex tste'. ! I can't find file `tste'. @@ -14958,18 +17038,18 @@ instead of 'pdflatex test' you might type 'pdflatex tste'. (Press Enter to retry, or Control-D to exit) Please type another input file name: -The simplest thing is to enter '<Control>' and 'd' (holding them down at -the same time), and then retype the correct command line. +The simplest thing is to enter 'CTRL d' (holding the Control and d keys +down at the same time), and then retype the correct command line. -File: latex2e.info, Node: Document templates, Next: Index, Prev: Command line, Up: Top +File: latex2e.info, Node: Document templates, Next: Index, Prev: Command line interface, Up: Top Appendix A Document templates ***************************** -Although not reference material, perhaps these document templates will -be useful. Additional template resources are listed at -<http://tug.org/interest.html#latextemplates>. +Although illustrative material, perhaps these document templates will be +useful. Additional template resources are listed at +<https://tug.org/interest.html#latextemplates>. * Menu: @@ -14977,7 +17057,6 @@ be useful. Additional template resources are listed at * article template:: * book template:: * Larger book template:: -* tugboat template:: File: latex2e.info, Node: beamer template, Next: article template, Up: Document templates @@ -14992,7 +17071,7 @@ features, but here is a basic template: \title{Beamer Class template} \author{Alex Author} -\date{July 31, 2007} +\date{July 31, 2020} \begin{document} @@ -15010,8 +17089,7 @@ features, but here is a basic template: \end{document} - One web resource for this: -<http://robjhyndman.com/hyndsight/beamer/>. + The Beamer package on CTAN: <https://ctan.org/pkg/beamer>. File: latex2e.info, Node: article template, Next: book template, Prev: beamer template, Up: Document templates @@ -15019,6 +17097,8 @@ File: latex2e.info, Node: article template, Next: book template, Prev: beamer A.2 'article' template ====================== +A simple template for an article. + \documentclass{article} \title{Article Class Template} \author{Alex Author} @@ -15034,6 +17114,7 @@ Additional text. \section{Second section} Some more text. + \end{document} @@ -15042,8 +17123,8 @@ File: latex2e.info, Node: book template, Next: Larger book template, Prev: ar A.3 'book' template =================== -This is a straightforward template for a book. See *Note Larger book -template:: for a more elaborate one. +This is a straightforward template for a book. *Note Larger book +template::, for a more elaborate one. \documentclass{book} \title{Book Class Template} @@ -15060,26 +17141,30 @@ Some other text. \section{A subtopic} The end. + \end{document} -File: latex2e.info, Node: Larger book template, Next: tugboat template, Prev: book template, Up: Document templates +File: latex2e.info, Node: Larger book template, Prev: book template, Up: Document templates A.4 Larger 'book' template ========================== -This is a more elaborate template for a book. It has '\frontmatter', -'\mainmatter', and '\backmatter' to control the typography of the three -main areas of a book (*note \frontmatter & \mainmatter & \backmatter::). -The book has a bibliography and an index. +This is a somewhat elaborate template for a book. *Note book +template::, for a simpler one. + + This template uses '\frontmatter', '\mainmatter', and '\backmatter' +to control the typography of the three main areas of a book (*note +\frontmatter & \mainmatter & \backmatter::). The book has a +bibliography and an index. - Notable is that it uses '\include' and '\includeonly' (*note + Also notable is that it uses '\include' and '\includeonly' (*note Splitting the input::). While you are working on a chapter you can comment out all the other chapter entries from the argument to '\includeonly'. That will speed up compilation without losing any information such as cross-references. (Material that does not need to come on a new page is brought in with '\input' instead of '\include'. -You don't get the cross-reference benefit this way.) +You don't get the cross-reference benefit with '\input'.) \documentclass[titlepage]{book} \usepackage{makeidx}\makeindex @@ -15088,11 +17173,12 @@ You don't get the cross-reference benefit this way.) \author{Alex Author} \includeonly{% - frontcover, +% frontcover, preface, chap1, - ... +% appenA, } + \begin{document} \frontmatter \include{frontcover} @@ -15100,108 +17186,22 @@ You don't get the cross-reference benefit this way.) \maketitle \input{dedication} \input{copyright} \tableofcontents \include{preface} + \mainmatter \include{chap1} ... \appendix -\include{appena} +\include{appenA} ... + \backmatter \bibliographystyle{apalike} \addcontentsline{toc}{chapter}{Bibliography} \bibliography \addcontentsline{toc}{chapter}{Index} \printindex -\include{backcover} -\end{document} - - -File: latex2e.info, Node: tugboat template, Prev: Larger book template, Up: Document templates - -A.5 'tugboat' template -====================== - -'TUGboat' is the journal of the TeX Users Group, -<http://tug.org/TUGboat>. - -\documentclass{ltugboat} - -\usepackage{graphicx} -\usepackage{ifpdf} -\ifpdf -\usepackage[breaklinks,hidelinks]{hyperref} -\else -\usepackage{url} -\fi - -%%% Start of metadata %%% -\title{Example \TUB\ article} - -% repeat info for each author. -\author{First Last} -\address{Street Address \\ Town, Postal \\ Country} -\netaddress{user (at) example dot org} -\personalURL{http://example.org/~user/} - -%%% End of metadata %%% - -\begin{document} - -\maketitle - -\begin{abstract} -This is an example article for \TUB{}. -Please write an abstract. -\end{abstract} - -\section{Introduction} - -This is an example article for \TUB, linked from -\url{http://tug.org/TUGboat/location.html}. - -We recommend the \texttt{graphicx} package for image inclusions, and the -\texttt{hyperref} package if active urls are desired (in the \acro{PDF} -output). Nowadays \TUB\ is produced using \acro{PDF} files exclusively. - -The \texttt{ltugboat} class provides these abbreviations (and many more): -% verbatim blocks are often better in \small -\begin{verbatim}[\small] -\AllTeX \AMS \AmS \AmSLaTeX \AmSTeX \aw \AW -\BibTeX \CTAN \DTD \HTML -\ISBN \ISSN \LaTeXe -\mf \MFB -\plain \POBox \PS -\SGML \TANGLE \TB \TP -\TUB \TUG \tug -\UNIX \XeT \WEB \WEAVE - -\, \bull \Dash \dash \hyph - -\acro{FRED} -> {\small[er] fred} % please use! -\cs{fred} -> \fred -\meta{fred} -> <fred> -\nth{n} -> 1st, 2nd, ... -\sfrac{3/4} -> 3/4 -\booktitle{Book of Fred} -\end{verbatim} - -For references to other \TUB\ issue, please use the format -\textsl{volno:issno}, e.g., ``\TUB\ 32:1'' for our \nth{100} issue. - -This file is just a template. The \TUB\ style documentation is the -\texttt{ltubguid} document at \url{http://ctan.org/pkg/tugboat}. (For -\CTAN\ references, where sensible we recommend that form of url, using -\texttt{/pkg/}; or, if you need to refer to a specific file location, -\texttt{http://mirror.ctan.org/\textsl{path}}.) - -Email \verb|tugboat@tug.org| if problems or questions. - -\bibliographystyle{plain} % we recommend the plain bibliography style -\nocite{book-minimal} % just making the bibliography non-empty -\bibliography{xampl} % xampl.bib comes with BibTeX - -\makesignature +\include{backcover} \end{document} @@ -15213,40 +17213,44 @@ Index * Menu: -* &: tabular. (line 32) +* $ inline math: math. (line 12) +* $$...$$ plain TeX display math: displaymath. (line 32) +* & for table cells: tabular. (line 32) * * prompt: Recovering from errors. (line 23) * *-form of environment commands: \newenvironment & \renewenvironment. (line 27) * *-form of sectioning commands: Sectioning. (line 31) * *-form, defining new commands: \newcommand & \renewcommand. - (line 25) + (line 27) * --disable-write18 command-line option: Command line options. - (line 54) + (line 61) * --enable-write18 command-line option: Command line options. - (line 54) + (line 61) * --file-line-error command-line option: Command line options. - (line 81) + (line 82) * --halt-on-error command-line option: Command line options. - (line 78) + (line 79) * --help command-line option: Command line options. - (line 19) + (line 23) * --interaction command-line option: Command line options. - (line 22) + (line 26) * --jobname command-line option: Command line options. - (line 39) + (line 43) * --no-file-line-error command-line option: Command line options. - (line 81) + (line 82) * --no-shell-escape command-line option: Command line options. - (line 54) + (line 61) * --output-directory command-line option: Command line options. - (line 51) + (line 48) * --shell-escape command-line option: Command line options. - (line 54) + (line 61) * --version command-line option: Command line options. - (line 14) + (line 18) +* -1, write stream number: \write. (line 30) * .aux file: Output files. (line 33) * .dvi file: Output files. (line 10) +* .fmt file: TeX engines. (line 6) * .glo file: Glossaries. (line 43) * .idx file: Indexes. (line 6) * .idx file <1>: makeindex. (line 6) @@ -15255,72 +17259,81 @@ Index * .lof file: Output files. (line 43) * .lof file <1>: Table of contents etc.. (line 6) +* .lof file <2>: \contentsline. (line 6) * .log file: Output files. (line 28) * .lot file: Output files. (line 43) * .lot file <1>: Table of contents etc.. (line 6) +* .lot file <2>: \contentsline. (line 6) * .pdf file: Output files. (line 20) -* .tex, default extension: Command line. (line 18) +* .tex, default extension: Command line interface. + (line 19) * .toc file: Output files. (line 43) * .toc file <1>: Table of contents etc.. (line 6) -* .xdv file: TeX engines. (line 39) +* .toc file <2>: \contentsline. (line 6) +* .xdv file: TeX engines. (line 42) +* /bin/sh, used by \write18: \write18. (line 60) * 10pt option: Document class options. (line 14) * 11pt option: Document class options. (line 14) * 12pt option: Document class options. (line 14) -* :: Colon character & \colon. - (line 6) -* : <1>: Colon character & \colon. +* : for math: Colon character & \colon. (line 6) * [...] for optional arguments: LaTeX command syntax. (line 6) +* \ (backslash-space): \(SPACE). (line 6) * \ character starting commands: LaTeX command syntax. (line 6) * \!: Spacing in math mode. - (line 46) -* \" (umlaut accent): Accents. (line 23) -* \#: Reserved characters. (line 13) -* \$: Reserved characters. (line 13) -* \%: Reserved characters. (line 13) -* \&: Reserved characters. (line 13) -* \' (acute accent): Accents. (line 27) + (line 58) +* \" (umlaut accent): Accents. (line 25) +* \#: Reserved characters. (line 14) +* \$: Reserved characters. (line 14) +* \%: Reserved characters. (line 14) +* \&: Reserved characters. (line 14) +* \' (acute accent): Accents. (line 29) * \' (tabbing): tabbing. (line 87) +* \(...\) inline math: math. (line 12) * \*: \*. (line 6) * \+: tabbing. (line 79) * \,: Spacing in math mode. - (line 32) + (line 44) * \-: tabbing. (line 83) * \- (hyphenation): \- (hyphenation). (line 6) -* \. (dot-over accent): Accents. (line 30) +* \. (dot-over accent): Accents. (line 32) * \/: \/. (line 6) * \:: Spacing in math mode. - (line 28) + (line 34) * \;: Spacing in math mode. (line 23) * \<: tabbing. (line 75) -* \= (macron accent): Accents. (line 34) +* \= (macron accent): Accents. (line 36) * \= (tabbing): tabbing. (line 69) * \>: tabbing. (line 73) * \> <1>: Spacing in math mode. - (line 28) + (line 34) * \> (tabbing): tabbing. (line 72) * \@: \@. (line 6) -* \@beginparpenalty: list. (line 241) -* \@endparpenalty: list. (line 249) +* \@auxout: \write. (line 45) +* \@beginparpenalty: list. (line 242) +* \@dottedtocline: \@dottedtocline. (line 6) +* \@endparpenalty: list. (line 250) * \@fnsymbol: \footnote. (line 24) * \@ifstar: \@ifstar. (line 6) -* \@itempenalty: list. (line 245) +* \@itempenalty: list. (line 246) +* \@mainaux: \write. (line 45) * \@startsection: \@startsection. (line 6) * \a (tabbing): tabbing. (line 102) * \a' (acute accent in tabbing): tabbing. (line 103) * \a= (macron accent in tabbing): tabbing. (line 103) -* \aa (aa): Additional Latin letters. +* \aa (å): Additional Latin letters. (line 12) -* \AA (AA): Additional Latin letters. +* \AA (Å): Additional Latin letters. (line 12) +* \accent: \accent. (line 6) * \acute: Math accents. (line 10) * \addcontentsline: \addcontentsline. (line 6) * \address: \address. (line 6) @@ -15328,9 +17341,9 @@ Index * \addtocounter: \addtocounter. (line 6) * \addtolength: \addtolength. (line 6) * \addvspace: \addvspace. (line 6) -* \ae (ae): Additional Latin letters. +* \ae (æ): Additional Latin letters. (line 16) -* \AE (AE): Additional Latin letters. +* \AE (Æ): Additional Latin letters. (line 16) * \aleph: Math symbols. (line 21) * \Alph example: enumerate. (line 61) @@ -15355,7 +17368,7 @@ Index * \arrayrulewidth: tabular. (line 157) * \arraystretch: tabular. (line 163) * \ast: Math symbols. (line 38) -* \asymp: Math symbols. (line 47) +* \asymp: Math symbols. (line 46) * \AtBeginDocument: \AtBeginDocument. (line 6) * \AtBeginDvi: Class and package commands. (line 9) @@ -15366,25 +17379,28 @@ Index (line 14) * \author{NAME1 \and NAME2 \and ...}: \maketitle. (line 42) * \a` (grave accent in tabbing): tabbing. (line 103) -* \b (bar-under accent): Accents. (line 49) +* \b (bar-under accent): Accents. (line 51) * \backmatter: \frontmatter & \mainmatter & \backmatter. (line 6) -* \backslash: Math symbols. (line 50) +* \backslash: Math symbols. (line 49) * \bar: Math accents. (line 13) * \baselineskip: Low-level font commands. (line 101) -* \baselinestretch: Low-level font commands. - (line 111) +* \baselineskip <1>: \baselineskip & \baselinestretch. + (line 6) +* \baselinestretch: \baselineskip & \baselinestretch. + (line 6) * \begin: Environments. (line 6) -* \beta: Math symbols. (line 54) -* \bf: Font styles. (line 74) -* \bfseries: Font styles. (line 39) +* \beta: Math symbols. (line 53) +* \bf: Font styles. (line 75) +* \bfseries: Font styles. (line 40) * \bibitem: \bibitem. (line 6) * \bibliography: Using BibTeX. (line 6) * \bibliographystyle: Using BibTeX. (line 6) -* \bigcap: Math symbols. (line 57) +* \bibname: thebibliography. (line 44) +* \bigcap: Math symbols. (line 56) * \bigcirc: Math symbols. (line 61) -* \bigcup: Math symbols. (line 65) +* \bigcup: Math symbols. (line 64) * \bigodot: Math symbols. (line 69) * \bigoplus: Math symbols. (line 72) * \bigotimes: Math symbols. (line 75) @@ -15392,46 +17408,46 @@ Index (line 28) * \bigskipamount: \bigskip & \medskip & \smallskip. (line 29) -* \bigsqcup: Math symbols. (line 86) +* \bigsqcup: Math symbols. (line 84) * \bigtriangledown: Math symbols. (line 78) -* \bigtriangleup: Math symbols. (line 82) -* \biguplus: Math symbols. (line 89) -* \bigvee: Math symbols. (line 93) -* \bigwedge: Math symbols. (line 96) +* \bigtriangleup: Math symbols. (line 81) +* \biguplus: Math symbols. (line 87) +* \bigvee: Math symbols. (line 91) +* \bigwedge: Math symbols. (line 94) * \bmod: Math functions. (line 21) * \boldmath: \boldmath & \unboldmath. (line 6) * \boldmath <1>: \boldmath & \unboldmath. (line 14) -* \bot: Math symbols. (line 99) +* \bot: Math symbols. (line 97) * \bottomfraction: Floats. (line 94) * \bottomfraction <1>: Floats. (line 95) -* \bowtie: Math symbols. (line 104) -* \Box: Math symbols. (line 107) +* \bowtie: Math symbols. (line 102) +* \Box: Math symbols. (line 105) * \breve: Math accents. (line 16) -* \bullet: Math symbols. (line 112) -* \c (cedilla accent): Accents. (line 59) -* \cal: Font styles. (line 77) -* \cap: Math symbols. (line 115) -* \capitalacute: Accents. (line 27) -* \capitalbreve: Accents. (line 85) -* \capitalcaron: Accents. (line 89) -* \capitalcedilla: Accents. (line 59) -* \capitalcircumflex: Accents. (line 38) -* \capitaldieresis: Accents. (line 23) -* \capitaldotaccent: Accents. (line 63) -* \capitalgrave: Accents. (line 42) -* \capitalhungarumlaut: Accents. (line 67) -* \capitalmacron: Accents. (line 34) -* \capitalnewtie: Accents. (line 81) -* \capitalogonek: Accents. (line 71) -* \capitalring: Accents. (line 75) -* \capitaltie: Accents. (line 81) -* \capitaltilde: Accents. (line 46) +* \bullet: Math symbols. (line 110) +* \c (cedilla accent): Accents. (line 61) +* \cal: Font styles. (line 78) +* \cap: Math symbols. (line 113) +* \capitalacute: Accents. (line 29) +* \capitalbreve: Accents. (line 87) +* \capitalcaron: Accents. (line 91) +* \capitalcedilla: Accents. (line 61) +* \capitalcircumflex: Accents. (line 40) +* \capitaldieresis: Accents. (line 25) +* \capitaldotaccent: Accents. (line 65) +* \capitalgrave: Accents. (line 44) +* \capitalhungarumlaut: Accents. (line 69) +* \capitalmacron: Accents. (line 36) +* \capitalnewtie: Accents. (line 83) +* \capitalogonek: Accents. (line 73) +* \capitalring: Accents. (line 77) +* \capitaltie: Accents. (line 83) +* \capitaltilde: Accents. (line 48) * \caption: figure. (line 44) -* \caption <1>: table. (line 44) +* \caption <1>: table. (line 42) * \cc: \cc. (line 6) -* \cdot: Math symbols. (line 120) +* \cdot: Math symbols. (line 118) * \cdots: Dots. (line 17) * \centering: \centering. (line 6) * \chapter: Sectioning. (line 6) @@ -15441,8 +17457,8 @@ Index (line 21) * \CheckCommand*: Class and package commands. (line 21) -* \chi: Math symbols. (line 123) -* \circ: Math symbols. (line 126) +* \chi: Math symbols. (line 121) +* \circ: Math symbols. (line 124) * \circle: \circle. (line 6) * \cite: \cite. (line 6) * \ClassError: Class and package commands. @@ -15460,8 +17476,10 @@ Index * \clearpage: \clearpage & \cleardoublepage. (line 6) * \cline: \cline. (line 6) +* \closein: \openin & \openout. (line 6) +* \closeout: \openin & \openout. (line 6) * \closing: \closing. (line 6) -* \clubsuit: Math symbols. (line 131) +* \clubsuit: Math symbols. (line 129) * \colon: Colon character & \colon. (line 6) * \columnsep: \twocolumn. (line 20) @@ -15479,24 +17497,27 @@ Index (line 8) * \columnwidth <2>: Page layout parameters. (line 9) -* \complement: Math symbols. (line 134) -* \cong: Math symbols. (line 140) -* \contentsline: \addcontentsline. (line 10) -* \coprod: Math symbols. (line 143) -* \copyright: Text symbols. (line 11) +* \complement: Math symbols. (line 132) +* \cong: Math symbols. (line 138) +* \contentsline: Table of contents etc.. + (line 63) +* \contentsline <1>: \addcontentsline. (line 10) +* \contentsline <2>: \contentsline. (line 6) +* \coprod: Math symbols. (line 141) +* \copyright: Text symbols. (line 13) * \cos: Math functions. (line 24) * \cosh: Math functions. (line 27) * \cot: Math functions. (line 30) * \coth: Math functions. (line 33) * \csc: Math functions. (line 36) -* \cup: Math symbols. (line 146) +* \cup: Math symbols. (line 144) * \CurrentOption: Class and package commands. (line 60) -* \d (dot-under accent): Accents. (line 63) -* \dag: Text symbols. (line 15) -* \dagger: Math symbols. (line 151) +* \d (dot-under accent): Accents. (line 65) +* \dag: Text symbols. (line 17) +* \dagger: Math symbols. (line 148) * \dashbox: \dashbox. (line 6) -* \dashv: Math symbols. (line 154) +* \dashv: Math symbols. (line 151) * \date{TEXT}: \maketitle. (line 50) * \day: \day & \month & \year. (line 6) @@ -15505,10 +17526,12 @@ Index * \dbltextfloatsep: \twocolumn. (line 79) * \dbltopfraction: \twocolumn. (line 45) * \dbltopnumber: \twocolumn. (line 84) -* \ddag: Text symbols. (line 18) -* \ddagger: Math symbols. (line 158) +* \ddag: Text symbols. (line 20) +* \ddagger: Math symbols. (line 156) * \ddot: Math accents. (line 22) * \ddots: Dots. (line 21) +* \DeclareFontEncoding: \DeclareFontEncoding. + (line 6) * \DeclareGraphicsExtensions: \DeclareGraphicsExtensions. (line 6) * \DeclareGraphicsRule: \DeclareGraphicsRule. @@ -15521,35 +17544,59 @@ Index (line 96) * \DeclareRobustCommand*: Class and package commands. (line 96) +* \DeclareTextAccent: \DeclareTextAccent. (line 6) +* \DeclareTextAccent <1>: \DeclareTextAccentDefault. + (line 6) +* \DeclareTextAccentDefault: \DeclareTextAccentDefault. + (line 6) +* \DeclareTextCommand: \DeclareTextCommand & \ProvideTextCommand. + (line 6) +* \DeclareTextCommand <1>: \DeclareTextCommandDefault & \ProvideTextCommandDefault. + (line 6) +* \DeclareTextCommandDefault: \DeclareTextCommand & \ProvideTextCommand. + (line 6) +* \DeclareTextCommandDefault <1>: \DeclareTextCommandDefault & \ProvideTextCommandDefault. + (line 6) +* \DeclareTextComposite: \DeclareTextComposite. + (line 6) +* \DeclareTextCompositeCommand: \DeclareTextCompositeCommand. + (line 6) +* \DeclareTextSymbol: \DeclareTextSymbol. (line 6) +* \DeclareTextSymbol <1>: \DeclareTextSymbolDefault. + (line 6) +* \DeclareTextSymbolDefault: \DeclareTextSymbolDefault. + (line 6) * \deg: Math functions. (line 39) -* \Delta: Math symbols. (line 161) -* \delta: Math symbols. (line 164) +* \DelayedShellEscape: \write18. (line 71) +* \Delta: Math symbols. (line 159) +* \delta: Math symbols. (line 162) * \det: Math functions. (line 42) -* \dh (d): Additional Latin letters. +* \dh (ð): Additional Latin letters. (line 20) -* \DH (D): Additional Latin letters. +* \DH (Ð): Additional Latin letters. (line 20) -* \Diamond: Math symbols. (line 167) -* \diamond: Math symbols. (line 171) -* \diamondsuit: Math symbols. (line 175) +* \Diamond: Math symbols. (line 165) +* \diamond: Math symbols. (line 169) +* \diamondsuit: Math symbols. (line 174) * \dim: Math functions. (line 45) * \displaystyle: Math formulas. (line 61) -* \div: Math symbols. (line 178) +* \div: Math symbols. (line 177) * \dj: Additional Latin letters. (line 26) * \DJ: Additional Latin letters. (line 26) * \documentclass: Document classes. (line 6) +* \documentclass, and texput jobname: Jobname. (line 30) * \dot: Math accents. (line 25) -* \doteq: Math symbols. (line 181) +* \doteq: Math symbols. (line 180) * \dotfill: \hrulefill & \dotfill. (line 6) -* \dots: Text symbols. (line 35) +* \dots: Text symbols. (line 37) * \doublerulesep: tabular. (line 168) * \downarrow: Math symbols. (line 185) * \Downarrow: Math symbols. (line 189) * \ell: Math symbols. (line 193) -* \emph: Font styles. (line 59) +* \emph: Font styles. (line 60) * \emptyset: Math symbols. (line 196) * \encl: \encl. (line 6) * \end: Environments. (line 6) @@ -15561,7 +17608,7 @@ Index * \enumii: enumerate. (line 47) * \enumiii: enumerate. (line 47) * \enumiv: enumerate. (line 47) -* \epsilon: Math symbols. (line 200) +* \epsilon: Math symbols. (line 199) * \equiv: Math symbols. (line 206) * \eta: Math symbols. (line 209) * \evensidemargin: Document class options. @@ -15574,6 +17621,7 @@ Index (line 172) * \exists: Math symbols. (line 212) * \exp: Math functions. (line 48) +* \externaldocument: xr package. (line 6) * \extracolsep: tabular. (line 108) * \fbox: \fbox & \framebox. (line 6) * \fboxrule: \framebox (picture). (line 31) @@ -15592,6 +17640,7 @@ Index * \fnsymbol, and footnotes: \footnote. (line 24) * \fnsymbol{COUNTER}: \alph \Alph \arabic \roman \Roman \fnsymbol. (line 37) +* \fontdimen1: \/. (line 40) * \fontencoding: Low-level font commands. (line 11) * \fontfamily: Low-level font commands. @@ -15633,13 +17682,13 @@ Index * \graphicspath: \graphicspath. (line 6) * \graphpaper: \graphpaper. (line 6) * \grave: Math accents. (line 28) -* \guillemotleft (<<): Text symbols. (line 27) -* \guillemotright (>>): Text symbols. (line 28) -* \guilsinglleft (<): Text symbols. (line 29) -* \guilsinglright (>): Text symbols. (line 30) -* \H (Hungarian umlaut accent): Accents. (line 67) +* \guillemotleft («): Text symbols. (line 29) +* \guillemotright (»): Text symbols. (line 30) +* \guilsinglleft (‹): Text symbols. (line 31) +* \guilsinglright (›): Text symbols. (line 32) +* \H (Hungarian umlaut accent): Accents. (line 69) * \hat: Math accents. (line 31) -* \hbar: Math symbols. (line 245) +* \hbar: Math symbols. (line 244) * \headheight: Page layout parameters. (line 14) * \headheight <1>: Page layout parameters. @@ -15648,25 +17697,26 @@ Index (line 19) * \headsep <1>: Page layout parameters. (line 20) -* \heartsuit: Math symbols. (line 248) +* \heartsuit: Math symbols. (line 247) * \hfill: \hfill. (line 6) * \hline: \hline. (line 6) * \hom: Math functions. (line 54) -* \hookleftarrow: Math symbols. (line 251) -* \hookrightarrow: Math symbols. (line 254) +* \hookleftarrow: Math symbols. (line 250) +* \hookrightarrow: Math symbols. (line 253) * \hrulefill: \hrulefill & \dotfill. (line 6) * \hsize: Page layout parameters. (line 119) * \hsize <1>: Page layout parameters. - (line 119) + (line 120) * \hspace: \hspace. (line 6) * \hss: \hss. (line 6) * \huge: Font sizes. (line 11) * \Huge: Font sizes. (line 11) * \hyphenation: \hyphenation. (line 6) -* \i (dotless i): Accents. (line 17) -* \iff: Math symbols. (line 257) +* \i (dotless i): Accents. (line 19) +* \IfBeginWith* macro from xstring: Jobname. (line 53) +* \iff: Math symbols. (line 256) * \IfFileExists: Class and package commands. (line 128) * \ignorespaces: \ignorespaces & \ignorespacesafterend. @@ -15677,9 +17727,10 @@ Index (line 32) * \IJ (IJ): Additional Latin letters. (line 32) -* \Im: Math symbols. (line 261) -* \imath: Math symbols. (line 264) -* \in: Math symbols. (line 268) +* \Im: Math symbols. (line 260) +* \imath: Math symbols. (line 263) +* \immediate\write: \write. (line 60) +* \in: Math symbols. (line 267) * \include: \include & \includeonly. (line 6) * \includegraphics: \includegraphics. (line 6) @@ -15691,88 +17742,101 @@ Index * \indexentry: \index. (line 106) * \indexspace: makeindex. (line 58) * \inf: Math functions. (line 57) -* \infty: Math symbols. (line 273) +* \infty: Math symbols. (line 271) * \input: \input. (line 6) * \InputIfFileExists: Class and package commands. (line 128) -* \int: Math symbols. (line 276) +* \int: Math symbols. (line 274) * \intextsep: Floats. (line 118) * \intextsep <1>: Floats. (line 119) -* \iota: Math symbols. (line 279) -* \it: Font styles. (line 80) +* \iota: Math symbols. (line 277) +* \it: Font styles. (line 81) * \item: description. (line 31) * \item <1>: enumerate. (line 29) * \item <2>: itemize. (line 6) -* \item <3>: itemize. (line 28) -* \itemindent: list. (line 83) -* \itemsep: list. (line 87) -* \itshape: Font styles. (line 33) -* \j (dotless j): Accents. (line 17) -* \jmath: Math symbols. (line 286) -* \Join: Math symbols. (line 282) -* \k (ogonek): Accents. (line 71) -* \kappa: Math symbols. (line 290) +* \item <3>: itemize. (line 30) +* \itemindent: list. (line 84) +* \itemsep: list. (line 88) +* \itshape: Font styles. (line 34) +* \j (dotless j): Accents. (line 19) +* \jmath: Math symbols. (line 283) +* \jobname: Jobname. (line 6) +* \jobname <1>: Jobname. (line 44) +* \Join: Math symbols. (line 280) +* \k (ogonek): Accents. (line 73) +* \kappa: Math symbols. (line 287) * \ker: Math functions. (line 60) * \kill: tabbing. (line 107) -* \l (/l): Additional Latin letters. +* \l (ł): Additional Latin letters. (line 36) -* \L (/L): Additional Latin letters. +* \L (Ł): Additional Latin letters. (line 36) +* \l@chapter: \contentsline. (line 6) +* \l@section: \contentsline. (line 6) +* \l@subsection: \contentsline. (line 6) * \label: \label. (line 6) * \labelenumi: enumerate. (line 56) * \labelenumii: enumerate. (line 56) * \labelenumiii: enumerate. (line 56) * \labelenumiv: enumerate. (line 56) -* \labelitemi: itemize. (line 35) -* \labelitemii: itemize. (line 35) -* \labelitemiii: itemize. (line 35) -* \labelitemiv: itemize. (line 35) -* \labelsep: list. (line 99) -* \labelwidth: list. (line 104) -* \Lambda: Math symbols. (line 293) -* \lambda: Math symbols. (line 296) -* \land: Math symbols. (line 299) -* \langle: Math symbols. (line 304) +* \labelitemi: itemize. (line 42) +* \labelitemii: itemize. (line 42) +* \labelitemiii: itemize. (line 42) +* \labelitemiv: itemize. (line 42) +* \labelsep: list. (line 100) +* \labelwidth: list. (line 105) +* \Lambda: Math symbols. (line 290) +* \lambda: Math symbols. (line 293) +* \land: Math symbols. (line 296) +* \langle: Math symbols. (line 300) * \large: Font sizes. (line 11) * \Large: Font sizes. (line 11) * \LARGE: Font sizes. (line 11) -* \LaTeX: Text symbols. (line 21) -* \LaTeXe: Text symbols. (line 24) -* \lbrace: Math symbols. (line 309) -* \lbrack: Math symbols. (line 313) -* \lceil: Math symbols. (line 317) -* \ldots: Dots. (line 25) -* \ldots <1>: Text symbols. (line 34) -* \le: Math symbols. (line 321) -* \leadsto: Math symbols. (line 325) +* \LastDeclaredEncoding: \LastDeclaredEncoding. + (line 6) +* \LaTeX: Text symbols. (line 23) +* \LaTeXe: Text symbols. (line 26) +* \lbrace: Math symbols. (line 304) +* \lbrack: Math symbols. (line 307) +* \lceil: Math symbols. (line 310) +* \ldots: Dots. (line 24) +* \ldots <1>: Text symbols. (line 36) +* \le: Math symbols. (line 315) +* \leadsto: Math symbols. (line 318) * \left: \left & \right. (line 6) -* \Leftarrow: Math symbols. (line 332) -* \leftarrow: Math symbols. (line 337) +* \Leftarrow: Math symbols. (line 324) +* \leftarrow: Math symbols. (line 329) * \lefteqn: eqnarray. (line 46) -* \leftharpoondown: Math symbols. (line 341) -* \leftharpoonup: Math symbols. (line 344) -* \leftmargin: itemize. (line 54) -* \leftmargin <1>: list. (line 124) -* \leftmargini: itemize. (line 54) -* \leftmarginii: itemize. (line 54) -* \leftmarginiii: itemize. (line 54) -* \leftmarginiv: itemize. (line 54) -* \leftmarginv: itemize. (line 54) -* \leftmarginvi: itemize. (line 54) -* \Leftrightarrow: Math symbols. (line 347) -* \leftrightarrow: Math symbols. (line 352) -* \leq: Math symbols. (line 357) -* \lfloor: Math symbols. (line 361) +* \leftharpoondown: Math symbols. (line 333) +* \leftharpoonup: Math symbols. (line 336) +* \leftmargin: itemize. (line 58) +* \leftmargin <1>: list. (line 125) +* \leftmargini: itemize. (line 58) +* \leftmarginii: itemize. (line 58) +* \leftmarginiii: itemize. (line 58) +* \leftmarginiv: itemize. (line 58) +* \leftmarginv: itemize. (line 58) +* \leftmarginvi: itemize. (line 58) +* \Leftrightarrow: Math symbols. (line 339) +* \leftrightarrow: Math symbols. (line 344) +* \leq: Math symbols. (line 349) +* \lfloor: Math symbols. (line 352) * \lg: Math functions. (line 63) -* \lhd: Math symbols. (line 364) +* \lhd: Math symbols. (line 355) * \lim: Math functions. (line 66) * \liminf: Math functions. (line 69) * \limsup: Math functions. (line 72) * \line: \line. (line 6) * \linebreak: \linebreak & \nolinebreak. (line 6) +* \lineskip: \baselineskip & \baselinestretch. + (line 45) +* \lineskiplimit: \baselineskip & \baselinestretch. + (line 45) * \linespread: Low-level font commands. - (line 125) + (line 112) +* \linespread <1>: \baselineskip & \baselinestretch. + (line 6) * \linethickness: \linethickness. (line 6) * \linewidth: Page layout parameters. (line 33) @@ -15780,24 +17844,28 @@ Index (line 34) * \listoffigures: Table of contents etc.. (line 6) +* \listoffigures <1>: \contentsline. (line 6) * \listoftables: Table of contents etc.. (line 6) -* \listparindent: list. (line 141) -* \ll: Math symbols. (line 372) +* \listoftables <1>: \contentsline. (line 6) +* \listparindent: list. (line 142) +* \ll: Math symbols. (line 361) * \ln: Math functions. (line 75) -* \lnot: Math symbols. (line 376) +* \lnot: Math symbols. (line 364) * \LoadClass: Class and package commands. (line 148) * \LoadClassWithOptions: Class and package commands. (line 148) * \location: \location. (line 6) * \log: Math functions. (line 78) -* \longleftarrow: Math symbols. (line 379) -* \longleftrightarrow: Math symbols. (line 384) -* \longmapsto: Math symbols. (line 388) -* \longrightarrow: Math symbols. (line 393) -* \lor: Math symbols. (line 398) -* \lq: Text symbols. (line 40) +* \long: \newcommand & \renewcommand. + (line 27) +* \longleftarrow: Math symbols. (line 367) +* \longleftrightarrow: Math symbols. (line 372) +* \longmapsto: Math symbols. (line 377) +* \longrightarrow: Math symbols. (line 382) +* \lor: Math symbols. (line 387) +* \lq: Text symbols. (line 42) * \mainmatter: \frontmatter & \mainmatter & \backmatter. (line 6) * \makebox: \mbox & \makebox. (line 6) @@ -15805,73 +17873,79 @@ Index * \makeglossary: Glossaries. (line 6) * \makeglossary <1>: Glossaries. (line 43) * \makeindex: Indexes. (line 6) -* \makelabel: list. (line 60) +* \makelabel: list. (line 61) * \makelabels: \makelabels. (line 6) * \maketitle: \maketitle. (line 6) -* \mapsto: Math symbols. (line 401) +* \mapsto: Math symbols. (line 391) * \marginpar: Marginal notes. (line 6) * \marginparpush: Page layout parameters. (line 40) * \marginparpush <1>: Page layout parameters. (line 43) * \marginparpush <2>: Marginal notes. (line 35) -* \marginparsep: Marginal notes. (line 39) +* \marginparsep: Marginal notes. (line 40) * \marginparwidth: Page layout parameters. (line 42) * \marginparwidth <1>: Page layout parameters. (line 43) -* \marginparwidth <2>: Marginal notes. (line 43) +* \marginparwidth <2>: Marginal notes. (line 44) * \marginsep: Page layout parameters. (line 41) * \marginsep <1>: Page layout parameters. (line 43) * \markboth{LEFT-HEAD}{RIGHT-HEAD}: \pagestyle. (line 75) * \markright{RIGHT}: \pagestyle. (line 84) -* \mathbf: Font styles. (line 110) -* \mathcal: Font styles. (line 126) -* \mathdollar: Math symbols. (line 910) -* \mathnormal: Font styles. (line 123) -* \mathparagraph: Math symbols. (line 913) +* \mathbf: Font styles. (line 111) +* \mathcal: Font styles. (line 127) +* \mathdollar: Math symbols. (line 872) +* \mathnormal: Font styles. (line 124) +* \mathparagraph: Math symbols. (line 875) * \mathring: Math accents. (line 34) -* \mathrm: Font styles. (line 107) -* \mathsection: Math symbols. (line 916) -* \mathsf: Font styles. (line 113) -* \mathsterling: Math symbols. (line 919) -* \mathtt: Font styles. (line 116) -* \mathunderscore: Math symbols. (line 922) -* \mathversion: Font styles. (line 128) +* \mathrm: Font styles. (line 108) +* \mathsection: Math symbols. (line 878) +* \mathsf: Font styles. (line 114) +* \mathsterling: Math symbols. (line 881) +* \mathstrut: \mathstrut. (line 6) +* \mathtt: Font styles. (line 117) +* \mathunderscore: Math symbols. (line 884) +* \mathversion: Font styles. (line 129) * \max: Math functions. (line 81) * \mbox: \mbox & \makebox. (line 6) -* \mdseries: Font styles. (line 36) +* \mdseries: Font styles. (line 37) * \medskip: \bigskip & \medskip & \smallskip. (line 33) * \medskipamount: \bigskip & \medskip & \smallskip. (line 34) * \medspace: Spacing in math mode. - (line 28) -* \mho: Math symbols. (line 405) -* \mid: Math symbols. (line 410) + (line 34) +* \message: \message. (line 6) +* \mho: Math symbols. (line 396) +* \mid: Math symbols. (line 399) * \min: Math functions. (line 84) -* \models: Math symbols. (line 420) +* \models: Math symbols. (line 409) * \month: \day & \month & \year. (line 6) -* \mp: Math symbols. (line 425) -* \mu: Math symbols. (line 428) +* \mp: Math symbols. (line 414) +* \mu: Math symbols. (line 417) * \multicolumn: \multicolumn. (line 6) * \multiput: \multiput. (line 6) -* \nabla: Math symbols. (line 431) +* \nabla: Math symbols. (line 420) * \name: \name. (line 6) -* \natural: Math symbols. (line 434) -* \ne: Math symbols. (line 437) -* \nearrow: Math symbols. (line 440) +* \natural: Math symbols. (line 423) +* \ne: Math symbols. (line 426) +* \nearrow: Math symbols. (line 429) * \NeedsTeXFormat: Class and package commands. (line 182) -* \neg: Math symbols. (line 443) +* \neg: Math symbols. (line 432) +* \negmedspace: Spacing in math mode. + (line 39) +* \negthickspace: Spacing in math mode. + (line 28) * \negthinspace: Spacing in math mode. - (line 46) + (line 58) * \negthinspace <1>: \thinspace & \negthinspace. (line 6) -* \neq: Math symbols. (line 447) +* \neq: Math symbols. (line 436) * \newcommand: \newcommand & \renewcommand. (line 6) * \newcounter: \newcounter. (line 6) @@ -15885,15 +17959,16 @@ Index * \newpage: \newpage. (line 6) * \newsavebox: \newsavebox. (line 6) * \newtheorem: \newtheorem. (line 6) -* \newtie: Accents. (line 81) +* \newtie: Accents. (line 83) +* \newwrite: \write. (line 24) * \ng: Additional Latin letters. (line 40) * \NG: Additional Latin letters. (line 40) -* \ni: Math symbols. (line 450) +* \ni: Math symbols. (line 439) * \nocite: \nocite. (line 6) -* \nocorr: Font styles. (line 21) -* \nocorrlist: Font styles. (line 21) +* \nocorr: Font styles. (line 22) +* \nocorrlist: Font styles. (line 22) * \nofiles: \nofiles. (line 6) * \noindent: \indent & \noindent. (line 6) * \nolinebreak: \linebreak & \nolinebreak. @@ -15902,17 +17977,18 @@ Index * \nonumber: eqnarray. (line 41) * \nopagebreak: \pagebreak & \nopagebreak. (line 6) -* \normalfont: Font styles. (line 57) +* \normalfont: Font styles. (line 58) * \normalmarginpar: Marginal notes. (line 22) * \normalsfcodes: \normalsfcodes. (line 6) * \normalsize: Font sizes. (line 11) -* \not: Math symbols. (line 455) -* \notin: Math symbols. (line 463) -* \nu: Math symbols. (line 467) -* \nwarrow: Math symbols. (line 470) -* \o (/o): Additional Latin letters. +* \not: Math symbols. (line 444) +* \notin: Math symbols. (line 452) +* \nu: Math symbols. (line 456) +* \numberline: \numberline. (line 6) +* \nwarrow: Math symbols. (line 459) +* \o (ø): Additional Latin letters. (line 44) -* \O (/O): Additional Latin letters. +* \O (Ø): Additional Latin letters. (line 44) * \obeycr: \obeycr & \restorecr. (line 6) @@ -15922,30 +17998,32 @@ Index (line 66) * \oddsidemargin <2>: Page layout parameters. (line 68) -* \odot: Math symbols. (line 473) -* \oe (oe): Additional Latin letters. +* \odot: Math symbols. (line 462) +* \oe (œ): Additional Latin letters. (line 48) -* \OE (OE): Additional Latin letters. +* \OE (Œ): Additional Latin letters. (line 48) -* \oint: Math symbols. (line 478) -* \oldstylenums: Font styles. (line 132) -* \Omega: Math symbols. (line 482) -* \omega: Math symbols. (line 485) -* \ominus: Math symbols. (line 488) +* \oint: Math symbols. (line 466) +* \oldstylenums: Font styles. (line 133) +* \Omega: Math symbols. (line 469) +* \omega: Math symbols. (line 472) +* \ominus: Math symbols. (line 475) * \onecolumn: \onecolumn. (line 6) +* \openin: \openin & \openout. (line 6) * \opening: \opening. (line 6) -* \oplus: Math symbols. (line 491) +* \openout: \openin & \openout. (line 6) +* \oplus: Math symbols. (line 478) * \OptionNotUsed: Class and package commands. (line 200) -* \oslash: Math symbols. (line 495) -* \otimes: Math symbols. (line 498) +* \oslash: Math symbols. (line 483) +* \otimes: Math symbols. (line 486) * \oval: \oval. (line 6) * \overbrace{MATH}: Over- and Underlining. (line 40) * \overline{TEXT}: Over- and Underlining. (line 21) -* \owns: Math symbols. (line 503) -* \P: Text symbols. (line 43) +* \owns: Math symbols. (line 491) +* \P: Text symbols. (line 45) * \PackageError: Class and package commands. (line 41) * \PackageInfo: Class and package commands. @@ -15973,20 +18051,20 @@ Index * \paragraph: Sectioning. (line 6) * \paragraph <1>: \subsubsection & \paragraph & \subparagraph. (line 6) -* \parallel: Math symbols. (line 508) +* \parallel: Math symbols. (line 496) * \parbox: \parbox. (line 6) * \parindent: minipage. (line 103) * \parindent <1>: \indent & \noindent. (line 6) * \parindent <2>: \parindent & \parskip. (line 6) -* \parsep: list. (line 147) +* \parsep: list. (line 148) * \parskip: \parindent & \parskip. (line 6) -* \parskip example: itemize. (line 73) +* \parskip example: itemize. (line 78) * \part: Sectioning. (line 6) * \part <1>: \part. (line 6) -* \partial: Math symbols. (line 511) -* \partopsep: list. (line 156) +* \partial: Math symbols. (line 499) +* \partopsep: list. (line 157) * \PassOptionsToClass: Class and package commands. (line 206) * \PassOptionsToPackage: Class and package commands. @@ -15995,19 +18073,22 @@ Index (line 40) * \pdfpagewidth: Document class options. (line 40) -* \perp: Math symbols. (line 514) -* \phi: Math symbols. (line 519) -* \Pi: Math symbols. (line 523) -* \pi: Math symbols. (line 526) -* \pm: Math symbols. (line 530) +* \perp: Math symbols. (line 502) +* \Phi: Math symbols. (line 506) +* \phi: Math symbols. (line 509) +* \Pi: Math symbols. (line 514) +* \pi: Math symbols. (line 517) +* \pm: Math symbols. (line 521) * \pmod: Math functions. (line 87) * \poptabs: tabbing. (line 113) * \poptabs <1>: tabbing. (line 114) -* \pounds: Text symbols. (line 47) +* \pounds: Text symbols. (line 49) * \Pr: Math functions. (line 90) -* \prec: Math symbols. (line 533) -* \preceq: Math symbols. (line 536) -* \prime: Math symbols. (line 541) +* \prec: Math symbols. (line 524) +* \preceq: Math symbols. (line 527) +* \prevdepth: \baselineskip & \baselinestretch. + (line 45) +* \prime: Math symbols. (line 531) * \printglossaries: Glossaries. (line 6) * \printglossaries <1>: Glossaries. (line 43) * \printindex: \printindex. (line 6) @@ -16016,9 +18097,10 @@ Index (line 243) * \ProcessOptions*: Class and package commands. (line 243) -* \prod: Math symbols. (line 550) -* \propto: Math symbols. (line 553) +* \prod: Math symbols. (line 540) +* \propto: Math symbols. (line 543) * \protect: \protect. (line 6) +* \protected@write: \write. (line 70) * \providecommand: \providecommand. (line 6) * \ProvidesClass: Class and package commands. (line 281) @@ -16026,324 +18108,357 @@ Index (line 314) * \ProvidesPackage: Class and package commands. (line 281) +* \ProvideTextCommand: \DeclareTextCommand & \ProvideTextCommand. + (line 6) +* \ProvideTextCommand <1>: \DeclareTextCommandDefault & \ProvideTextCommandDefault. + (line 6) +* \ProvideTextCommandDefault: \DeclareTextCommandDefault & \ProvideTextCommandDefault. + (line 6) * \ps: \ps. (line 6) -* \Psi: Math symbols. (line 556) -* \psi: Math symbols. (line 559) +* \Psi: Math symbols. (line 546) +* \psi: Math symbols. (line 549) * \pushtabs: tabbing. (line 116) * \put: \put. (line 6) * \qbezier: \qbezier. (line 6) * \qquad: Spacing in math mode. - (line 57) + (line 71) * \qquad <1>: \enspace & \quad & \qquad. (line 6) * \quad: Spacing in math mode. - (line 51) + (line 65) * \quad <1>: \enspace & \quad & \qquad. (line 6) -* \quotedblbase (,,): Text symbols. (line 51) -* \quotesinglbase (,): Text symbols. (line 52) -* \r (ring accent): Accents. (line 75) +* \quotedblbase („): Text symbols. (line 53) +* \quotesinglbase (‚): Text symbols. (line 54) +* \r (ring accent): Accents. (line 77) * \raggedbottom: \raggedbottom. (line 6) * \raggedleft: \raggedleft. (line 6) * \raggedright: \raggedright. (line 6) * \raisebox: \raisebox. (line 6) -* \rangle: Math symbols. (line 562) -* \rbrace: Math symbols. (line 567) -* \rbrack: Math symbols. (line 571) -* \rceil: Math symbols. (line 575) -* \Re: Math symbols. (line 578) +* \rangle: Math symbols. (line 552) +* \rbrace: Math symbols. (line 557) +* \rbrack: Math symbols. (line 560) +* \rceil: Math symbols. (line 564) +* \Re: Math symbols. (line 567) +* \read: \read. (line 6) * \ref: \ref. (line 6) * \reflectbox: \scalebox. (line 6) +* \refname: thebibliography. (line 44) * \refstepcounter: \refstepcounter. (line 6) * \renewenvironment: \newenvironment & \renewenvironment. (line 6) * \RequirePackage: Class and package commands. (line 323) +* \RequirePackage, and texput jobname: Jobname. (line 30) * \RequirePackageWithOptions: Class and package commands. (line 323) * \resizebox: \resizebox. (line 6) * \restorecr: \obeycr & \restorecr. (line 6) -* \restriction: Math symbols. (line 583) -* \revemptyset: Math symbols. (line 588) +* \restriction: Math symbols. (line 573) +* \revemptyset: Math symbols. (line 578) * \reversemarginpar: Marginal notes. (line 22) -* \rfloor: Math symbols. (line 593) -* \rhd: Math symbols. (line 597) -* \rho: Math symbols. (line 604) +* \rfloor: Math symbols. (line 583) +* \rhd: Math symbols. (line 588) +* \rho: Math symbols. (line 594) * \right: \left & \right. (line 6) -* \Rightarrow: Math symbols. (line 608) -* \rightarrow: Math symbols. (line 613) -* \rightharpoondown: Math symbols. (line 617) -* \rightharpoonup: Math symbols. (line 620) -* \rightleftharpoons: Math symbols. (line 623) -* \rightmargin: list. (line 171) -* \rm: Font styles. (line 83) -* \rmfamily: Font styles. (line 30) +* \Rightarrow: Math symbols. (line 599) +* \rightarrow: Math symbols. (line 604) +* \rightharpoondown: Math symbols. (line 608) +* \rightharpoonup: Math symbols. (line 611) +* \rightleftharpoons: Math symbols. (line 614) +* \rightmargin: list. (line 172) +* \rm: Font styles. (line 84) +* \rmfamily: Font styles. (line 31) * \roman{COUNTER}: \alph \Alph \arabic \roman \Roman \fnsymbol. (line 27) * \Roman{COUNTER}: \alph \Alph \arabic \roman \Roman \fnsymbol. (line 32) * \rotatebox: \rotatebox. (line 6) -* \rq: Text symbols. (line 55) +* \rq: Text symbols. (line 57) * \rule: \rule. (line 6) -* \S: Text symbols. (line 58) +* \S: Text symbols. (line 60) * \savebox: \sbox & \savebox. (line 6) * \sbox: \sbox & \savebox. (line 6) -* \sc: Font styles. (line 86) +* \sc: Font styles. (line 87) * \scalebox: \scalebox. (line 6) * \scriptsize: Font sizes. (line 11) -* \scshape: Font styles. (line 51) -* \searrow: Math symbols. (line 626) +* \scshape: Font styles. (line 52) +* \searrow: Math symbols. (line 617) * \sec: Math functions. (line 93) * \section: Sectioning. (line 6) * \section <1>: \section. (line 6) * \seename: \index. (line 56) * \selectfont: Low-level font commands. - (line 131) + (line 118) * \setcounter: \setcounter. (line 6) * \setlength: \setlength. (line 6) -* \setminus: Math symbols. (line 629) +* \setminus: Math symbols. (line 620) * \settodepth: \settodepth. (line 6) * \settoheight: \settoheight. (line 6) * \settowidth: \settowidth. (line 6) -* \sf: Font styles. (line 89) -* \sffamily: Font styles. (line 48) -* \sharp: Math symbols. (line 635) +* \sf: Font styles. (line 90) +* \sffamily: Font styles. (line 49) +* \sharp: Math symbols. (line 626) +* \ShellEscape: \write18. (line 71) +* \shipout and expansion: \write. (line 65) * \shortstack: \shortstack. (line 6) -* \Sigma: Math symbols. (line 638) -* \sigma: Math symbols. (line 641) +* \Sigma: Math symbols. (line 629) +* \sigma: Math symbols. (line 632) * \signature: \signature. (line 11) -* \sim: Math symbols. (line 645) -* \simeq: Math symbols. (line 648) +* \sim: Math symbols. (line 636) +* \simeq: Math symbols. (line 639) * \sin: Math functions. (line 96) * \sinh: Math functions. (line 99) -* \sl: Font styles. (line 92) +* \sl: Font styles. (line 93) * \sloppy: \fussy & \sloppy. (line 6) -* \slshape: Font styles. (line 45) +* \slshape: Font styles. (line 46) * \small: Font sizes. (line 11) -* \smallint: Math symbols. (line 651) +* \smallint: Math symbols. (line 642) * \smallskip: \bigskip & \medskip & \smallskip. (line 38) * \smallskipamount: \bigskip & \medskip & \smallskip. (line 39) -* \smile: Math symbols. (line 655) +* \smile: Math symbols. (line 646) * \SPACE: \(SPACE). (line 6) +* \SPACE <1>: \(SPACE). (line 6) * \spacefactor: \spacefactor. (line 10) -* \spadesuit: Math symbols. (line 658) -* \sqcap: Math symbols. (line 661) -* \sqcup: Math symbols. (line 665) +* \spadesuit: Math symbols. (line 649) +* \sqcap: Math symbols. (line 652) +* \sqcup: Math symbols. (line 656) * \sqrt: \sqrt. (line 6) -* \sqsubset: Math symbols. (line 669) -* \sqsubseteq: Math symbols. (line 674) -* \sqsupset: Math symbols. (line 679) -* \sqsupseteq: Math symbols. (line 684) -* \ss (ss): Additional Latin letters. +* \sqsubset: Math symbols. (line 660) +* \sqsubseteq: Math symbols. (line 665) +* \sqsupset: Math symbols. (line 670) +* \sqsupseteq: Math symbols. (line 675) +* \ss (ß): Additional Latin letters. (line 52) * \SS (SS): Additional Latin letters. (line 52) * \stackrel: \stackrel. (line 6) -* \star: Math symbols. (line 689) +* \star: Math symbols. (line 680) * \stepcounter: \stepcounter. (line 6) * \stop: Recovering from errors. (line 23) +* \stretch: \stretch. (line 6) * \strut: \strut. (line 6) * \subparagraph: Sectioning. (line 6) * \subparagraph <1>: \subsubsection & \paragraph & \subparagraph. (line 6) * \subsection: Sectioning. (line 6) * \subsection <1>: \subsection. (line 6) -* \subset: Math symbols. (line 697) -* \subseteq: Math symbols. (line 700) -* \subsubsection: \subsubsection & \paragraph & \subparagraph. +* \subset: Math symbols. (line 688) +* \subseteq: Math symbols. (line 691) +* \subsubsection: Sectioning. (line 6) +* \subsubsection <1>: \subsubsection & \paragraph & \subparagraph. (line 6) -* \succ: Math symbols. (line 703) -* \succeq: Math symbols. (line 707) -* \sum: Math symbols. (line 712) +* \succ: Math symbols. (line 694) +* \succeq: Math symbols. (line 697) +* \sum: Math symbols. (line 702) * \sup: Math functions. (line 102) * \suppressfloats: Floats. (line 87) -* \supset: Math symbols. (line 716) -* \supseteq: Math symbols. (line 719) -* \surd: Math symbols. (line 722) -* \swarrow: Math symbols. (line 727) +* \supset: Math symbols. (line 705) +* \supseteq: Math symbols. (line 708) +* \surd: Math symbols. (line 711) +* \swarrow: Math symbols. (line 716) * \symbol: Symbols by font position. (line 6) -* \t (tie-after accent): Accents. (line 81) +* \t (tie-after accent): Accents. (line 83) * \TAB: \(SPACE). (line 6) * \tabbingsep: tabbing. (line 121) * \tabcolsep: tabular. (line 172) * \tableofcontents: Table of contents etc.. (line 6) +* \tableofcontents <1>: \contentsline. (line 6) * \tan: Math functions. (line 105) * \tanh: Math functions. (line 108) -* \tau: Math symbols. (line 730) +* \tau: Math symbols. (line 719) * \telephone: \telephone. (line 6) -* \TeX: Text symbols. (line 62) -* \textascendercompwordmark: Text symbols. (line 100) -* \textasciicircum: Text symbols. (line 65) -* \textasciitilde: Text symbols. (line 68) -* \textasteriskcentered: Text symbols. (line 71) -* \textbackslash: Reserved characters. (line 20) -* \textbackslash <1>: Text symbols. (line 74) -* \textbar: Text symbols. (line 77) -* \textbardbl: Text symbols. (line 80) -* \textbf: Font styles. (line 39) -* \textbigcircle: Text symbols. (line 83) -* \textbraceleft: Text symbols. (line 86) -* \textbraceright: Text symbols. (line 89) -* \textbullet: Text symbols. (line 92) -* \textcapitalcompwordmark: Text symbols. (line 99) -* \textcircled{LETTER}: Text symbols. (line 95) -* \textcompwordmark: Text symbols. (line 98) -* \textcopyright: Text symbols. (line 12) -* \textdagger: Text symbols. (line 107) -* \textdaggerdbl: Text symbols. (line 110) -* \textdollar (or \$): Text symbols. (line 113) -* \textellipsis: Text symbols. (line 36) -* \textemdash (or ---): Text symbols. (line 116) -* \textendash (or --): Text symbols. (line 121) -* \texteuro: Text symbols. (line 124) -* \textexclamdown (or !`): Text symbols. (line 130) +* \TeX: Text symbols. (line 64) +* \textascendercompwordmark: Text symbols. (line 102) +* \textasciicircum: Text symbols. (line 67) +* \textasciitilde: Text symbols. (line 70) +* \textasteriskcentered: Text symbols. (line 73) +* \textbackslash: Reserved characters. (line 21) +* \textbackslash <1>: Text symbols. (line 76) +* \textbar: Text symbols. (line 79) +* \textbardbl: Text symbols. (line 82) +* \textbf: Font styles. (line 40) +* \textbigcircle: Text symbols. (line 85) +* \textbraceleft: Text symbols. (line 88) +* \textbraceright: Text symbols. (line 91) +* \textbullet: Text symbols. (line 94) +* \textcapitalcompwordmark: Text symbols. (line 101) +* \textcircled{LETTER}: Text symbols. (line 97) +* \textcompwordmark: Text symbols. (line 100) +* \textcopyright: Text symbols. (line 14) +* \textdagger: Text symbols. (line 109) +* \textdaggerdbl: Text symbols. (line 112) +* \textdollar (or \$): Text symbols. (line 115) +* \textellipsis: Text symbols. (line 38) +* \textemdash (or ---): Text symbols. (line 118) +* \textendash (or --): Text symbols. (line 124) +* \texteuro: Text symbols. (line 127) +* \textexclamdown (or !`): Text symbols. (line 135) +* \textfiguredash: Text symbols. (line 138) * \textfloatsep: Floats. (line 123) * \textfloatsep <1>: Floats. (line 124) * \textfraction: Floats. (line 102) * \textfraction <1>: Floats. (line 103) -* \textgreater: Text symbols. (line 133) +* \textgreater: Text symbols. (line 145) * \textheight: Page layout parameters. (line 91) * \textheight <1>: Page layout parameters. (line 92) -* \textit: Font styles. (line 33) -* \textleftarrow: Text symbols. (line 139) -* \textless: Text symbols. (line 136) -* \textmd: Font styles. (line 36) -* \textnormal: Font styles. (line 57) -* \textordfeminine: Text symbols. (line 142) -* \textordmasculine: Text symbols. (line 143) -* \textparagraph: Text symbols. (line 44) -* \textperiodcentered: Text symbols. (line 146) -* \textquestiondown (or ?`): Text symbols. (line 149) -* \textquotedblleft (or ``): Text symbols. (line 152) -* \textquotedblright (or ''): Text symbols. (line 155) -* \textquoteleft (or `): Text symbols. (line 158) -* \textquoteright (or '): Text symbols. (line 161) -* \textquotesingle: Text symbols. (line 164) -* \textquotestraightbase: Text symbols. (line 167) -* \textquotestraightdblbase: Text symbols. (line 168) -* \textregistered: Text symbols. (line 171) -* \textrightarrow: Text symbols. (line 174) -* \textrm: Font styles. (line 30) -* \textsc: Font styles. (line 51) -* \textsection: Text symbols. (line 59) -* \textsf: Font styles. (line 48) -* \textsl: Font styles. (line 45) -* \textsterling: Text symbols. (line 48) -* \textthreequartersemdash: Text symbols. (line 177) -* \texttrademark: Text symbols. (line 180) -* \texttt: Font styles. (line 54) -* \texttwelveudash: Text symbols. (line 183) -* \textunderscore: Text symbols. (line 186) -* \textup: Font styles. (line 42) -* \textvisiblespace: Text symbols. (line 189) +* \texthorizontalbar: Text symbols. (line 148) +* \textit: Font styles. (line 34) +* \textleftarrow: Text symbols. (line 156) +* \textless: Text symbols. (line 153) +* \textmd: Font styles. (line 37) +* \textnonbreakinghyphen: Text symbols. (line 159) +* \textnormal: Font styles. (line 58) +* \textordfeminine: Text symbols. (line 165) +* \textordmasculine: Text symbols. (line 166) +* \textparagraph: Text symbols. (line 46) +* \textperiodcentered: Text symbols. (line 169) +* \textquestiondown (or ?`): Text symbols. (line 172) +* \textquotedblleft (or ``): Text symbols. (line 175) +* \textquotedblright (or ''): Text symbols. (line 178) +* \textquoteleft (or `): Text symbols. (line 181) +* \textquoteright (or '): Text symbols. (line 184) +* \textquotesingle: Text symbols. (line 187) +* \textquotestraightbase: Text symbols. (line 190) +* \textquotestraightdblbase: Text symbols. (line 191) +* \textregistered: Text symbols. (line 194) +* \textrightarrow: Text symbols. (line 197) +* \textrm: Font styles. (line 31) +* \textsc: Font styles. (line 52) +* \textsection: Text symbols. (line 61) +* \textsf: Font styles. (line 49) +* \textsl: Font styles. (line 46) +* \textsterling: Text symbols. (line 50) +* \textthreequartersemdash: Text symbols. (line 200) +* \texttrademark: Text symbols. (line 203) +* \texttt: Font styles. (line 55) +* \texttwelveudash: Text symbols. (line 206) +* \textunderscore: Text symbols. (line 209) +* \textup: Font styles. (line 43) +* \textvisiblespace: Text symbols. (line 212) * \textwidth: Page layout parameters. (line 99) * \textwidth <1>: Page layout parameters. (line 100) -* \th (th): Additional Latin letters. +* \th (þ): Additional Latin letters. (line 56) -* \TH (TH): Additional Latin letters. +* \TH (Þ): Additional Latin letters. (line 56) * \thanks{TEXT}: \maketitle. (line 56) -* \theta: Math symbols. (line 733) +* \theta: Math symbols. (line 722) * \thicklines: \thicklines. (line 6) * \thickspace: Spacing in math mode. (line 23) * \thinlines: \thinlines. (line 6) * \thinspace: Spacing in math mode. - (line 32) + (line 44) * \thinspace <1>: \thinspace & \negthinspace. (line 6) * \thispagestyle: \thispagestyle. (line 6) * \tilde: Math accents. (line 37) -* \times: Math symbols. (line 737) +* \times: Math symbols. (line 726) * \tiny: Font sizes. (line 11) * \title{TEXT}: \maketitle. (line 63) -* \to: Math symbols. (line 741) +* \to: Math symbols. (line 729) * \today: \today. (line 6) -* \top: Math symbols. (line 745) +* \top: Math symbols. (line 733) * \topfraction: Floats. (line 107) * \topfraction <1>: Floats. (line 108) * \topmargin: Page layout parameters. (line 124) -* \topsep: list. (line 176) +* \topsep: list. (line 177) * \topskip: Page layout parameters. (line 131) * \topskip <1>: Page layout parameters. (line 132) -* \triangle: Math symbols. (line 750) -* \triangleleft: Math symbols. (line 753) -* \triangleright: Math symbols. (line 759) -* \tt: Font styles. (line 95) -* \ttfamily: Font styles. (line 54) +* \triangle: Math symbols. (line 738) +* \triangleleft: Math symbols. (line 741) +* \triangleright: Math symbols. (line 747) +* \tt: Font styles. (line 96) +* \ttfamily: Font styles. (line 55) * \twocolumn: \twocolumn. (line 6) * \typein: \typein. (line 6) * \typeout: \typeout. (line 6) -* \u (breve accent): Accents. (line 85) +* \u (breve accent): Accents. (line 87) * \unboldmath: \boldmath & \unboldmath. (line 6) * \unboldmath <1>: \boldmath & \unboldmath. (line 14) -* \underbar: Accents. (line 51) +* \underbar: Accents. (line 53) * \underbrace{MATH}: Over- and Underlining. (line 26) * \underline{TEXT}: Over- and Underlining. (line 9) -* \unitlength: picture. (line 25) -* \unlhd: Math symbols. (line 765) -* \unrhd: Math symbols. (line 772) -* \Uparrow: Math symbols. (line 779) -* \uparrow: Math symbols. (line 783) -* \Updownarrow: Math symbols. (line 787) -* \updownarrow: Math symbols. (line 792) -* \upharpoonright: Math symbols. (line 797) -* \uplus: Math symbols. (line 802) -* \upshape: Font styles. (line 42) -* \Upsilon: Math symbols. (line 809) -* \upsilon: Math symbols. (line 812) +* \unitlength: picture. (line 28) +* \unlhd: Math symbols. (line 753) +* \unrhd: Math symbols. (line 759) +* \Uparrow: Math symbols. (line 765) +* \uparrow: Math symbols. (line 769) +* \Updownarrow: Math symbols. (line 773) +* \updownarrow: Math symbols. (line 778) +* \upharpoonright: Math symbols. (line 783) +* \uplus: Math symbols. (line 788) +* \upshape: Font styles. (line 43) +* \Upsilon: Math symbols. (line 795) +* \upsilon: Math symbols. (line 798) * \usebox: \usebox. (line 6) * \usecounter: \usecounter. (line 6) * \usefont: Low-level font commands. - (line 139) + (line 126) * \usepackage: Additional packages. (line 6) -* \v (breve accent): Accents. (line 89) +* \UseTextAccent: \UseTextSymbol & \UseTextAccent. + (line 6) +* \UseTextSymbol: \UseTextSymbol & \UseTextAccent. + (line 6) +* \v (breve accent): Accents. (line 91) * \value: \value. (line 6) -* \vanothing: Math symbols. (line 820) -* \varepsilon: Math symbols. (line 815) -* \varphi: Math symbols. (line 825) -* \varpi: Math symbols. (line 829) -* \varrho: Math symbols. (line 833) -* \varsigma: Math symbols. (line 837) -* \vartheta: Math symbols. (line 841) -* \vdash: Math symbols. (line 845) -* \vdots: Dots. (line 34) +* \vanothing: Math symbols. (line 806) +* \varepsilon: Math symbols. (line 801) +* \varphi: Math symbols. (line 811) +* \varpi: Math symbols. (line 815) +* \varrho: Math symbols. (line 819) +* \varsigma: Math symbols. (line 823) +* \vartheta: Math symbols. (line 827) +* \vbox plain TeX: minipage. (line 57) +* \vdash: Math symbols. (line 831) +* \vdots: Dots. (line 33) * \vec: Math accents. (line 40) * \vector: \vector. (line 6) -* \vee: Math symbols. (line 849) +* \vee: Math symbols. (line 835) * \verb: \verb. (line 6) -* \Vert: Math symbols. (line 854) -* \vert: Math symbols. (line 870) +* \Vert: Math symbols. (line 839) +* \vert: Math symbols. (line 843) * \vfill: \vfill. (line 6) * \vline: \vline. (line 6) * \vspace: \vspace. (line 6) -* \wedge: Math symbols. (line 888) +* \vtop plain TeX: minipage. (line 53) +* \wedge: Math symbols. (line 850) * \widehat: Math accents. (line 43) * \widetilde: Math accents. (line 46) -* \wp: Math symbols. (line 892) -* \wr: Math symbols. (line 895) -* \Xi: Math symbols. (line 898) -* \xi: Math symbols. (line 901) +* \wlog: \wlog. (line 6) +* \wp: Math symbols. (line 854) +* \wr: Math symbols. (line 857) +* \write: \write. (line 6) +* \write and security: \write and security. (line 6) +* \write streams 16, 17, 18: \write. (line 86) +* \write18: \write18. (line 6) +* \write18, enabling: Command line options. + (line 61) +* \Xi: Math symbols. (line 860) +* \xi: Math symbols. (line 863) +* \xspace: xspace package. (line 6) * \year: \day & \month & \year. (line 6) -* \zeta: Math symbols. (line 904) +* \zeta: Math symbols. (line 866) +* \[...\] display math: displaymath. (line 26) * \\ (for center): center. (line 16) * \\ (for eqnarray): eqnarray. (line 29) * \\ (for flushright): flushright. (line 12) @@ -16357,21 +18472,21 @@ Index * \\ for \title: \maketitle. (line 64) * \\ force line break: \\. (line 6) * \\* (for eqnarray): eqnarray. (line 37) -* \^: Reserved characters. (line 20) -* \^ (circumflex accent): Accents. (line 38) -* \_: Reserved characters. (line 13) -* \` (grave accent): Accents. (line 42) +* \^: Reserved characters. (line 21) +* \^ (circumflex accent): Accents. (line 40) +* \_: Reserved characters. (line 14) +* \` (grave accent): Accents. (line 44) * \` (tabbing): tabbing. (line 93) -* \{: Reserved characters. (line 13) +* \{: Reserved characters. (line 14) * \|: Math symbols. (line 18) -* \}: Reserved characters. (line 13) -* \~: Reserved characters. (line 20) -* \~ (tilde accent): Accents. (line 46) -* ^: Subscripts & superscripts. +* \}: Reserved characters. (line 14) +* \~: Reserved characters. (line 21) +* \~ (tilde accent): Accents. (line 48) +* ^ superscript: Subscripts & superscripts. (line 6) -* _: Subscripts & superscripts. +* ^^J, in \write: \write. (line 95) +* _ subscript: Subscripts & superscripts. (line 6) -* 'see' and 'see also' index entries: \index. (line 56) * {...} for required arguments: LaTeX command syntax. (line 6) * ~: ~. (line 6) @@ -16380,39 +18495,57 @@ Index * a5paper option: Document class options. (line 19) * abstract environment: abstract. (line 6) +* abstract package: abstract. (line 27) * abstracts: abstract. (line 6) * accents: Accents. (line 6) +* accents, defining: \DeclareFontEncoding. + (line 6) +* accents, defining <1>: \DeclareTextAccent. (line 6) +* accents, defining <2>: \DeclareTextAccentDefault. + (line 6) +* accents, defining <3>: \DeclareTextComposite. + (line 6) +* accents, defining <4>: \DeclareTextCompositeCommand. + (line 6) +* accents, defining <5>: \DeclareTextSymbolDefault. + (line 6) * accents, mathematical: Math accents. (line 6) * accessing any character of a font: Symbols by font position. (line 6) * acronyms, list of: Glossaries. (line 6) -* acute accent: Accents. (line 27) +* acute accent: Accents. (line 29) * acute accent, math: Math accents. (line 11) * additional packages, loading: Additional packages. (line 6) +* adjustbox package: Boxes. (line 9) * ae ligature: Additional Latin letters. (line 16) * algorithm2e package: tabbing. (line 146) * align environment, from amsmath: eqnarray. (line 6) * aligning equations: eqnarray. (line 6) * alignment via tabbing: tabbing. (line 6) +* amscd package: Arrows. (line 41) * amsfonts package: Math formulas. (line 86) +* amsfonts package <1>: Arrows. (line 6) * amsmath package: array. (line 55) * amsmath package <1>: array. (line 66) * amsmath package <2>: displaymath. (line 22) * amsmath package <3>: equation. (line 20) * amsmath package <4>: theorem. (line 28) * amsmath package <5>: Math formulas. (line 86) -* amsmath package <6>: Dots. (line 37) -* amsmath package <7>: Math functions. (line 111) -* amsmath package <8>: \phantom & \vphantom & \hphantom. - (line 44) -* amsmath package <9>: Colon character & \colon. +* amsmath package <6>: \left & \right. (line 30) +* amsmath package <7>: \bigl & \bigr etc.. (line 68) +* amsmath package <8>: Dots. (line 36) +* amsmath package <9>: Math functions. (line 111) +* amsmath package <10>: \phantom & \vphantom & \hphantom. + (line 54) +* amsmath package <11>: Colon character & \colon. (line 15) -* amsmath package <10>: Colon character & \colon. +* amsmath package <12>: Colon character & \colon. (line 19) * amsmath package, replacing eqnarray: eqnarray. (line 6) * amsthm package: theorem. (line 28) * amsthm package <1>: \rule. (line 18) +* answers package: \write. (line 100) * appendices: \appendix. (line 6) * appendix: \appendix. (line 6) * appendix package: \appendix. (line 29) @@ -16421,16 +18554,18 @@ Index * array (package) package: array. (line 77) * array environment: array. (line 6) * arrays, math: array. (line 6) -* arrow, left, in text: Text symbols. (line 140) -* arrow, right, in text: Text symbols. (line 175) +* arrow, left, in text: Text symbols. (line 157) +* arrow, right, in text: Text symbols. (line 198) +* arrows: Arrows. (line 6) * article class: Document classes. (line 11) -* ascender height: Text symbols. (line 101) -* ASCII circumflex, in text: Text symbols. (line 66) -* ASCII tilde, in text: Text symbols. (line 69) -* asterisk, centered, in text: Text symbols. (line 72) +* ascender height: Text symbols. (line 103) +* ASCII circumflex, in text: Text symbols. (line 68) +* ASCII tilde, in text: Text symbols. (line 71) +* asterisk, centered, in text: Text symbols. (line 74) * Asymptote package: \line. (line 36) * Asymptote package <1>: \strut. (line 62) -* Asymptote package <2>: \mbox & \makebox. (line 73) +* Asymptote package <2>: \mbox & \makebox. (line 74) +* Asymptote package <3>: \write18. (line 13) * at clause, in font definitions: \newfont. (line 19) * at-sign: \@. (line 6) * author, for titlepage: \maketitle. (line 43) @@ -16442,16 +18577,21 @@ Index * babel package <2>: Accents. (line 6) * babel package <3>: \today. (line 13) * babel package <4>: Table of contents etc.. - (line 80) + (line 124) * babel package <5>: \index. (line 56) +* back matter of a book: \frontmatter & \mainmatter & \backmatter. + (line 6) * background, colored: Colored pages. (line 6) -* backslash, in text: Text symbols. (line 75) -* bar, double vertical, in text: Text symbols. (line 81) -* bar, vertical, in text: Text symbols. (line 78) -* bar-over accent: Accents. (line 34) +* backslash, in text: Text symbols. (line 77) +* bar, double vertical, in text: Text symbols. (line 83) +* bar, vertical, in text: Text symbols. (line 80) +* bar-over accent: Accents. (line 36) * bar-over accent, math: Math accents. (line 14) -* bar-under accent: Accents. (line 49) +* bar-under accent: Accents. (line 51) * basics of LaTeX: Overview. (line 6) +* batchmode: Command line options. + (line 27) +* beamer package: beamer template. (line 6) * beamer template and class: beamer template. (line 6) * beginning of document hook: \AtBeginDocument. (line 6) * bibliography format, open: Document class options. @@ -16459,8 +18599,8 @@ Index * bibliography, creating (automatically): Using BibTeX. (line 6) * bibliography, creating (manually): thebibliography. (line 6) * bibTeX, using: Using BibTeX. (line 6) -* big circle symbols, in text: Text symbols. (line 84) -* Big point: Units of length. (line 20) +* big circle symbols, in text: Text symbols. (line 86) +* big point: Units of length. (line 20) * bigfoot package: Footnotes of footnotes. (line 6) * black boxes, omitting: Document class options. @@ -16468,8 +18608,8 @@ Index * blackboard bold: Blackboard bold. (line 6) * bm package: \boldmath & \unboldmath. (line 32) -* bold font: Font styles. (line 75) -* bold math: Font styles. (line 128) +* bold font: Font styles. (line 76) +* bold math: Font styles. (line 129) * bold typewriter, avoiding: description. (line 36) * boldface mathematics: \boldmath & \unboldmath. (line 6) @@ -16484,50 +18624,58 @@ Index (line 6) * bottomnumber: Floats. (line 130) * bottomnumber <1>: Floats. (line 131) +* bounding box: \includegraphics. (line 122) * box: \mbox & \makebox. (line 6) * box, allocating new: \newsavebox. (line 6) +* box, bounding: \includegraphics. (line 122) * box, colored: Colored boxes. (line 6) * box, save: \sbox & \savebox. (line 6) * box, use saved box: \usebox. (line 6) * boxes: Boxes. (line 6) * bp: Units of length. (line 20) -* brace, left, in text: Text symbols. (line 87) -* brace, right, in text: Text symbols. (line 90) +* brace, left, in text: Text symbols. (line 89) +* brace, right, in text: Text symbols. (line 92) +* braces: Delimiters. (line 6) +* brackets: Delimiters. (line 6) * breaking lines: Line breaking. (line 6) * breaking pages: Page breaking. (line 6) * breaks, multiplication discretionary: \*. (line 6) -* breve accent: Accents. (line 85) +* breve accent: Accents. (line 87) * breve accent, math: Math accents. (line 17) -* bug reporting: About this document. (line 29) +* bug reporting: About this document. (line 24) * bullet lists: itemize. (line 6) -* bullet symbol: Math symbols. (line 113) -* bullet, in text: Text symbols. (line 93) +* bullet symbol: Math symbols. (line 111) +* bullet, in text: Text symbols. (line 95) * bulleted lists: itemize. (line 6) * calligraphic fonts: Calligraphic. (line 6) -* calligraphic letters for math: Font styles. (line 78) -* cap height: Text symbols. (line 101) -* caron accent: Accents. (line 89) +* calligraphic letters for math: Font styles. (line 79) +* cap height: Text symbols. (line 103) +* caron accent: Accents. (line 91) * catcode: \makeatletter & \makeatother. (line 19) * category code, character: \makeatletter & \makeatother. (line 19) * cc: Units of length. (line 33) * cc list, in letters: \cc. (line 6) -* cedilla accent: Accents. (line 59) +* cedilla accent: Accents. (line 61) * center environment: center. (line 6) -* centered asterisk, in text: Text symbols. (line 72) +* centered asterisk, in text: Text symbols. (line 74) * centered equations: Document class options. (line 57) -* centered period, in text: Text symbols. (line 147) +* centered period, in text: Text symbols. (line 170) * centering text, declaration for: \centering. (line 6) * centering text, environment for: center. (line 6) -* Centimeter: Units of length. (line 24) +* centimeter: Units of length. (line 24) +* changing case of characters: Upper and lower case. + (line 6) * chapter: Sectioning. (line 6) * chapter <1>: \chapter. (line 6) * character category code: \makeatletter & \makeatother. (line 19) +* character encoding: inputenc package. (line 15) * character, invisible: \phantom & \vphantom & \hphantom. (line 6) +* character, invisible <1>: \mathstrut. (line 6) * characters, accented: Accents. (line 6) * characters, case of: Upper and lower case. (line 6) @@ -16535,14 +18683,14 @@ Index (line 6) * characters, reserved: Reserved characters. (line 6) * characters, special: Reserved characters. (line 6) -* check accent: Accents. (line 89) +* check accent: Accents. (line 91) * check accent, math: Math accents. (line 20) -* Cicero: Units of length. (line 33) -* circle symbol, big, in text: Text symbols. (line 84) -* circled letter, in text: Text symbols. (line 96) -* circumflex accent: Accents. (line 38) +* cicero: Units of length. (line 33) +* circle symbol, big, in text: Text symbols. (line 86) +* circled letter, in text: Text symbols. (line 98) +* circumflex accent: Accents. (line 40) * circumflex accent, math: Math accents. (line 32) -* circumflex, ASCII, in text: Text symbols. (line 66) +* circumflex, ASCII, in text: Text symbols. (line 68) * citation key: \bibitem. (line 15) * class and package commands: Class and package commands. (line 6) @@ -16564,11 +18712,15 @@ Index * cleveref package: Cross references. (line 38) * cleveref package <1>: \ref. (line 29) * cleveref package <2>: \footnotemark. (line 48) +* CLI: Command line interface. + (line 6) * clock option to slides class: Document class options. (line 99) * closing letters: \closing. (line 6) -* closing quote: Text symbols. (line 56) +* closing quote: Text symbols. (line 58) * cm: Units of length. (line 24) +* cm-super package: fontenc package. (line 36) +* cmd.exe, used by \write18: \write18. (line 60) * code, typesetting: verbatim. (line 6) * colon character: Colon character & \colon. (line 6) @@ -16585,7 +18737,8 @@ Index * colored boxes: Colored boxes. (line 6) * colored page: Colored pages. (line 6) * colored text: Colored text. (line 6) -* command line: Command line. (line 6) +* command line interface: Command line interface. + (line 6) * command syntax: LaTeX command syntax. (line 6) * commands, class and package: Class and package commands. @@ -16599,15 +18752,18 @@ Index (line 6) * commands, ignore spaces: \ignorespaces & \ignorespacesafterend. (line 6) +* commands, ignore spaces <1>: xspace package. (line 6) * commands, redefining: \newcommand & \renewcommand. (line 6) +* commands, run from LaTeX: \write18. (line 6) * commands, star-variants: \@ifstar. (line 6) -* composite word mark, in text: Text symbols. (line 101) +* composite word mark, in text: Text symbols. (line 103) +* comprehensive package: Math symbols. (line 6) * computer programs, typesetting: verbatim. (line 6) * configuration, graphics package: Graphics package configuration. (line 6) * contents file: Output files. (line 43) -* copyright symbol: Text symbols. (line 13) +* copyright symbol: Text symbols. (line 15) * counters, a list of: Counters. (line 6) * counters, defining new: \newcounter. (line 6) * counters, getting value of: \value. (line 6) @@ -16622,14 +18778,17 @@ Index * cross references: Cross references. (line 6) * cross references, resolving: Output files. (line 33) * cross referencing with page number: \pageref. (line 6) +* cross referencing, across documents: xr package. (line 6) * cross referencing, symbolic: \ref. (line 6) * CTAN: CTAN. (line 6) -* currency, dollar: Text symbols. (line 114) -* currency, euro: Text symbols. (line 125) -* dagger, double, in text: Text symbols. (line 111) -* dagger, in text: Text symbols. (line 16) -* dagger, in text <1>: Text symbols. (line 108) +* curly braces: Delimiters. (line 6) +* currency, dollar: Text symbols. (line 116) +* currency, euro: Text symbols. (line 128) +* dagger, double, in text: Text symbols. (line 113) +* dagger, in text: Text symbols. (line 18) +* dagger, in text <1>: Text symbols. (line 110) * DANTE e.V.: CTAN. (line 20) +* datatool package: \read. (line 31) * date, for titlepage: \maketitle. (line 51) * date, today's: \today. (line 6) * datetime package: \today. (line 27) @@ -16637,6 +18796,8 @@ Index * dbltopnumber <1>: Floats. (line 135) * dcolumn package: array. (line 77) * dd: Units of length. (line 30) +* declaration form of font size commands: Font sizes. (line 24) +* declaration form of font style commands: Font styles. (line 8) * define color: Define colors. (line 6) * defining a new command: \newcommand & \renewcommand. (line 6) @@ -16646,6 +18807,8 @@ Index * defining new fonts: \newfont. (line 6) * defining new theorems: \newtheorem. (line 6) * definitions: Definitions. (line 6) +* delayed \write: \write. (line 65) +* delimiters: Delimiters. (line 6) * delimiters, paired: \left & \right. (line 6) * delim_0: makeindex. (line 110) * delim_1: makeindex. (line 114) @@ -16656,10 +18819,12 @@ Index * description environment: description. (line 6) * description lists, creating: description. (line 6) * design size, in font definitions: \newfont. (line 19) -* Didot point: Units of length. (line 30) -* dieresis accent: Accents. (line 23) +* didot point: Units of length. (line 30) +* dieresis accent: Accents. (line 25) * difference between class and package: Class and package construction. (line 15) +* dimen plain TeX: Lengths. (line 9) +* directory listings, from system: \write18. (line 65) * discretionary breaks, multiplication: \*. (line 6) * discretionary hyphenation: \discretionary. (line 6) * display math mode: Modes. (line 29) @@ -16676,53 +18841,62 @@ Index * document class, defined: Starting and ending. (line 17) * document classes: Document classes. (line 6) * document environment: document. (line 6) +* document root name: Jobname. (line 6) * document templates: Document templates. (line 6) -* dollar sign: Text symbols. (line 114) -* dot accent: Accents. (line 30) +* dollar sign: Text symbols. (line 116) +* dot accent: Accents. (line 32) * dot over accent, math: Math accents. (line 26) -* dot-over accent: Accents. (line 30) -* dot-under accent: Accents. (line 63) -* dotless i: Accents. (line 17) -* dotless i, math: Math symbols. (line 265) -* dotless j: Accents. (line 17) -* dotless j, math: Math symbols. (line 287) +* dot-over accent: Accents. (line 32) +* dot-under accent: Accents. (line 65) +* dotless i: Accents. (line 19) +* dotless i, math: Math symbols. (line 264) +* dotless j: Accents. (line 19) +* dotless j, math: Math symbols. (line 284) * dots: Dots. (line 6) -* double angle quotation marks: Text symbols. (line 31) -* double dagger, in text: Text symbols. (line 19) -* double dagger, in text <1>: Text symbols. (line 111) +* double angle quotation marks: Text symbols. (line 33) +* double dagger, in text: Text symbols. (line 21) +* double dagger, in text <1>: Text symbols. (line 113) * double dot accent, math: Math accents. (line 23) -* double guillemets: Text symbols. (line 31) -* double left quote: Text symbols. (line 153) -* double low-9 quotation mark: Text symbols. (line 53) -* double quote, straight base: Text symbols. (line 169) -* double right quote: Text symbols. (line 156) -* double spacing: Low-level font commands. - (line 118) -* double vertical bar, in text: Text symbols. (line 81) +* double guillemets: Text symbols. (line 33) +* double left quote: Text symbols. (line 176) +* double low-9 quotation mark: Text symbols. (line 55) +* double quote, straight base: Text symbols. (line 192) +* double right quote: Text symbols. (line 179) +* double spacing: \baselineskip & \baselinestretch. + (line 6) +* double vertical bar, in text: Text symbols. (line 83) * doublestruck: Blackboard bold. (line 6) * draft option: Document class options. (line 49) +* dvilualatex-dev: TeX engines. (line 63) * dvipdfmx command: Output files. (line 10) * dvips command: Output files. (line 10) * dvitype command: Output files. (line 10) -* e-dash: Text symbols. (line 122) -* e-TeX: TeX engines. (line 13) +* e-dash: Text symbols. (line 125) +* e-TeX: TeX engines. (line 16) * ellipses: Dots. (line 6) -* ellipsis: Text symbols. (line 37) +* ellipsis: Text symbols. (line 39) * em: Units of length. (line 38) * em <1>: Units of length. (line 38) -* em-dash: Text symbols. (line 117) -* em-dash, three-quarters: Text symbols. (line 178) -* em-dash, two-thirds: Text symbols. (line 184) -* emphasis: Font styles. (line 59) +* em-dash: Text symbols. (line 119) +* em-dash, three-quarters: Text symbols. (line 201) +* em-dash, two-thirds: Text symbols. (line 207) +* emphasis: Font styles. (line 60) * enclosure list: \encl. (line 6) +* encoding, font: \DeclareFontEncoding. + (line 6) +* encoding, of input files: inputenc package. (line 15) +* end matter of a book: \frontmatter & \mainmatter & \backmatter. + (line 6) * end of document hook: \AtEndDocument. (line 6) * ending and starting: Starting and ending. (line 6) * engines, TeX: TeX engines. (line 6) * enlarge current page: \enlargethispage. (line 6) * enumerate environment: enumerate. (line 6) -* enumitem package: list. (line 253) +* enumitem package: itemize. (line 66) +* enumitem package <1>: list. (line 254) * environment: Starting and ending. (line 25) +* environment form of font size commands: Font sizes. (line 36) * environment, abstract: abstract. (line 6) * environment, array: array. (line 6) * environment, center: center. (line 6) @@ -16761,9 +18935,7 @@ Index * environments, defining: \newenvironment & \renewenvironment. (line 6) * envlab package: \makelabels. (line 55) -* EPS files: Graphics package configuration. - (line 6) -* EPS files <1>: \includegraphics. (line 6) +* EPS files: \includegraphics. (line 6) * eqnarray environment: eqnarray. (line 6) * equation environment: equation. (line 6) * equation environment <1>: Math formulas. (line 6) @@ -16775,43 +18947,59 @@ Index * equations, environment for: equation. (line 6) * equations, flush left vs. centered: Document class options. (line 57) +* errorstopmode: Command line options. + (line 27) * es-zet German letter: Additional Latin letters. (line 52) -* etex command: TeX engines. (line 13) +* etex command: TeX engines. (line 16) * eth, Icelandic letter: Additional Latin letters. (line 20) * etoolbox package: Class and package commands. (line 110) -* euro symbol: Text symbols. (line 125) -* eurosym package: Text symbols. (line 125) +* euro symbol: Text symbols. (line 128) +* eurosym package: Text symbols. (line 128) +* eurosym package <1>: Text symbols. (line 129) * ex: Units of length. (line 38) * ex <1>: Units of length. (line 38) -* exclamation point, upside-down: Text symbols. (line 131) +* exclamation point, upside-down: Text symbols. (line 136) * executivepaper option: Document class options. (line 19) +* expl3 package: LaTeX command syntax. + (line 37) +* expl3 package <1>: Upper and lower case. + (line 49) * exponent: Subscripts & superscripts. (line 6) +* expressions: Expressions. (line 6) * extended Latin: Additional Latin letters. (line 6) +* external commands: \write18. (line 6) * external files, writing: filecontents. (line 6) +* fallback jobname: Jobname. (line 25) * families, of fonts: Low-level font commands. (line 21) * fancyhdr package: Page styles. (line 12) * fancyhdr package <1>: \pagestyle. (line 13) * fancyvrb package: tabbing. (line 146) -* fancyvrb package <1>: verbatim. (line 37) -* feminine ordinal symbol: Text symbols. (line 144) +* fancyvrb package <1>: verbatim. (line 42) +* feminine ordinal symbol: Text symbols. (line 167) +* figure dash character: Text symbols. (line 139) * figure environment: figure. (line 6) * figure number, cross referencing: \ref. (line 6) * figures, footnotes in: minipage. (line 107) * figures, inserting: figure. (line 6) +* file, closing: \openin & \openout. (line 6) +* file, opening: \openin & \openout. (line 6) +* file, reading: \read. (line 6) * file, root: Splitting the input. (line 10) * filecontents environment: filecontents. (line 6) * filecontents* environment: filecontents. (line 6) +* filename for current job: Command line options. + (line 43) * final option: Document class options. (line 49) -* first-latex-doc document: About this document. (line 41) -* fixed-width font: Font styles. (line 96) +* first-latex-doc document: About this document. (line 36) +* fixed-width font: Font styles. (line 97) * flafter package: Floats. (line 82) * fleqn option: Document class options. (line 49) @@ -16827,12 +19015,18 @@ Index (line 21) * font commands, low-level: Low-level font commands. (line 6) +* font dimension, slant: \/. (line 40) +* font encoding: fontenc package. (line 6) +* font encoding <1>: \DeclareTextAccent. (line 6) +* font encoding, declaring: \DeclareFontEncoding. + (line 6) * font size: Low-level font commands. (line 101) * font sizes: Font sizes. (line 6) * font styles: Font styles. (line 6) * font symbols, by number: Symbols by font position. (line 6) +* fontenc: fontenc package. (line 6) * fonts: Fonts. (line 6) * fonts, new commands for: \newfont. (line 6) * fonts, script: Calligraphic. (line 6) @@ -16849,8 +19043,10 @@ Index (line 6) * footnotes in figures: minipage. (line 107) * footnotes, creating: Footnotes. (line 6) -* Footnotes, in a minipage: \footnote. (line 62) +* footnotes, in a minipage: \footnote. (line 62) * footnotes, symbols instead of numbers: \footnote. (line 24) +* force option for filecontents: filecontents. (line 31) +* format files, TeX: TeX engines. (line 6) * formulas, environment for: equation. (line 6) * formulas, math: Math formulas. (line 6) * forward reference: Cross references. (line 27) @@ -16860,7 +19056,9 @@ Index * frame rule width: \fbox & \framebox. (line 39) * frame, line width: \fbox & \framebox. (line 39) * frame, separation from contents: \fbox & \framebox. (line 44) -* French quotation marks: Text symbols. (line 31) +* French quotation marks: Text symbols. (line 33) +* front matter of a book: \frontmatter & \mainmatter & \backmatter. + (line 6) * functions, math: Math functions. (line 6) * geometry package: Document class options. (line 40) @@ -16873,6 +19071,7 @@ Index * glossary: Glossaries. (line 6) * glossary, entries: \newglossaryentry. (line 6) * glossary, entry reference: \gls. (line 6) +* glue plain TeX: Lengths. (line 9) * glue register, plain TeX: \newlength. (line 6) * graphics: Graphics. (line 6) * graphics <1>: Graphics package configuration. @@ -16891,16 +19090,20 @@ Index * graphics, resizing <1>: \resizebox. (line 6) * graphics, scaling: \scalebox. (line 6) * graphics, scaling <1>: \resizebox. (line 6) -* grave accent: Accents. (line 42) +* graphpap package: \graphpaper. (line 11) +* grave accent: Accents. (line 44) * grave accent, math: Math accents. (line 29) -* greater than symbol, in text: Text symbols. (line 134) +* greater than symbol, in text: Text symbols. (line 146) * greek letters: Math symbols. (line 6) +* Greek letters: Greek letters. (line 6) +* grfext package: \DeclareGraphicsExtensions. + (line 39) * group, and environments: Environments. (line 18) * group_skip: makeindex. (line 57) -* ha'c<ek accent, math: Math accents. (line 20) -* hacek accent: Accents. (line 89) +* hacek accent: Accents. (line 91) * Halmos symbol: \rule. (line 13) -* hat accent: Accents. (line 38) +* hard space: ~. (line 6) +* hat accent: Accents. (line 40) * hat accent, math: Math accents. (line 32) * header style: \pagestyle. (line 6) * header, parameters for: Page layout parameters. @@ -16908,19 +19111,24 @@ Index * hello, world: Starting and ending. (line 6) * here, putting floats: Floats. (line 52) * home page for manual: About this document. (line 6) +* horizontal bar character: Text symbols. (line 149) +* horizontal paragraph indentation: \parindent & \parskip. + (line 6) * horizontal space: \hss. (line 6) * horizontal space, stretchable: \hss. (line 6) * horizontal spacing: \phantom & \vphantom & \hphantom. (line 6) -* hungarian umlaut accent: Accents. (line 67) +* hungarian umlaut accent: Accents. (line 69) * hyperref package: \footnotemark. (line 48) * hyperref package <1>: \footnotemark. (line 57) * hyperref package <2>: \pagenumbering. (line 45) -* hyperref package <3>: Command line input. (line 10) +* hyperref package <3>: Command line input. (line 14) +* hyphen character, non-breaking: Text symbols. (line 160) * hyphenation, defining: \hyphenation. (line 6) * hyphenation, discretionary: \discretionary. (line 6) * hyphenation, forcing: \- (hyphenation). (line 6) * hyphenation, preventing: \mbox & \makebox. (line 6) +* háček accent, math: Math accents. (line 20) * Icelandic eth: Additional Latin letters. (line 20) * Icelandic thorn: Additional Latin letters. @@ -16928,10 +19136,10 @@ Index * idx file: \index. (line 106) * ij letter, Dutch: Additional Latin letters. (line 32) +* immediate \write: \write. (line 60) * implementations of TeX: TeX engines. (line 6) * importing graphics: \includegraphics. (line 6) * in: Units of length. (line 17) -* in-line formulas: math. (line 6) * inch: Units of length. (line 17) * including graphics: \includegraphics. (line 6) * indent, forcing: \indent & \noindent. (line 6) @@ -16948,6 +19156,7 @@ Index * index entries, 'see' and 'see also': \index. (line 56) * index entry: \index. (line 6) * index package: \index. (line 101) +* index, multiple: Indexes. (line 32) * index, page range: \index. (line 40) * index, printing: \printindex. (line 6) * index, processing: makeindex. (line 6) @@ -16955,18 +19164,25 @@ Index * indexes: Indexes. (line 6) * infinite horizontal stretch: \hfill. (line 6) * infinite vertical stretch: \vfill. (line 6) +* inline formulas: math. (line 6) * inner paragraph mode: Modes. (line 47) * input file: Splitting the input. (line 6) * input, on command line: Command line input. (line 6) -* input/output, to terminal: Terminal input/output. - (line 6) +* input/output: Input/output. (line 6) +* input/output, to terminal: Input/output. (line 6) +* inputenc: inputenc package. (line 6) * inserting figures: figure. (line 6) * insertions of special characters: Special insertions. (line 6) +* interface, command line: Command line interface. + (line 6) +* interline space: \baselineskip & \baselinestretch. + (line 6) * internal vertical mode: Modes. (line 38) * invisible character: \phantom & \vphantom & \hphantom. (line 6) +* invisible character <1>: \mathstrut. (line 6) * italic correction: \/. (line 6) -* italic font: Font styles. (line 81) +* italic font: Font styles. (line 82) * itemize environment: itemize. (line 6) * item_0: makeindex. (line 81) * item_01: makeindex. (line 90) @@ -16975,42 +19191,50 @@ Index * item_2: makeindex. (line 87) * item_x1: makeindex. (line 94) * item_x2: makeindex. (line 104) -* JPEG files: Graphics package configuration. - (line 6) -* JPEG files <1>: \includegraphics. (line 6) -* JPG files: Graphics package configuration. - (line 6) -* JPG files <1>: \includegraphics. (line 6) +* jobname: Command line options. + (line 43) +* jobname <1>: Jobname. (line 6) +* JPEG files: \includegraphics. (line 6) +* JPG files: \includegraphics. (line 6) * justification, ragged left: \raggedleft. (line 6) * justification, ragged right: \raggedright. (line 6) * Knuth, Donald E.: Overview. (line 6) * label: Cross references. (line 6) * labelled lists, creating: description. (line 6) -* Lamport TeX: Overview. (line 24) +* Lamport TeX: Overview. (line 28) * Lamport, Leslie: Overview. (line 6) * landscape option: Document class options. (line 49) * landscape orientation: Document class options. (line 60) +* latex: TeX engines. (line 14) * latex command: Output files. (line 10) -* LaTeX logo: Text symbols. (line 22) +* LaTeX format (.fmt) files: TeX engines. (line 6) +* LaTeX logo: Text symbols. (line 24) * LaTeX overview: Overview. (line 6) -* LaTeX Project team: About this document. (line 25) -* LaTeX vs. LaTeX2e: About this document. (line 21) -* latex-doc-ptr document: About this document. (line 38) -* LaTeX2e logo: Text symbols. (line 25) -* <latexrefman@tug.org> email address: About this document. (line 25) +* LaTeX Project team: About this document. (line 20) +* LaTeX vs. LaTeX2e: About this document. (line 16) +* latex-dev: TeX engines. (line 64) +* latex-doc-ptr document: About this document. (line 33) +* LaTeX2e logo: Text symbols. (line 27) +* LaTeX3 syntax: LaTeX command syntax. + (line 37) +* <latexrefman@tug.org> email address: About this document. (line 20) +* latexsym package: Arrows. (line 6) * Latin letters, additional: Additional Latin letters. (line 6) * layout commands: Layout. (line 6) * layout, page parameters for: Page layout parameters. (line 6) -* left angle quotation marks: Text symbols. (line 31) -* left arrow, in text: Text symbols. (line 140) -* left brace, in text: Text symbols. (line 87) -* left quote: Text symbols. (line 41) -* left quote, double: Text symbols. (line 153) -* left quote, single: Text symbols. (line 159) +* leaders, dots in table of contents: \@dottedtocline. (line 27) +* leading: \baselineskip & \baselinestretch. + (line 6) +* left angle quotation marks: Text symbols. (line 33) +* left arrow, in text: Text symbols. (line 157) +* left brace, in text: Text symbols. (line 89) +* left quote: Text symbols. (line 43) +* left quote, double: Text symbols. (line 176) +* left quote, single: Text symbols. (line 182) * left-hand equation numbers: Document class options. (line 63) * left-justifying text: \raggedright. (line 6) @@ -17024,7 +19248,7 @@ Index * lengths, setting: \setlength. (line 6) * leqno option: Document class options. (line 49) -* less than symbol, in text: Text symbols. (line 137) +* less than symbol, in text: Text symbols. (line 154) * lethead_flag: makeindex. (line 64) * lethead_prefix: makeindex. (line 73) * lethead_suffix: makeindex. (line 77) @@ -17048,7 +19272,7 @@ Index (line 6) * lines in tables: tabular. (line 6) * line_max: makeindex. (line 130) -* lining numerals: Font styles. (line 132) +* lining numerals: Font styles. (line 133) * lining text up in tables: tabular. (line 6) * lining text up using tab stops: tabbing. (line 6) * list environment: list. (line 6) @@ -17056,37 +19280,43 @@ Index * list of figures file: Output files. (line 43) * list of tables file: Output files. (line 43) * listings package: tabbing. (line 146) -* listings package <1>: verbatim. (line 31) +* listings package <1>: verbatim. (line 36) * listings package <2>: \verb. (line 42) * lists of items: itemize. (line 6) * lists of items, generic: list. (line 6) * lists of items, numbered: enumerate. (line 6) +* lmodern package: fontenc package. (line 36) * loading additional packages: Additional packages. (line 6) +* locale information, from system: \write18. (line 65) * log file: Output files. (line 28) -* logo, LaTeX: Text symbols. (line 22) -* logo, LaTeX2e: Text symbols. (line 25) -* logo, TeX: Text symbols. (line 63) +* log file, writing to: \write. (line 30) +* logo, LaTeX: Text symbols. (line 24) +* logo, LaTeX2e: Text symbols. (line 27) +* logo, TeX: Text symbols. (line 65) * long command: Class and package commands. (line 23) -* low-9 quotation marks, single and double: Text symbols. (line 53) +* low-9 quotation marks, single and double: Text symbols. (line 55) * low-level font commands: Low-level font commands. (line 6) * lowercase: Upper and lower case. (line 6) -* LR box: picture. (line 103) +* LR box: picture. (line 93) * LR mode: Modes. (line 16) * lrbox: lrbox. (line 6) -* lshort document: About this document. (line 49) -* ltugboat class: tugboat template. (line 6) -* lualatex command: TeX engines. (line 30) -* LuaTeX: TeX engines. (line 30) +* lshort document: About this document. (line 39) +* lualatex: TeX engines. (line 32) +* lualatex-dev: TeX engines. (line 65) +* LuaTeX: TeX engines. (line 33) +* LuaTeX, 256 output streams in: \write. (line 42) * m-width: Units of length. (line 38) -* macro package, LaTeX as: Overview. (line 11) -* macron accent: Accents. (line 34) +* macron accent: Accents. (line 36) * macron accent, math: Math accents. (line 14) * macros2e package: \makeatletter & \makeatother. - (line 43) + (line 41) * Madsen, Lars: eqnarray. (line 6) +* mail merges: \read. (line 31) +* main matter of a book: \frontmatter & \mainmatter & \backmatter. + (line 6) * make a box: \mbox & \makebox. (line 6) * makeindex: makeindex. (line 6) * makeindex program: makeindex. (line 6) @@ -17094,7 +19324,7 @@ Index * making a title page: titlepage. (line 6) * making paragraphs: Making paragraphs. (line 6) * marginal notes: Marginal notes. (line 6) -* masculine ordinal symbol: Text symbols. (line 144) +* masculine ordinal symbol: Text symbols. (line 167) * matching brackets: \left & \right. (line 6) * matching parentheses: \left & \right. (line 6) * math accents: Math accents. (line 6) @@ -17109,30 +19339,34 @@ Index (line 6) * math mode, spacing <1>: \phantom & \vphantom & \hphantom. (line 6) +* math mode, spacing <2>: \mathstrut. (line 6) * math mode, vertical space: \smash. (line 6) * math symbols: Math symbols. (line 6) -* math, bold: Font styles. (line 128) +* math, arrows: Arrows. (line 6) +* math, bold: Font styles. (line 129) * mathtools package: Math formulas. (line 86) -* mathtools package <1>: Over- and Underlining. +* mathtools package <1>: Delimiters. (line 41) +* mathtools package <2>: \left & \right. (line 30) +* mathtools package <3>: Over- and Underlining. (line 45) -* mathtools package <2>: \smash. (line 61) -* mathtools package <3>: \phantom & \vphantom & \hphantom. - (line 36) +* mathtools package <4>: \smash. (line 61) +* mathtools package <5>: \phantom & \vphantom & \hphantom. + (line 46) * MetaPost package: \line. (line 36) * mfirstuc package: Upper and lower case. - (line 45) + (line 46) * mhchem package: Subscripts & superscripts. (line 62) -* Millimeter: Units of length. (line 27) +* millimeter: Units of length. (line 27) * minipage environment: minipage. (line 6) * minipage, creating a: minipage. (line 6) * minted package: tabbing. (line 146) -* minted package <1>: verbatim. (line 31) +* minted package <1>: verbatim. (line 36) * minted package <2>: \verb. (line 42) -* mirrors of CTAN: CTAN. (line 20) +* mirrors of CTAN: CTAN. (line 25) * mm: Units of length. (line 27) * modes: Modes. (line 6) -* monospace font: Font styles. (line 96) +* monospace font: Font styles. (line 97) * moving arguments: \protect. (line 19) * mpfootnote counter: \footnote. (line 62) * mu: Units of length. (line 49) @@ -17140,11 +19374,13 @@ Index * multicolumn text: \twocolumn. (line 6) * multilingual support: Accents. (line 6) * multind package: Indexes. (line 32) +* multiple indexes: Indexes. (line 32) * multiplication, discretionary: \*. (line 6) * name: \newglossaryentry. (line 43) +* name of document root: Jobname. (line 6) * NBSP: ~. (line 6) * nested \include, not allowed: \include & \includeonly. - (line 104) + (line 106) * new class commands: Class and package construction. (line 6) * new command, check: Class and package commands. @@ -17159,32 +19395,40 @@ Index * new line, starting: \\. (line 6) * new line, starting (paragraph mode): \newline. (line 6) * new page, starting: \newpage. (line 6) +* newline, in \write: \write. (line 95) +* noheader option for filecontents: filecontents. (line 34) +* non-breaking hyphen character: Text symbols. (line 160) * non-English characters: Additional Latin letters. (line 6) +* nonstopmode: Command line options. + (line 27) +* nosearch option for filecontents: filecontents. (line 37) * notes in the margin: Marginal notes. (line 6) * notitlepage option: Document class options. (line 49) * null delimiter: \left & \right. (line 6) * numbered items, specifying counter: \usecounter. (line 6) -* numerals, old-style: Font styles. (line 132) -* oblique font: Font styles. (line 93) +* numerals, old-style: Font styles. (line 133) +* oblique font: Font styles. (line 94) * oe ligature: Additional Latin letters. (line 48) -* ogonek: Accents. (line 71) -* old-style numerals: Font styles. (line 132) +* ogonek: Accents. (line 73) +* old-style numerals: Font styles. (line 133) * one-column output: \onecolumn. (line 6) * onecolumn option: Document class options. (line 78) * oneside option: Document class options. (line 78) +* open a file: \openin & \openout. (line 6) * openany option: Document class options. (line 78) * openbib option: Document class options. (line 49) -* opening quote: Text symbols. (line 41) +* opening quote: Text symbols. (line 43) * openright option: Document class options. (line 78) * OpenType fonts: TeX engines. (line 6) +* operating system information: \write18. (line 65) * options, class: Class and package commands. (line 66) * options, color package: Color package options. @@ -17202,51 +19446,64 @@ Index (line 6) * options, package <1>: Class and package commands. (line 66) -* ordinals, feminine and masculine: Text symbols. (line 144) +* ordinals, feminine and masculine: Text symbols. (line 167) * oslash: Additional Latin letters. (line 44) +* OT1: fontenc package. (line 6) * outer paragraph mode: Modes. (line 47) -* overbar accent: Accents. (line 34) +* output directory for all external files: Command line options. + (line 48) +* overbar accent: Accents. (line 36) * overdot accent, math: Math accents. (line 26) * overlining: Over- and Underlining. (line 6) * overview of LaTeX: Overview. (line 6) +* overwrite option for filecontents: filecontents. (line 31) * package file layout: Class and package structure. (line 6) * package options: Class and package structure. (line 6) * package options <1>: Class and package commands. (line 66) +* package, abstract: abstract. (line 27) +* package, adjustbox: Boxes. (line 9) * package, algorithm2e: tabbing. (line 146) +* package, amscd: Arrows. (line 41) * package, amsfonts: Math formulas. (line 86) +* package, amsfonts <1>: Arrows. (line 6) * package, amsmath: array. (line 55) * package, amsmath <1>: array. (line 66) * package, amsmath <2>: displaymath. (line 22) * package, amsmath <3>: equation. (line 20) * package, amsmath <4>: theorem. (line 28) * package, amsmath <5>: Math formulas. (line 86) -* package, amsmath <6>: Dots. (line 37) -* package, amsmath <7>: Math functions. (line 111) -* package, amsmath <8>: \phantom & \vphantom & \hphantom. - (line 44) -* package, amsmath <9>: Colon character & \colon. +* package, amsmath <6>: \left & \right. (line 30) +* package, amsmath <7>: \bigl & \bigr etc.. (line 68) +* package, amsmath <8>: Dots. (line 36) +* package, amsmath <9>: Math functions. (line 111) +* package, amsmath <10>: \phantom & \vphantom & \hphantom. + (line 54) +* package, amsmath <11>: Colon character & \colon. (line 15) -* package, amsmath <10>: Colon character & \colon. +* package, amsmath <12>: Colon character & \colon. (line 19) * package, amsthm: theorem. (line 28) * package, amsthm <1>: \rule. (line 18) +* package, answers: \write. (line 100) * package, appendix: \appendix. (line 29) * package, array (package): array. (line 77) * package, Asymptote: \line. (line 36) * package, Asymptote <1>: \strut. (line 62) -* package, Asymptote <2>: \mbox & \makebox. (line 73) +* package, Asymptote <2>: \mbox & \makebox. (line 74) +* package, Asymptote <3>: \write18. (line 13) * package, babel: \chapter. (line 71) * package, babel <1>: thebibliography. (line 53) * package, babel <2>: Accents. (line 6) * package, babel <3>: \today. (line 13) * package, babel <4>: Table of contents etc.. - (line 80) + (line 124) * package, babel <5>: \index. (line 56) +* package, beamer: beamer template. (line 6) * package, bigfoot: Footnotes of footnotes. (line 6) * package, bm: \boldmath & \unboldmath. @@ -17254,29 +19511,41 @@ Index * package, cleveref: Cross references. (line 38) * package, cleveref <1>: \ref. (line 29) * package, cleveref <2>: \footnotemark. (line 48) +* package, cm-super: fontenc package. (line 36) +* package, comprehensive: Math symbols. (line 6) * package, cprotect: verbatim. (line 26) * package, cprotect <1>: \verb. (line 45) +* package, datatool: \read. (line 31) * package, datetime: \today. (line 27) * package, dcolumn: array. (line 77) -* package, enumitem: list. (line 253) +* package, enumitem: itemize. (line 66) +* package, enumitem <1>: list. (line 254) * package, envlab: \makelabels. (line 55) * package, etoolbox: Class and package commands. (line 110) -* package, eurosym: Text symbols. (line 125) +* package, eurosym: Text symbols. (line 128) +* package, eurosym <1>: Text symbols. (line 129) +* package, expl3: LaTeX command syntax. + (line 37) +* package, expl3 <1>: Upper and lower case. + (line 49) * package, fancyhdr: Page styles. (line 12) * package, fancyhdr <1>: \pagestyle. (line 13) * package, fancyvrb: tabbing. (line 146) -* package, fancyvrb <1>: verbatim. (line 37) +* package, fancyvrb <1>: verbatim. (line 42) * package, flafter: Floats. (line 82) * package, float: Floats. (line 52) * package, geometry: Document class options. (line 40) * package, geometry <1>: Document class options. (line 44) +* package, graphpap: \graphpaper. (line 11) +* package, grfext: \DeclareGraphicsExtensions. + (line 39) * package, hyperref: \footnotemark. (line 48) * package, hyperref <1>: \footnotemark. (line 57) * package, hyperref <2>: \pagenumbering. (line 45) -* package, hyperref <3>: Command line input. (line 10) +* package, hyperref <3>: Command line input. (line 14) * package, indentfirst: \part. (line 50) * package, indentfirst <1>: \chapter. (line 58) * package, indentfirst <2>: \section. (line 60) @@ -17285,60 +19554,71 @@ Index (line 61) * package, indentfirst <5>: \indent & \noindent. (line 48) * package, index: \index. (line 101) +* package, latexsym: Arrows. (line 6) * package, listings: tabbing. (line 146) -* package, listings <1>: verbatim. (line 31) +* package, listings <1>: verbatim. (line 36) * package, listings <2>: \verb. (line 42) +* package, lmodern: fontenc package. (line 36) * package, macros2e: \makeatletter & \makeatother. - (line 43) + (line 41) * package, mathtools: Math formulas. (line 86) -* package, mathtools <1>: Over- and Underlining. +* package, mathtools <1>: Delimiters. (line 41) +* package, mathtools <2>: \left & \right. (line 30) +* package, mathtools <3>: Over- and Underlining. (line 45) -* package, mathtools <2>: \smash. (line 61) -* package, mathtools <3>: \phantom & \vphantom & \hphantom. - (line 36) +* package, mathtools <4>: \smash. (line 61) +* package, mathtools <5>: \phantom & \vphantom & \hphantom. + (line 46) * package, MetaPost: \line. (line 36) * package, mfirstuc: Upper and lower case. - (line 45) + (line 46) * package, mhchem: Subscripts & superscripts. (line 62) * package, minted: tabbing. (line 146) -* package, minted <1>: verbatim. (line 31) +* package, minted <1>: verbatim. (line 36) * package, minted <2>: \verb. (line 42) * package, multind: Indexes. (line 32) * package, pict2e: \line. (line 36) * package, polyglossia: Accents. (line 6) * package, polyglossia <1>: \today. (line 13) * package, polyglossia <2>: Table of contents etc.. - (line 80) + (line 125) * package, polyglossia <3>: \index. (line 56) * package, PSTricks: \line. (line 36) -* package, sagetex: Command line options. - (line 62) -* package, setspace: Low-level font commands. - (line 118) +* package, setspace: \baselineskip & \baselinestretch. + (line 79) +* package, shellesc: \write18. (line 71) * package, showidx: Indexes. (line 32) -* package, siunitx: ~. (line 32) -* package, symbols: Math symbols. (line 6) +* package, siunitx: minipage. (line 137) +* package, siunitx <1>: ~. (line 37) +* package, suffix: \@ifstar. (line 66) +* package, texosquery: \write18. (line 65) * package, textcase: Upper and lower case. - (line 42) -* package, textcomp: Font styles. (line 132) + (line 43) * package, TikZ: \line. (line 36) * package, TikZ <1>: \strut. (line 62) -* package, TikZ <2>: \mbox & \makebox. (line 72) -* package, titlesec: \part. (line 54) -* package, titlesec <1>: \chapter. (line 79) -* package, titlesec <2>: \section. (line 64) -* package, titlesec <3>: \subsection. (line 52) -* package, titlesec <4>: \subsubsection & \paragraph & \subparagraph. +* package, TikZ <2>: \mbox & \makebox. (line 73) +* package, tikz-cd: Arrows. (line 41) +* package, titlesec: Sectioning. (line 60) +* package, titlesec <1>: \part. (line 54) +* package, titlesec <2>: \chapter. (line 79) +* package, titlesec <3>: \section. (line 64) +* package, titlesec <4>: \subsection. (line 52) +* package, titlesec <5>: \subsubsection & \paragraph & \subparagraph. (line 65) * package, tocbibbind: Table of contents etc.. - (line 91) + (line 111) * package, tocloft: Table of contents etc.. - (line 91) + (line 111) * package, ulem: Over- and Underlining. (line 15) -* package, url: \verb. (line 38) -* package, verbatimbox: verbatim. (line 37) +* package, unicode-math: Greek letters. (line 37) +* package, url: \verb. (line 39) +* package, verbatimbox: verbatim. (line 42) +* package, xparse: LaTeX command syntax. + (line 37) +* package, xparse <1>: \@ifstar. (line 66) +* package, xstring: Jobname. (line 53) * packages, loading additional: Additional packages. (line 6) * page break, forcing: \pagebreak & \nopagebreak. (line 6) @@ -17365,24 +19645,27 @@ Index (line 6) * paragraph mode: Modes. (line 12) * paragraph mode <1>: \parbox. (line 6) -* paragraph symbol: Text symbols. (line 45) +* paragraph symbol: Text symbols. (line 47) * paragraph, ending: \par. (line 6) * paragraph, in a box: \parbox. (line 6) * paragraphs: Making paragraphs. (line 6) * parameters, for footnotes: \footnote. (line 34) * parameters, page layout: Page layout parameters. (line 6) +* parent directories, cannot write to: \write and security. (line 22) +* parentheses: Delimiters. (line 6) * part: Sectioning. (line 6) * part <1>: \part. (line 6) +* pattern, current tab stops, tabbing: tabbing. (line 51) * pc: Units of length. (line 14) -* PDF graphic files: Graphics package configuration. - (line 6) -* PDF graphic files <1>: \includegraphics. (line 6) +* PDF graphic files: \includegraphics. (line 6) +* pdflatex: TeX engines. (line 15) * pdflatex command: Output files. (line 20) +* pdflatex-dev: TeX engines. (line 66) * pdfTeX: Output files. (line 20) -* pdfTeX engine: TeX engines. (line 13) +* pdfTeX engine: TeX engines. (line 16) * period, abbreviation-ending: \@. (line 6) -* period, centered, in text: Text symbols. (line 147) +* period, centered, in text: Text symbols. (line 170) * period, sentence-ending: \@. (line 6) * period, spacing after: \@. (line 6) * pica: Units of length. (line 14) @@ -17390,44 +19673,45 @@ Index * pict2e package <1>: \line. (line 36) * picture environment: picture. (line 6) * pictures, creating: picture. (line 6) -* pilcrow: Text symbols. (line 45) +* pilcrow: Text symbols. (line 47) * placement of floats: Floats. (line 31) +* platex: TeX engines. (line 54) +* platex-dev: TeX engines. (line 67) * plural: \newglossaryentry. (line 51) -* PNG files: Graphics package configuration. - (line 6) -* PNG files <1>: \includegraphics. (line 6) +* PNG files: \includegraphics. (line 6) * poetry, an environment for: verse. (line 6) -* Point: Units of length. (line 10) +* point: Units of length. (line 10) * polish l: Additional Latin letters. (line 36) * polyglossia package: Accents. (line 6) * polyglossia package <1>: \today. (line 13) * polyglossia package <2>: Table of contents etc.. - (line 80) + (line 125) * polyglossia package <3>: \index. (line 56) * portrait orientation: Document class options. (line 60) -* position, in picture: picture. (line 77) +* position, in picture: picture. (line 64) * positional parameter: \newcommand & \renewcommand. - (line 52) + (line 54) * postamble: makeindex. (line 54) * postscript, in letters: \ps. (line 6) -* pounds symbol: Text symbols. (line 49) +* pounds symbol: Text symbols. (line 51) * preamble: makeindex. (line 50) * preamble, defined: Starting and ending. (line 22) +* prerelease testing: TeX engines. (line 70) * prompt, *: Recovering from errors. (line 23) -* pronunciation: Overview. (line 24) +* pronunciation: Overview. (line 28) * PSTricks package: \line. (line 36) * pt: Units of length. (line 10) * quad: Spacing in math mode. - (line 51) -* question mark, upside-down: Text symbols. (line 150) + (line 65) +* question mark, upside-down: Text symbols. (line 173) * quotation environment: quotation & quote. (line 6) -* quotation marks, French: Text symbols. (line 31) +* quotation marks, French: Text symbols. (line 33) * quote environment: quotation & quote. (line 6) -* quote, single straight: Text symbols. (line 165) -* quote, straight base: Text symbols. (line 169) +* quote, single straight: Text symbols. (line 188) +* quote, straight base: Text symbols. (line 192) * quoted text with paragraph indentation, displaying: quotation & quote. (line 6) * quoted text without paragraph indentation, displaying: quotation & quote. @@ -17437,88 +19721,106 @@ Index * ragged left text, environment for: flushright. (line 6) * ragged right text: \raggedright. (line 6) * ragged right text, environment for: flushleft. (line 6) +* read a file: \read. (line 6) * redefining environments: \newenvironment & \renewenvironment. (line 6) * reference, forward: Cross references. (line 27) * references, resolving forward: Output files. (line 33) -* registered symbol: Text symbols. (line 172) +* registered symbol: Text symbols. (line 195) * relation, text above: \stackrel. (line 6) +* release candidates: TeX engines. (line 70) * remarks in the margin: Marginal notes. (line 6) * report class: Document classes. (line 11) -* reporting bugs: About this document. (line 29) +* reporting bugs: About this document. (line 24) * reserved characters: Reserved characters. (line 6) * resizing: \scalebox. (line 6) * resizing <1>: \resizebox. (line 6) -* right angle quotation marks: Text symbols. (line 31) -* right arrow, in text: Text symbols. (line 175) -* right brace, in text: Text symbols. (line 90) -* right quote: Text symbols. (line 56) -* right quote, double: Text symbols. (line 156) -* right quote, single: Text symbols. (line 162) +* restricted shell access: \write18. (line 53) +* right angle quotation marks: Text symbols. (line 33) +* right arrow, in text: Text symbols. (line 198) +* right brace, in text: Text symbols. (line 92) +* right quote: Text symbols. (line 58) +* right quote, double: Text symbols. (line 179) +* right quote, single: Text symbols. (line 185) * right-hand equation numbers: Document class options. (line 63) * right-justifying text: \raggedleft. (line 6) * right-justifying text, environment for: flushright. (line 6) -* ring accent: Accents. (line 75) +* rigid lengths: Lengths. (line 9) +* ring accent: Accents. (line 77) * ring accent, math: Math accents. (line 35) * robust commands: \protect. (line 6) -* roman font: Font styles. (line 84) +* roman font: Font styles. (line 85) * root file: Splitting the input. (line 10) * roots: \sqrt. (line 6) * rotating graphics: \rotatebox. (line 6) * rotating text: \rotatebox. (line 6) * rotation: \rotatebox. (line 6) * row, tabbing: tabbing. (line 46) +* rubber lengths: Lengths. (line 9) * rubber lengths, defining new: \newlength. (line 6) * running header and footer: Page layout parameters. (line 6) * running header and footer style: \pagestyle. (line 6) -* sagetex package: Command line options. - (line 62) -* sans serif font: Font styles. (line 90) -* Scaled point: Units of length. (line 36) +* sans serif font: Font styles. (line 91) +* scaled point: Units of length. (line 36) * scaling: \scalebox. (line 6) * scaling <1>: \resizebox. (line 6) * script fonts: Calligraphic. (line 6) -* script letters for math: Font styles. (line 78) -* secnumdepth: Sectioning. (line 62) -* secnumdepth counter: Sectioning. (line 63) +* script letters for math: Font styles. (line 79) +* scrollmode: Command line options. + (line 27) +* secnumdepth: Sectioning. (line 69) +* secnumdepth counter: Sectioning. (line 70) * section: Sectioning. (line 6) * section <1>: \section. (line 6) * section number, cross referencing: \ref. (line 6) -* section numbers, printing: Sectioning. (line 63) -* section symbol: Text symbols. (line 60) +* section numbers, printing: Sectioning. (line 70) +* section symbol: Text symbols. (line 62) * section, redefining: \@startsection. (line 6) * sectioning commands: Sectioning. (line 6) * sectioning, part: \part. (line 6) +* security and \write: \write and security. (line 6) +* see and see also index entries: \index. (line 56) +* self-contained sources: filecontents. (line 42) * series, of fonts: Low-level font commands. (line 48) -* setspace package: Low-level font commands. - (line 118) +* setspace package: \baselineskip & \baselinestretch. + (line 79) * setting counters: \setcounter. (line 6) +* sh, used by \write18: \write18. (line 60) * shapes, of fonts: Low-level font commands. (line 88) * sharp S letters: Additional Latin letters. (line 52) +* shell access: \write18. (line 6) +* shell escape: Command line options. + (line 61) +* SHELL, environment variables: \write18. (line 60) +* shellesc package: \write18. (line 71) * showidx package: Indexes. (line 32) * simulating typed text: verbatim. (line 6) -* single angle quotation marks: Text symbols. (line 31) -* single guillemets: Text symbols. (line 31) -* single left quote: Text symbols. (line 159) -* single low-9 quotation mark: Text symbols. (line 53) -* single quote, straight: Text symbols. (line 165) -* single right quote: Text symbols. (line 162) -* siunitx package: ~. (line 32) +* single angle quotation marks: Text symbols. (line 33) +* single guillemets: Text symbols. (line 33) +* single left quote: Text symbols. (line 182) +* single low-9 quotation mark: Text symbols. (line 55) +* single quote, straight: Text symbols. (line 188) +* single right quote: Text symbols. (line 185) +* siunitx package: minipage. (line 137) +* siunitx package <1>: ~. (line 37) * sizes of text: Font sizes. (line 6) +* skip plain TeX: Lengths. (line 9) * skip register, plain TeX: \newlength. (line 6) -* slanted font: Font styles. (line 93) +* slanted font: Font styles. (line 94) * slides class: Document classes. (line 11) * sloppypar: sloppypar. (line 6) * sloppypar environment: sloppypar. (line 6) -* small caps font: Font styles. (line 87) +* small caps font: Font styles. (line 88) * sort: \newglossaryentry. (line 55) +* source files, making self-contained: filecontents. (line 42) * sp: Units of length. (line 36) -* space, hard: ~. (line 6) +* space between lines: \baselineskip & \baselinestretch. + (line 6) * space, inserting horizontal: \hss. (line 6) * space, inserting vertical: \addvspace. (line 6) * space, negative thin: \thinspace & \negthinspace. @@ -17530,13 +19832,15 @@ Index * spaces: Spaces. (line 6) * spaces, ignore around commands: \ignorespaces & \ignorespacesafterend. (line 6) +* spaces, ignore around commands <1>: xspace package. (line 6) * spacing within math mode: Spacing in math mode. (line 6) * spacing, inter-sentence: \frenchspacing. (line 6) * spacing, inter-sentence <1>: \normalsfcodes. (line 6) * spacing, math mode: \phantom & \vphantom & \hphantom. (line 6) -* Spanish ordinals, feminine and masculine: Text symbols. (line 144) +* spacing, math mode <1>: \mathstrut. (line 6) +* Spanish ordinals, feminine and masculine: Text symbols. (line 167) * special characters: Reserved characters. (line 6) * special characters <1>: Additional Latin letters. (line 6) @@ -17547,17 +19851,17 @@ Index * stack math: \stackrel. (line 6) * star-variants, commands: \@ifstar. (line 6) * starred form, defining new commands: \newcommand & \renewcommand. - (line 25) + (line 27) * starting a new page: \newpage. (line 6) * starting a new page and clearing floats: \clearpage & \cleardoublepage. (line 6) * starting and ending: Starting and ending. (line 6) * starting on a right-hand page: \clearpage & \cleardoublepage. (line 6) -* sterling symbol: Text symbols. (line 49) -* straight double quote, base: Text symbols. (line 169) -* straight quote, base: Text symbols. (line 169) -* straight single quote: Text symbols. (line 165) +* sterling symbol: Text symbols. (line 51) +* straight double quote, base: Text symbols. (line 192) +* straight quote, base: Text symbols. (line 192) +* straight single quote: Text symbols. (line 188) * stretch, infinite horizontal: \hfill. (line 6) * stretch, infinite vertical: \vfill. (line 6) * stretch, omitting vertical: \raggedbottom. (line 6) @@ -17571,47 +19875,57 @@ Index (line 6) * subsection: Sectioning. (line 6) * subsection <1>: \subsection. (line 6) -* subsubsection: \subsubsection & \paragraph & \subparagraph. +* subsubsection: Sectioning. (line 6) +* subsubsection <1>: \subsubsection & \paragraph & \subparagraph. (line 6) +* suffix package: \@ifstar. (line 66) * superscript: Subscripts & superscripts. (line 6) * symbol: \newglossaryentry. (line 59) -* symbols package: Math symbols. (line 6) +* symbol, defining: \DeclareTextSymbol. (line 6) +* symbols, arrows: Arrows. (line 6) * symbols, boldface: \boldmath & \unboldmath. (line 6) * symbols, math: Math symbols. (line 6) * symbols, text: Text symbols. (line 6) +* system commands, run from LaTeX: \write18. (line 6) +* system information: \write18. (line 65) +* T1: fontenc package. (line 6) * tab stops, using: tabbing. (line 6) * tabbing environment: tabbing. (line 6) * table environment: table. (line 6) +* table of contents: \contentsline. (line 6) +* table of contents entry, create dotted line: \@dottedtocline. + (line 6) * table of contents entry, manually adding: \addcontentsline. (line 6) * table of contents file: Output files. (line 43) * table of contents, avoiding footnotes: Footnotes in section headings. (line 6) * table of contents, creating: Table of contents etc.. (line 6) -* table of contents, sectioning numbers printed: Sectioning. (line 74) +* table of contents, sectioning numbers printed: Sectioning. (line 81) * tables, creating: table. (line 6) * tabular environment: tabular. (line 6) -* template, article: article template. (line 6) +* template (simple), article: article template. (line 6) * template, beamer: beamer template. (line 6) * template, book: book template. (line 6) * template, book <1>: Larger book template. (line 6) -* template, TUGboat: tugboat template. (line 6) * templates, document: Document templates. (line 6) -* terminal input/output: Terminal input/output. - (line 6) -* TeX logo: Text symbols. (line 63) +* terminal input/output: Input/output. (line 6) +* terminal, writing to: \write. (line 30) +* TeX format (.fmt) files: TeX engines. (line 6) +* TeX logo: Text symbols. (line 65) +* texosquery package: \write18. (line 65) +* texput, jobname default: Jobname. (line 25) * text symbols: Text symbols. (line 6) * text, resizing: \scalebox. (line 6) * text, resizing <1>: \resizebox. (line 6) * text, scaling: \scalebox. (line 6) * text, scaling <1>: \resizebox. (line 6) * textcase package: Upper and lower case. - (line 42) -* textcomp package: Font styles. (line 132) -* textcomp package <1>: Text symbols. (line 6) + (line 43) +* textcomp package: Text symbols. (line 6) * thanks, for titlepage: \maketitle. (line 57) * thebibliography environment: thebibliography. (line 6) * theorem environment: theorem. (line 6) @@ -17619,24 +19933,25 @@ Index * theorems, defining: \newtheorem. (line 6) * theorems, typesetting: theorem. (line 6) * thin space: Spacing in math mode. - (line 32) + (line 44) * thin space <1>: \thinspace & \negthinspace. (line 6) * thin space, negative: Spacing in math mode. - (line 46) + (line 58) * thin space, negative <1>: \thinspace & \negthinspace. (line 6) * thorn, Icelandic letter: Additional Latin letters. (line 56) -* three-quarters em-dash: Text symbols. (line 178) +* three-quarters em-dash: Text symbols. (line 201) * tie: ~. (line 6) -* tie-after accent: Accents. (line 81) +* tie-after accent: Accents. (line 83) * TikZ package: \line. (line 36) * TikZ package <1>: \strut. (line 62) -* TikZ package <2>: \mbox & \makebox. (line 72) -* tilde accent: Accents. (line 46) +* TikZ package <2>: \mbox & \makebox. (line 73) +* tikz-cd package: Arrows. (line 41) +* tilde accent: Accents. (line 48) * tilde accent, math: Math accents. (line 38) -* tilde, ASCII, in text: Text symbols. (line 69) +* tilde, ASCII, in text: Text symbols. (line 71) * title page, separate or run-in: Document class options. (line 71) * title pages, creating: titlepage. (line 6) @@ -17645,18 +19960,19 @@ Index * titlepage option: Document class options. (line 49) * titles, making: \maketitle. (line 6) -* titlesec package: \part. (line 54) -* titlesec package <1>: \chapter. (line 79) -* titlesec package <2>: \section. (line 64) -* titlesec package <3>: \subsection. (line 52) -* titlesec package <4>: \subsubsection & \paragraph & \subparagraph. +* titlesec package: Sectioning. (line 60) +* titlesec package <1>: \part. (line 54) +* titlesec package <2>: \chapter. (line 79) +* titlesec package <3>: \section. (line 64) +* titlesec package <4>: \subsection. (line 52) +* titlesec package <5>: \subsubsection & \paragraph & \subparagraph. (line 65) * tocbibbind package: Table of contents etc.. - (line 91) -* tocdepth: Sectioning. (line 73) -* tocdepth counter: Sectioning. (line 74) + (line 111) +* tocdepth: Sectioning. (line 80) +* tocdepth counter: Sectioning. (line 81) * tocloft package: Table of contents etc.. - (line 91) + (line 111) * today's date: \today. (line 6) * tombstone: \rule. (line 13) * topmargin: Page layout parameters. @@ -17665,12 +19981,12 @@ Index * topnumber <1>: Floats. (line 139) * totalnumber: Floats. (line 142) * totalnumber <1>: Floats. (line 143) -* trademark symbol: Text symbols. (line 181) +* trademark symbol: Text symbols. (line 204) * transcript file: Output files. (line 28) * TrueType fonts: TeX engines. (line 6) -* TUGboat template: tugboat template. (line 6) +* TS1 encoding: Text symbols. (line 6) * two-column output: \twocolumn. (line 6) -* two-thirds em-dash: Text symbols. (line 184) +* two-thirds em-dash: Text symbols. (line 207) * twocolumn option: Document class options. (line 78) * twoside option: Document class options. @@ -17679,34 +19995,40 @@ Index * typed text, simulating: verbatim. (line 6) * typeface sizes: Font sizes. (line 6) * typefaces: Fonts. (line 6) -* typewriter font: Font styles. (line 96) +* typewriter font: Font styles. (line 97) * typewriter labels in lists: description. (line 36) * ulem package: Over- and Underlining. (line 15) -* umlaut accent: Accents. (line 23) -* underbar: Accents. (line 51) +* umlaut accent: Accents. (line 25) +* unbreakable space: ~. (line 6) +* underbar: Accents. (line 53) * underlining: Over- and Underlining. (line 6) -* underscore, in text: Text symbols. (line 187) +* underscore, in text: Text symbols. (line 210) +* Unicode: inputenc package. (line 15) * Unicode input, native: TeX engines. (line 6) +* unicode-math package: Greek letters. (line 37) * units, of length: Units of length. (line 6) -* unofficial nature of this manual: About this document. (line 25) +* unofficial nature of this manual: About this document. (line 20) * unordered lists: itemize. (line 6) +* uplatex: TeX engines. (line 55) +* uplatex-dev: TeX engines. (line 68) * uppercase: Upper and lower case. (line 6) -* url package: \verb. (line 38) +* url package: \verb. (line 39) * using BibTeX: Using BibTeX. (line 6) -* usrguide official documentation: About this document. (line 44) -* UTF-8: TeX engines. (line 6) +* UTF-8, default LaTeX input encoding: Overview. (line 12) +* UTF-8, engine support for: TeX engines. (line 6) +* UTF-8, font support for: fontenc package. (line 6) * variables, a list of: Counters. (line 6) * vector symbol, math: Math accents. (line 41) * verbatim environment: verbatim. (line 6) * verbatim text: verbatim. (line 6) * verbatim text, inline: \verb. (line 6) -* verbatimbox package: verbatim. (line 37) +* verbatimbox package: verbatim. (line 42) * verse environment: verse. (line 6) -* vertical bar, double, in text: Text symbols. (line 81) -* vertical bar, in text: Text symbols. (line 78) +* vertical bar, double, in text: Text symbols. (line 83) +* vertical bar, in text: Text symbols. (line 80) * vertical mode: Modes. (line 34) * vertical space: \vspace. (line 6) * vertical space <1>: \addvspace. (line 6) @@ -17714,528 +20036,580 @@ Index (line 6) * vertical spacing: \phantom & \vphantom & \hphantom. (line 6) +* vertical spacing <1>: \mathstrut. (line 6) * vertical spacing, math mode: \smash. (line 6) * visible space: \verb. (line 31) -* visible space symbol, in text: Text symbols. (line 190) +* visible space symbol, in text: Text symbols. (line 213) * weights, of fonts: Low-level font commands. (line 58) +* whatsit item: \write. (line 65) * white space: Spaces. (line 6) * wide hat accent, math: Math accents. (line 44) * wide tilde accent, math: Math accents. (line 47) * widths, of fonts: Low-level font commands. (line 70) +* Wright, Joseph: Upper and lower case. + (line 49) * writing external files: filecontents. (line 6) * writing letters: Letters. (line 6) * x-height: Units of length. (line 38) * xdvi command: Output files. (line 10) -* xdvipdfmx: TeX engines. (line 39) -* xelatex command: TeX engines. (line 39) -* XeTeX: TeX engines. (line 39) -* xindy: makeindex. (line 153) +* xdvipdfmx: TeX engines. (line 42) +* xelatex: TeX engines. (line 41) +* xelatex-dev: TeX engines. (line 69) +* XeTeX: TeX engines. (line 42) +* xindex program: makeindex. (line 160) * xindy program: makeindex. (line 153) +* xparse package: LaTeX command syntax. + (line 37) +* xparse package <1>: \@ifstar. (line 66) +* xr package: xr package. (line 6) +* xr-hyper package: xr package. (line 6) +* xstring package: Jobname. (line 53) Tag Table: -Node: Top1837 -Node: About this document3658 -Node: Overview5906 -Node: Starting and ending7529 -Ref: Starting & ending7664 -Node: Output files8841 -Ref: output files dvi9120 -Ref: output files pdf9631 -Ref: output files log9954 -Ref: output files aux10151 -Node: TeX engines11120 -Ref: tex engines latex11469 -Ref: tex engines lualatex12301 -Ref: tex engines xelatex12786 -Node: LaTeX command syntax13590 -Node: Environment15516 -Node: CTAN16722 -Node: Document classes18123 -Ref: document classes article18563 -Ref: document classes book18651 -Ref: document classes letter18836 -Ref: document classes report18912 -Ref: document classes slides19064 -Node: Document class options19446 -Node: Additional packages22528 -Node: Class and package construction23159 -Node: Class and package structure24609 -Node: Class and package commands26903 -Node: Fonts44517 -Ref: Typefaces44620 -Node: Font styles44948 -Node: Font sizes49213 -Node: Low-level font commands50832 -Ref: low level font commands fontencoding51116 -Ref: low level font commands fontfamily51672 -Ref: low level font commands fontseries52437 -Ref: low level font commands fontshape53589 -Ref: low level font commands fontsize53886 -Ref: low level font commands baselinestretch54411 -Ref: low level font commands linespread55120 -Ref: low level font commands selectfont55370 -Ref: low level font commands usefont55696 -Node: Layout55939 -Node: \onecolumn56437 -Node: \twocolumn56796 -Ref: twocolumn columnsep57419 -Ref: twocolumn columnseprule57668 -Ref: twocolumn columnwidth57964 -Ref: twocolumn dbltopfraction58530 -Ref: twocolumn dblfloatpagefraction59473 -Ref: twocolumn dblfloatsep59720 -Ref: twocolumn dbltextfloatsep60025 -Ref: twocolumn dbltopnumber60208 -Node: \flushbottom61173 -Node: \raggedbottom62273 -Node: Page layout parameters62809 -Ref: page layout parameters columnsep63012 -Ref: page layout parameters columnseprule63012 -Ref: page layout parameters columnwidth63012 -Ref: page layout parameters headheight63266 -Ref: page layout parameters headsep63433 -Ref: page layout parameters footskip63746 -Ref: page layout parameters linewidth64080 -Ref: page layout parameters marginparpush64433 -Ref: page layout parameters marginsep64433 -Ref: page layout parameters marginparwidth64433 -Ref: page layout parameters oddsidemargin65473 -Ref: page layout parameters evensidemargin65473 -Ref: page layout parameters paperheight66010 -Ref: page layout parameters paperwidth66236 -Ref: page layout parameters textheight66460 -Ref: page layout parameters textwidth66849 -Ref: page layout parameters hsize67778 -Ref: page layout parameters topmargin67984 -Ref: page layout parameters topskip68288 -Node: Floats68504 -Ref: floats bottomfraction72872 -Ref: floats floatpagefraction72999 -Ref: floats textfraction73110 -Ref: floats topfraction73312 -Ref: floats floatsep73564 -Ref: floats intextsep73674 -Ref: floats textfloatsep73889 -Ref: floats bottomnumber74153 -Ref: floats dbltopnumber74261 -Ref: floats topnumber74380 -Ref: floats totalnumber74484 -Node: Sectioning75013 -Ref: sectioning secnumdepth77746 -Ref: Sectioning/secnumdepth77746 -Ref: sectioning tocdepth78347 -Ref: Sectioning/tocdepth78347 -Node: \part79392 -Node: \chapter81568 -Node: \section85342 -Node: \subsection88609 -Node: \subsubsection & \paragraph & \subparagraph91323 -Node: \appendix93980 -Node: \frontmatter & \mainmatter & \backmatter95270 -Node: \@startsection96611 -Ref: startsection name97988 -Ref: \@startsection/name97988 -Ref: startsection level98442 -Ref: \@startsection/level98442 -Ref: startsection indent99322 -Ref: \@startsection/indent99322 -Ref: startsection beforeskip99585 -Ref: \@startsection/beforeskip99585 -Ref: startsection afterskip101106 -Ref: \@startsection/afterskip101106 -Ref: startsection style102417 -Ref: \@startsection/style102417 -Node: Cross references106123 -Node: \label108216 -Node: \pageref110036 -Node: \ref110826 -Node: Environments111802 -Node: abstract113804 -Node: array115393 -Node: center118285 -Node: \centering120037 -Node: description121534 -Node: displaymath123749 -Node: document125536 -Node: \AtBeginDocument125966 -Node: \AtEndDocument126590 -Node: enumerate127234 -Ref: enumerate enumi129097 -Ref: enumerate enumii129097 -Ref: enumerate enumiii129097 -Ref: enumerate enumiv129097 -Ref: enumerate labelenumi129495 -Ref: enumerate labelenumii129495 -Ref: enumerate labelenumiii129495 -Ref: enumerate labelenumiv129495 -Node: eqnarray130034 -Node: equation132029 -Node: figure132697 -Node: filecontents134851 -Node: flushleft136598 -Node: \raggedright137615 -Node: flushright138813 -Node: \raggedleft139549 -Node: itemize140339 -Ref: itemize labelitemi141561 -Ref: itemize labelitemii141561 -Ref: itemize labelitemiii141561 -Ref: itemize labelitemiv141561 -Ref: itemize leftmargin142403 -Ref: itemize leftmargini142403 -Ref: itemize leftmarginii142403 -Ref: itemize leftmarginiii142403 -Ref: itemize leftmarginiv142403 -Ref: itemize leftmarginv142403 -Ref: itemize leftmarginvi142403 -Node: letter143807 -Node: list144045 -Ref: list makelabel146490 -Ref: list itemindent147874 -Ref: list itemsep148011 -Ref: list labelsep148663 -Ref: list labelwidth148826 -Ref: list leftmargin149837 -Ref: list listparindent150690 -Ref: list parsep150921 -Ref: list partopsep151424 -Ref: list rightmargin152222 -Ref: list topsep152407 -Ref: list beginparpenalty155982 -Ref: list itempenalty156081 -Ref: list endparpenalty156185 -Node: \item157057 -Node: trivlist158305 -Node: math159833 -Node: minipage160139 -Node: picture165416 -Node: \put171885 -Node: \multiput172450 -Node: \qbezier173189 -Node: \graphpaper174114 -Node: \line174908 -Node: \linethickness176872 -Node: \thinlines177321 -Node: \thicklines177732 -Node: \circle178116 -Node: \oval178656 -Node: \shortstack179632 -Node: \vector181029 -Node: \makebox (picture)181945 -Node: \framebox (picture)183127 -Node: \frame184600 -Node: \dashbox185040 -Node: quotation & quote186175 -Node: tabbing187071 -Node: table193064 -Node: tabular195157 -Ref: tabular arrayrulewidth201486 -Ref: tabular arraystrech201726 -Ref: tabular doublerulesep201947 -Ref: tabular tabcolsep202083 -Node: \multicolumn202604 -Node: \vline206480 -Node: \cline207871 -Node: \hline208581 -Node: thebibliography209263 -Node: \bibitem211673 -Node: \cite213948 -Node: \nocite215703 -Node: Using BibTeX216187 -Node: theorem218342 -Node: titlepage219264 -Node: verbatim220547 -Node: \verb222057 -Node: verse223877 -Node: Line breaking225104 -Node: \\226470 -Node: \obeycr & \restorecr228903 -Node: \newline229697 -Node: \- (hyphenation)230726 -Node: \discretionary232364 -Node: \fussy & \sloppy233252 -Node: sloppypar234035 -Node: \hyphenation235181 -Node: \linebreak & \nolinebreak235775 -Node: Page breaking236922 -Node: \clearpage & \cleardoublepage238951 -Node: \newpage240471 -Node: \enlargethispage241769 -Node: \pagebreak & \nopagebreak242725 -Node: Footnotes244391 -Node: \footnote245537 -Ref: footnote footnoterule246805 -Ref: footnote footnotesep247416 -Node: \footnotemark248482 -Node: \footnotetext250821 -Node: Footnotes in section headings251422 -Node: Footnotes in a table252255 -Node: Footnotes of footnotes255177 -Node: Definitions255881 -Node: \newcommand & \renewcommand256857 -Node: \providecommand262087 -Node: \makeatletter & \makeatother263250 -Node: \@ifstar265398 -Node: \newcounter268217 -Node: \newlength269937 -Node: \newsavebox270759 -Node: \newenvironment & \renewenvironment271738 -Node: \newtheorem277062 -Node: \newfont280634 -Node: \protect281867 -Node: \ignorespaces & \ignorespacesafterend284255 -Node: Counters286993 -Node: \alph \Alph \arabic \roman \Roman \fnsymbol288694 -Node: \usecounter291348 -Node: \value292207 -Node: \setcounter293260 -Node: \addtocounter293856 -Node: \refstepcounter294310 -Node: \stepcounter294979 -Node: \day & \month & \year295525 -Node: Lengths296336 -Node: Units of length300805 -Ref: units of length pt301008 -Ref: units of length pc301131 -Ref: units of length in301154 -Ref: units of length bp301180 -Ref: units of length cm301311 -Ref: units of length mm301333 -Ref: units of length dd301355 -Ref: units of length cc301387 -Ref: units of length sp301412 -Ref: Lengths/em301443 -Ref: Lengths/en301443 -Ref: Lengths/ex301443 -Ref: units of length em301443 -Ref: units of length en301443 -Ref: units of length ex301443 -Node: \setlength302299 -Node: \addtolength303384 -Node: \settodepth304459 -Node: \settoheight305337 -Node: \settowidth306230 -Node: Making paragraphs307098 -Node: \par308869 -Node: \indent & \noindent310816 -Node: \parindent & \parskip312350 -Node: Marginal notes313385 -Ref: marginal notes marginparpush314781 -Ref: marginal notes marginparsep314894 -Ref: marginal notes marginparwidth315026 -Node: Math formulas315375 -Node: Subscripts & superscripts319543 -Node: Math symbols321701 -Node: Blackboard bold347868 -Node: Calligraphic348640 -Node: \boldmath & \unboldmath349212 -Node: Dots350726 -Ref: ellipses cdots351148 -Ref: ellipses ddots351295 -Ref: ellipses ldots351384 -Ref: ellipses vdots351805 -Node: Math functions352991 -Node: Math accents354635 -Node: Over- and Underlining355534 -Node: Spacing in math mode357361 -Ref: spacing in math mode thickspace358293 -Ref: spacing in math mode medspace358385 -Ref: Spacing in math mode/\thinspace358481 -Ref: spacing in math mode thinspace358481 -Ref: spacing in math mode negthinspace358962 -Ref: spacing in math mode quad359160 -Ref: spacing in math mode qquad359416 -Node: \smash359694 -Node: \phantom & \vphantom & \hphantom361911 -Node: Math miscellany363948 -Node: Colon character & \colon364507 -Node: \*365200 -Node: \frac365784 -Node: \left & \right366164 -Node: \sqrt367338 -Node: \stackrel367933 -Node: Modes368206 -Ref: modes paragraph mode368656 -Ref: modes lr mode368852 -Ref: modes math mode369458 -Ref: modes vertical mode369793 -Ref: modes internal vertical mode369964 -Ref: modes inner paragraph mode370437 -Ref: modes outer paragraph mode370437 -Node: \ensuremath370851 -Node: Page styles371556 -Node: \maketitle372319 -Node: \pagenumbering375336 -Node: \pagestyle377324 -Node: \thispagestyle380826 -Node: Spaces381780 -Node: \enspace & \quad & \qquad383221 -Node: \hspace384135 -Node: \hfill385973 -Node: \hss387037 -Node: \spacefactor387731 -Node: \@391118 -Ref: \AT391218 -Node: \frenchspacing393158 -Node: \normalsfcodes393993 -Node: \(SPACE)394240 -Node: ~396004 -Node: \thinspace & \negthinspace398474 -Node: \/399417 -Node: \hrulefill & \dotfill400723 -Node: \bigskip & \medskip & \smallskip402079 -Ref: bigskip402897 -Ref: medskip403101 -Ref: smallskip403310 -Node: \bigbreak & \medbreak & \smallbreak403971 -Node: \strut404957 -Node: \vspace408152 -Node: \vfill409715 -Node: \addvspace410643 -Node: Boxes412641 -Node: \mbox & \makebox413347 -Ref: mbox makebox depth414559 -Ref: mbox makebox height414559 -Ref: mbox makebox width414559 -Ref: mbox makebox totalheight414559 -Node: \fbox & \framebox416653 -Ref: fbox framebox fboxrule417966 -Ref: fbox framebox fboxsep418156 -Node: \parbox419245 -Node: \raisebox421549 -Ref: raisebox depth422512 -Ref: raisebox height422512 -Ref: raisebox width422512 -Ref: raisebox totalheight422512 -Node: \sbox & \savebox423226 -Node: lrbox426192 -Node: \usebox427014 -Node: Color427420 -Node: Color package options428219 -Node: Color models429865 -Ref: color models cmyk430662 -Ref: color models gray431025 -Ref: color models rgb431174 -Ref: color models RGB431511 -Ref: color models named431886 -Node: Commands for color432174 -Node: Define colors432589 -Node: Colored text433314 -Node: Colored boxes435712 -Node: Colored pages437101 -Node: Graphics437794 -Node: Graphics package options439921 -Node: Graphics package configuration442674 -Node: \graphicspath443476 -Node: \DeclareGraphicsExtensions446367 -Node: \DeclareGraphicsRule448135 -Node: Commands for graphics451317 -Node: \includegraphics451822 -Ref: includegraphics width456872 -Ref: includegraphics height457403 -Ref: includegraphics totalheght457809 -Ref: includegraphics keepaspectratio458073 -Ref: includegraphics viewport459759 -Ref: includegraphics trim460129 -Ref: includegraphics clip460585 -Ref: includegraphics page460845 -Ref: includegraphics pagebox460936 -Ref: includegraphics interpolate461801 -Ref: includegraphics quiet462006 -Ref: includegraphics draft462167 -Ref: includegraphics bb462972 -Ref: includegraphics bbllx463370 -Ref: includegraphics bblly463370 -Ref: includegraphics bburx463370 -Ref: includegraphics bbury463370 -Ref: includegraphics natwidth463512 -Ref: includegraphics natheight463512 -Ref: includegraphics hiresbb463698 -Ref: includegraphics type464460 -Ref: includegraphics ext464500 -Ref: includegraphics read464603 -Ref: includegraphics command464720 -Node: \rotatebox464965 -Node: \scalebox467819 -Node: \resizebox468875 -Node: Special insertions470067 -Node: Reserved characters470869 -Node: Upper and lower case472071 -Node: Symbols by font position473986 -Node: Text symbols474606 -Node: Accents478607 -Node: Additional Latin letters480622 -Ref: Non-English characters480793 -Node: \rule481810 -Node: \today482982 -Node: Splitting the input483918 -Node: \endinput485659 -Node: \include & \includeonly486926 -Node: \input491148 -Node: Front/back matter492363 -Node: Table of contents etc.492696 -Node: \addcontentsline496432 -Node: \addtocontents499274 -Node: \nofiles500865 -Node: Indexes501597 -Node: \index503225 -Node: makeindex508334 -Ref: makeindex preamble510002 -Ref: makeindex postamble510142 -Ref: makeindex group skip510227 -Ref: makeindex letheadflag510547 -Ref: makeindex lethead prefix511008 -Ref: makeindex lethead suffix511160 -Ref: makeindex item 0511308 -Ref: makeindex item 1511388 -Ref: makeindex item 2511463 -Ref: makeindex item 01511541 -Ref: makeindex item x1511646 -Ref: makeindex item 12511851 -Ref: makeindex item x2511959 -Ref: makeindex delim 0512119 -Ref: makeindex delim 1512249 -Ref: makeindex delim 2512379 -Ref: makeindex delim n512505 -Ref: makeindex delim r512640 -Ref: makeindex line max512748 -Ref: makeindex indent space512883 -Ref: makeindex indent length512978 -Ref: makeindex page precedence513163 -Node: \printindex514037 -Node: Glossaries514509 -Node: \newglossaryentry516476 -Node: \gls517945 -Node: Letters518739 -Node: \address522366 -Node: \cc523177 -Node: \closing523619 -Node: \encl523933 -Node: \location524347 -Node: \makelabels524611 -Node: \name526928 -Node: \opening527169 -Node: \ps527450 -Node: \signature527739 -Node: \telephone528967 -Node: Terminal input/output529332 -Node: \typein529597 -Node: \typeout530846 -Node: Command line531890 -Node: Command line options533948 -Node: Command line input537507 -Node: Recovering from errors539370 -Node: Document templates540716 -Node: beamer template541161 -Node: article template541815 -Node: book template542242 -Node: Larger book template542723 -Node: tugboat template544209 -Node: Index546580 -Ref: Command Index546666 +Node: Top1852 +Node: About this document3656 +Node: Overview5394 +Node: Starting and ending7174 +Ref: Starting & ending7309 +Node: Output files8486 +Ref: output files dvi8765 +Ref: output files pdf9277 +Ref: output files log9602 +Ref: output files aux9799 +Node: TeX engines10768 +Ref: tex engines latex11304 +Ref: tex engines lualatex12139 +Ref: tex engines xelatex12600 +Node: LaTeX command syntax14560 +Node: Environment16487 +Node: CTAN17714 +Node: Document classes19170 +Ref: document classes article19610 +Ref: document classes book19698 +Ref: document classes letter19883 +Ref: document classes report19959 +Ref: document classes slides20111 +Node: Document class options20564 +Node: Additional packages23646 +Node: Class and package construction24277 +Node: Class and package structure25727 +Node: Class and package commands28022 +Node: Fonts45627 +Ref: Typefaces45730 +Node: fontenc package47692 +Node: \DeclareFontEncoding51940 +Node: \DeclareTextAccent53358 +Node: \DeclareTextAccentDefault54215 +Node: \DeclareTextCommand & \ProvideTextCommand55286 +Node: \DeclareTextCommandDefault & \ProvideTextCommandDefault57520 +Node: \DeclareTextComposite58827 +Node: \DeclareTextCompositeCommand59914 +Node: \DeclareTextSymbol60589 +Node: \DeclareTextSymbolDefault61694 +Node: \LastDeclaredEncoding62648 +Node: \UseTextSymbol & \UseTextAccent63272 +Node: Font styles64480 +Node: Font sizes68710 +Node: Low-level font commands70935 +Ref: low level font commands fontencoding71219 +Ref: low level font commands fontfamily71775 +Ref: low level font commands fontseries72538 +Ref: low level font commands fontshape73690 +Ref: low level font commands fontsize73987 +Ref: low level font commands linespread74564 +Ref: low level font commands selectfont74814 +Ref: low level font commands usefont75140 +Node: Layout75383 +Node: \onecolumn75949 +Node: \twocolumn76308 +Ref: twocolumn columnsep76931 +Ref: twocolumn columnseprule77175 +Ref: twocolumn columnwidth77475 +Ref: twocolumn dbltopfraction78058 +Ref: twocolumn dblfloatpagefraction79024 +Ref: twocolumn dblfloatsep79262 +Ref: twocolumn dbltextfloatsep79571 +Ref: twocolumn dbltopnumber79751 +Node: \flushbottom80700 +Node: \raggedbottom81800 +Node: Page layout parameters82336 +Ref: page layout parameters columnsep82565 +Ref: page layout parameters columnseprule82565 +Ref: page layout parameters columnwidth82565 +Ref: page layout parameters headheight82819 +Ref: page layout parameters headsep82986 +Ref: page layout parameters footskip83298 +Ref: page layout parameters linewidth83632 +Ref: page layout parameters marginparpush83985 +Ref: page layout parameters marginsep83985 +Ref: page layout parameters marginparwidth83985 +Ref: page layout parameters oddsidemargin85025 +Ref: page layout parameters evensidemargin85025 +Ref: page layout parameters paperheight85570 +Ref: page layout parameters paperwidth85796 +Ref: page layout parameters textheight86020 +Ref: page layout parameters textwidth86409 +Ref: page layout parameters hsize87347 +Ref: page layout parameters topmargin87544 +Ref: page layout parameters topskip87848 +Node: \baselineskip & \baselinestretch88064 +Node: Floats93057 +Ref: floats bottomfraction97395 +Ref: floats floatpagefraction97522 +Ref: floats textfraction97633 +Ref: floats topfraction97835 +Ref: floats floatsep98087 +Ref: floats intextsep98197 +Ref: floats textfloatsep98412 +Ref: floats bottomnumber98676 +Ref: floats dbltopnumber98784 +Ref: floats topnumber98903 +Ref: floats totalnumber99007 +Node: Sectioning99549 +Ref: sectioning secnumdepth102658 +Ref: Sectioning/secnumdepth102658 +Ref: sectioning tocdepth103284 +Ref: Sectioning/tocdepth103284 +Node: \part104324 +Node: \chapter106501 +Node: \section110274 +Node: \subsection113541 +Node: \subsubsection & \paragraph & \subparagraph116255 +Node: \appendix118912 +Node: \frontmatter & \mainmatter & \backmatter120205 +Node: \@startsection121614 +Ref: startsection name123103 +Ref: \@startsection/name123103 +Ref: startsection level123557 +Ref: \@startsection/level123557 +Ref: startsection indent124438 +Ref: \@startsection/indent124438 +Ref: startsection beforeskip124701 +Ref: \@startsection/beforeskip124701 +Ref: startsection afterskip126222 +Ref: \@startsection/afterskip126222 +Ref: startsection style127533 +Ref: \@startsection/style127533 +Node: Cross references131234 +Node: \label133383 +Node: \pageref135203 +Node: \ref135993 +Node: xr package136988 +Node: Environments138822 +Node: abstract140824 +Node: array142413 +Node: center145305 +Node: \centering147058 +Node: description148555 +Node: displaymath150772 +Node: document152468 +Node: \AtBeginDocument152898 +Node: \AtEndDocument153522 +Node: enumerate154166 +Ref: enumerate enumi156029 +Ref: enumerate enumii156029 +Ref: enumerate enumiii156029 +Ref: enumerate enumiv156029 +Ref: enumerate labelenumi156427 +Ref: enumerate labelenumii156427 +Ref: enumerate labelenumiii156427 +Ref: enumerate labelenumiv156427 +Node: eqnarray156966 +Node: equation158962 +Node: figure159630 +Node: filecontents161784 +Node: flushleft163693 +Node: \raggedright164720 +Node: flushright165918 +Node: \raggedleft166742 +Node: itemize167613 +Ref: itemize labelitemi169161 +Ref: itemize labelitemii169161 +Ref: itemize labelitemiii169161 +Ref: itemize labelitemiv169161 +Ref: itemize leftmargin169820 +Ref: itemize leftmargini169820 +Ref: itemize leftmarginii169820 +Ref: itemize leftmarginiii169820 +Ref: itemize leftmarginiv169820 +Ref: itemize leftmarginv169820 +Ref: itemize leftmarginvi169820 +Node: letter171302 +Node: list171540 +Ref: list makelabel173987 +Ref: list itemindent175372 +Ref: list itemsep175509 +Ref: list labelsep176162 +Ref: list labelwidth176325 +Ref: list leftmargin177336 +Ref: list listparindent178189 +Ref: list parsep178420 +Ref: list partopsep178888 +Ref: list rightmargin179686 +Ref: list topsep179871 +Ref: list beginparpenalty183446 +Ref: list itempenalty183545 +Ref: list endparpenalty183649 +Node: \item184520 +Node: trivlist185766 +Node: math187294 +Node: minipage187600 +Node: picture193165 +Node: \put199395 +Node: \multiput199960 +Node: \qbezier200699 +Node: \graphpaper202172 +Node: \line202966 +Node: \linethickness204940 +Node: \thinlines205389 +Node: \thicklines205800 +Node: \circle206184 +Node: \oval206726 +Node: \shortstack207702 +Node: \vector209099 +Node: \makebox (picture)210013 +Node: \framebox (picture)211195 +Node: \frame212668 +Node: \dashbox213108 +Node: quotation & quote214243 +Node: tabbing215139 +Node: table221042 +Node: tabular223106 +Ref: tabular arrayrulewidth229443 +Ref: tabular arraystrech229683 +Ref: tabular doublerulesep229904 +Ref: tabular tabcolsep230040 +Node: \multicolumn230561 +Node: \vline234437 +Node: \cline235828 +Node: \hline236538 +Node: thebibliography237220 +Node: \bibitem239703 +Node: \cite242005 +Node: \nocite243873 +Node: Using BibTeX244381 +Node: theorem246552 +Node: titlepage247474 +Node: verbatim248757 +Node: \verb250570 +Node: verse252663 +Node: Line breaking253890 +Node: \\255256 +Node: \obeycr & \restorecr257689 +Node: \newline258500 +Node: \- (hyphenation)259529 +Node: \discretionary261167 +Node: \fussy & \sloppy262055 +Node: sloppypar262838 +Node: \hyphenation263984 +Node: \linebreak & \nolinebreak264578 +Node: Page breaking265726 +Node: \clearpage & \cleardoublepage267756 +Node: \newpage269276 +Node: \enlargethispage270574 +Node: \pagebreak & \nopagebreak271530 +Node: Footnotes273197 +Node: \footnote274343 +Ref: footnote footnoterule275611 +Ref: footnote footnotesep276222 +Node: \footnotemark277288 +Node: \footnotetext279627 +Node: Footnotes in section headings280229 +Node: Footnotes in a table281062 +Node: Footnotes of footnotes283984 +Node: Definitions284688 +Node: \newcommand & \renewcommand285735 +Node: \providecommand291036 +Node: \makeatletter & \makeatother292201 +Node: \@ifstar294303 +Node: \newcounter297788 +Node: \newlength299508 +Node: \newsavebox300330 +Node: \newenvironment & \renewenvironment301309 +Node: \newtheorem306633 +Node: \newfont310205 +Node: \protect311438 +Node: \ignorespaces & \ignorespacesafterend313826 +Node: xspace package316507 +Node: Counters318572 +Node: \alph \Alph \arabic \roman \Roman \fnsymbol320273 +Node: \usecounter322898 +Node: \value323757 +Node: \setcounter324810 +Node: \addtocounter325406 +Node: \refstepcounter325860 +Node: \stepcounter326529 +Node: \day & \month & \year327082 +Node: Lengths327893 +Node: Units of length332481 +Ref: units of length pt332684 +Ref: units of length pc332784 +Ref: units of length in332807 +Ref: units of length bp332833 +Ref: units of length cm332964 +Ref: units of length mm332986 +Ref: units of length dd333008 +Ref: units of length cc333040 +Ref: units of length sp333065 +Ref: Lengths/em333096 +Ref: Lengths/en333096 +Ref: Lengths/ex333096 +Ref: units of length em333096 +Ref: units of length en333096 +Ref: units of length ex333096 +Node: \setlength333952 +Node: \addtolength335037 +Node: \settodepth336112 +Node: \settoheight336990 +Node: \settowidth337883 +Node: \stretch338768 +Node: Expressions339970 +Node: Making paragraphs344752 +Node: \par346523 +Node: \indent & \noindent348470 +Node: \parindent & \parskip350005 +Node: Marginal notes351312 +Ref: marginal notes marginparpush352708 +Ref: marginal notes marginparsep352882 +Ref: marginal notes marginparwidth353014 +Node: Math formulas353363 +Node: Subscripts & superscripts357531 +Node: Math symbols359692 +Node: Arrows383463 +Node: \boldmath & \unboldmath384651 +Node: Blackboard bold386170 +Node: Calligraphic386972 +Node: Delimiters387503 +Node: \left & \right389691 +Node: \bigl & \bigr etc.393699 +Node: Dots396452 +Ref: ellipses cdots396883 +Ref: ellipses ddots397028 +Ref: ellipses ldots397109 +Ref: ellipses vdots397526 +Node: Greek letters398710 +Node: Math functions400389 +Node: Math accents402033 +Node: Over- and Underlining402932 +Node: Spacing in math mode404759 +Ref: spacing in math mode thickspace405694 +Ref: spacing in math mode medspace406119 +Ref: Spacing in math mode/\thinspace406546 +Ref: spacing in math mode thinspace406546 +Ref: spacing in math mode negthinspace407027 +Ref: spacing in math mode quad407354 +Ref: spacing in math mode qquad407610 +Node: \smash407948 +Node: \phantom & \vphantom & \hphantom410165 +Node: \mathstrut412712 +Node: Math miscellany413674 +Node: Colon character & \colon414180 +Node: \*414873 +Node: \frac415453 +Node: \sqrt415824 +Node: \stackrel416410 +Node: Modes416683 +Ref: modes paragraph mode417133 +Ref: modes lr mode417329 +Ref: modes math mode417935 +Ref: modes vertical mode418270 +Ref: modes internal vertical mode418441 +Ref: modes inner paragraph mode418914 +Ref: modes outer paragraph mode418914 +Node: \ensuremath419328 +Node: Page styles420033 +Node: \maketitle420796 +Node: \pagenumbering423814 +Node: \pagestyle425802 +Node: \thispagestyle429304 +Node: Spaces430258 +Node: \enspace & \quad & \qquad431699 +Node: \hspace432614 +Node: \hfill434452 +Node: \hss435516 +Node: \spacefactor436210 +Node: \@439597 +Ref: \AT439697 +Node: \frenchspacing441637 +Node: \normalsfcodes442472 +Node: \(SPACE)442719 +Node: ~444509 +Node: \thinspace & \negthinspace447086 +Node: \/448257 +Node: \hrulefill & \dotfill450213 +Node: \bigskip & \medskip & \smallskip451569 +Ref: bigskip452387 +Ref: medskip452591 +Ref: smallskip452800 +Node: \bigbreak & \medbreak & \smallbreak453461 +Node: \strut454447 +Node: \vspace457642 +Node: \vfill459206 +Node: \addvspace460134 +Node: Boxes462130 +Node: \mbox & \makebox462836 +Ref: mbox makebox depth464104 +Ref: mbox makebox height464104 +Ref: mbox makebox width464104 +Ref: mbox makebox totalheight464104 +Node: \fbox & \framebox466199 +Ref: fbox framebox fboxrule467513 +Ref: fbox framebox fboxsep467703 +Node: \parbox468793 +Node: \raisebox471099 +Ref: raisebox depth472072 +Ref: raisebox height472072 +Ref: raisebox width472072 +Ref: raisebox totalheight472072 +Node: \sbox & \savebox472773 +Node: lrbox475835 +Node: \usebox476721 +Node: Color477160 +Node: Color package options477959 +Node: Color models479605 +Ref: color models cmyk480402 +Ref: color models gray480765 +Ref: color models rgb480914 +Ref: color models RGB481251 +Ref: color models named481626 +Node: Commands for color481914 +Node: Define colors482329 +Node: Colored text483054 +Node: Colored boxes485451 +Node: Colored pages486840 +Node: Graphics487533 +Node: Graphics package options489660 +Node: Graphics package configuration492413 +Node: \graphicspath493215 +Node: \DeclareGraphicsExtensions496173 +Node: \DeclareGraphicsRule497991 +Node: Commands for graphics501172 +Node: \includegraphics501677 +Ref: includegraphics width506740 +Ref: includegraphics height507273 +Ref: includegraphics totalheight507679 +Ref: includegraphics keepaspectratio507943 +Ref: includegraphics viewport509629 +Ref: includegraphics trim510024 +Ref: includegraphics clip510480 +Ref: includegraphics page510740 +Ref: includegraphics pagebox510831 +Ref: includegraphics interpolate511696 +Ref: includegraphics quiet511901 +Ref: includegraphics draft512062 +Ref: includegraphics bb512867 +Ref: includegraphics bbllx513265 +Ref: includegraphics bblly513265 +Ref: includegraphics bburx513265 +Ref: includegraphics bbury513265 +Ref: includegraphics natwidth513407 +Ref: includegraphics natheight513407 +Ref: includegraphics hiresbb513593 +Ref: includegraphics type514355 +Ref: includegraphics ext514395 +Ref: includegraphics read514498 +Ref: includegraphics command514615 +Node: \rotatebox514861 +Node: \scalebox517715 +Node: \resizebox518771 +Node: Special insertions519963 +Node: Reserved characters520831 +Node: Upper and lower case522091 +Node: Symbols by font position524477 +Node: Text symbols525156 +Node: Accents530140 +Node: \accent532293 +Node: Additional Latin letters534055 +Ref: Non-English characters534237 +Node: inputenc package535256 +Node: \rule537806 +Node: \today538994 +Node: Splitting the input539930 +Node: \endinput541672 +Node: \include & \includeonly542975 +Node: \input547272 +Node: Front/back matter548487 +Node: Table of contents etc.548820 +Node: \@dottedtocline554525 +Node: \addcontentsline556071 +Node: \addtocontents558949 +Node: \contentsline561166 +Node: \nofiles562859 +Node: \numberline563610 +Node: Indexes564725 +Node: \index566399 +Node: makeindex571504 +Ref: makeindex preamble573172 +Ref: makeindex postamble573312 +Ref: makeindex group skip573397 +Ref: makeindex letheadflag573730 +Ref: makeindex lethead prefix574191 +Ref: makeindex lethead suffix574343 +Ref: makeindex item 0574491 +Ref: makeindex item 1574571 +Ref: makeindex item 2574646 +Ref: makeindex item 01574724 +Ref: makeindex item x1574829 +Ref: makeindex item 12575034 +Ref: makeindex item x2575142 +Ref: makeindex delim 0575302 +Ref: makeindex delim 1575432 +Ref: makeindex delim 2575562 +Ref: makeindex delim n575688 +Ref: makeindex delim r575823 +Ref: makeindex line max575931 +Ref: makeindex indent space576066 +Ref: makeindex indent length576161 +Ref: makeindex page precedence576346 +Node: \printindex577381 +Node: Glossaries577854 +Node: \newglossaryentry579821 +Node: \gls581288 +Node: Letters582082 +Node: \address585700 +Node: \cc586511 +Node: \closing586953 +Node: \encl587267 +Node: \location587681 +Node: \makelabels587945 +Node: \name590262 +Node: \opening590503 +Node: \ps590784 +Node: \signature591073 +Node: \telephone592301 +Node: Input/output592666 +Node: \openin & \openout593396 +Node: \read596139 +Node: \typein597326 +Node: \typeout598586 +Node: \write599636 +Node: \write and security604363 +Node: \message605307 +Node: \wlog607136 +Node: \write18607637 +Node: Command line interface611128 +Ref: Command line611292 +Node: Command line options613445 +Ref: interaction modes614448 +Ref: output directory615402 +Node: Command line input617101 +Node: Jobname619132 +Node: Recovering from errors622274 +Node: Document templates623702 +Node: beamer template624136 +Node: article template624778 +Node: book template625241 +Node: Larger book template625720 +Node: Index627262 +Ref: Command Index627348 End Tag Table + + +Local Variables: +coding: utf-8 +End: |