• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Appendix A. A LaTeX Overview for Preambl... > A.1. Linking markup and formatting

A.1. Linking markup and formatting

This section reviews the syntax for defining commands and environments with LaTeX. It is important that you exclusively use the LaTeX constructs described below, rather than the lower-level TeX commands. Then, not only will you be able to take advantage of LaTeX’s consistency checking, but your commands will also be portable, (probably) without modification, to future versions of LaTeX.

A.1.1. Command and environment names

Commands

In the current LaTeX incarnation, it is possible to enter accented characters and other non-ASCII symbols directly into the source, so it would seem reasonable to expect that such characters could also be used in command and environment names (e.g., \größer). However, this is not the case—LaTeX multi-character command names must be built from basic ASCII letters (i.e., a... z and A... Z).1 This means that \vspace* is actually not a command by itself; rather, it is the command \vspace followed by the modifier *. Technically, you could write \vspace* (as the space is ignored) or even put the * on the next line of your document.2


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint