Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

LaTeX/Command Glossary

From Wikibooks, open books for an open world
<LaTeX
Thelatest reviewed version waschecked on13 January 2021. There is1 pending change awaiting review.

LaTeX

Getting Started
  1. Introduction
  2. Installation
  3. Installing Extra Packages
  4. Basics
  5. How to get help

Common Elements

  1. Document Structure
  2. Text Formatting
  3. Paragraph Formatting
  4. Colors
  5. Fonts
  6. List Structures
  7. Special Characters
  8. Internationalization
  9. Rotations
  10. Tables
  11. Title creation
  12. Page Layout
  13. Customizing Page Headers and Footers‎
  14. Importing Graphics
  15. Floats, Figures and Captions
  16. Footnotes and Margin Notes
  17. Hyperlinks
  18. Labels and Cross-referencing
  19. Initials

Mechanics

  1. Errors and Warnings
  2. Lengths
  3. Counters
  4. Boxes
  5. Rules and Struts

Technical Text

  1. Mathematics
  2. Advanced Mathematics
  3. Theorems
  4. Chemical Graphics
  5. Algorithms
  6. Source Code Listings
  7. Linguistics

Special Pages

  1. Indexing
  2. Glossary
  3. Bibliography Management
  4. More Bibliographies

Special Documents

  1. Scientific Reports (Bachelor Report, Master Thesis, Dissertation)
  2. Letters
  3. Presentations
  4. Teacher's Corner
  5. Curriculum Vitae
  6. Academic Journals (MLA, APA, etc.)

Creating Graphics

  1. Introducing Procedural Graphics
  2. MetaPost
  3. Picture
  4. PGF/TikZ
  5. PSTricks
  6. Xy-pic
  7. Creating 3D graphics

Programming

  1. Macros
  2. Plain TeX
  3. Creating Packages
  4. Creating Package Documentation
  5. Themes

Miscellaneous

  1. Modular Documents
  2. Collaborative Writing of LaTeX Documents
  3. Export To Other Formats

Help and Recommendations

  1. FAQ
  2. Tips and Tricks

Appendices

  1. Authors
  2. Links
  3. Package Reference
  4. Sample LaTeX documents
  5. Index
  6. Command Glossary

edit this boxedit the TOC


This is a glossary of LaTeX commands—an alphabetical listing of LaTeX commands with the summaries of their effects. (Brackets "[]" are optional arguments and braces "{}" are required arguments.)

Contents

#

[edit |edit source]
/
seeslash marks
\@
following period ends sentence
\\[*][extra-space]
new line
\,
thin space, math and text mode
\;
thick space, math mode
\:
medium space, math mode
\!
negative thin space, math mode
\-
hyphenation; tabbing
\=
set tab, see tabbing
\>
tab, see tabbing
\<
back tab, see tabbing
\+
see tabbing
\'
accent or tabbing
\`
accent or tabbing
\|
double vertical lines, math mode
\(
startmath environment
\)
end math environment
\[
begin displaymath environment
\]
end displaymath environment

A

[edit |edit source]
\addcontentsline{file}{sec_unit}{entry}
adds an entry to the specified list or table
\addtocontents{file}{text}
adds text (or formatting commands) directly to the file that generates the specified list or table
\addtocounter{counter}{value}
increments the counter
\address{Return address}
\addtolength{len-cmd}{len}
increments a length command, seeLength
\addvspace
adds a vertical space of a specified height
\alph
causes the current value of a specified counter to be printed in alphabetic characters
\appendix
changes the way sectional units are numbered so that information after the command is considered part of the appendix
\arabic
causes the current value of a specified counter to be printed in Arabic numbers
\author
declares the author(s). SeeDocument Structure

B

[edit |edit source]
\backslash
prints a backslash
\baselineskip
a length command (seeLengths), which specifies the minimum space between the bottom of two successive lines in a paragraph
\baselinestretch
scales the value of \baselineskip
\bfseries
Boldface typeface
\bibitem
generates a labeled entry forthe bibliography
\bigskipamount
\bigskip
equivalent to \vspace{\bigskipamount}
\boldmath
bold font in math mode
\boldsymbol
bold font for symbols

C

[edit |edit source]
\cal
Calligraphic style in math mode
\caption
generate caption for figures and tables
\cdots
Centered dots
\centering
Used to center align LaTeX environments
\chapter
Starts a new chapter. SeeDocument Structure.
\circle
\cite
Used tomake citations from the provided bibliography
\cleardoublepage
\clearpage
Ends the current page and causes any floats to be printed. SeePage Layout.
\cline
Adds horizontal line in a table that spans only to a range of cells. See\hline andTables chapter.
\closing
Inserts a closing phrase (e.g. \closing{yours sincerely}), leaves space for a handwritten signature and inserts a signature specified by \signature{}. Used in theLetter class.
\color
Specifies color of the text.LaTeX/Colors
\copyright
makes © sign. SeeFormatting.

D

[edit |edit source]
\dashbox
\date
\ddots
Inserts a diagonal ellipsis (3 diagonal dots) in math mode
\documentclass[options]{style}
Used to begin a latex document
\dotfill
\dfrac

E

[edit |edit source]
\em
Toggles italics on/off for the text inside curly braces with the command. Such as {\em This is in italics \em but this isn't \em and this is again}. This command allows nesting.
\emph
Toggles italics on/off for the text in curly braces following the command e.g. \emph{This is in italics \emph{but this isn't} and this is again}.
\ensuremath (LaTeX2e)
Treats everything inside the curly braces as if it were in a math environment. Useful when creating commands in the preamble as they will work inside or out of math environments.
\epigraph
Adds an epigraph. Requiresepigraph package.
\euro
Prints euro € symbol. Requireseurosym package.

F

[edit |edit source]
\fbox
\flushbottom
\fnsymbol
\footnote
Creates afootnote.
\footnotemark
\footnotesize
Sets font size. SeeText Formatting.
\footnotetext
\frac
inserts a fraction in mathematics mode. The usage is \frac{numerator}{denominator}.
\frame
\framebox
Like \makebox but creates a frame around the box. SeeBoxes.
\frenchspacing
Instructs LaTex to abstain from inserting more space after a period (´.´) than is the case for an ordinary character. In order to untoggle this functionality resort to the command\nonfrenchspacing.

G

[edit |edit source]

H

[edit |edit source]
\hfill
Abbreviation for \hspace{\fill}.
\hline
adds a horizontal line in a tabular environment. See also\cline,Tables chapter.
\href
Add a link, or an anchor. SeeHyperlinks
\hrulefill
\hspace
Produces horizontal space.
\huge
Sets font size. SeeText Formatting.
\Huge
Sets font size. SeeText Formatting.
\hyphenation{word list}
Overrides default hyphenation algorithm for specified words. SeeHyphenation

I

[edit |edit source]
\include
This command is different from\input in that it's the output that is added instead of the commands from the other files. For more seeLaTex/Basics
\includegraphics
Inserts animage. Requiresgraphicx package.
\includeonly
\indent
\input
Used to read in LaTex files. For more seeLaTex/Basics.
\itshape
Italicizes the text which is inside curly braces with the command. Such as {\itshape This is in italics}. \em is generally preferred since it allows nesting.
\item
Creates an item in a list. Used inlist structures.

K

[edit |edit source]
\kill
Prevent a line in the tabbing environment from being printed.

L

[edit |edit source]
\label
Used to create label which can be later referenced with\ref. SeeLabels and Cross-referencing.
\large
Sets font size. SeeText Formatting.
\Large
Sets font size. SeeText Formatting.
\LARGE
Sets font size. SeeText Formatting.
\LaTeX
Prints LaTeX logo. SeeFormatting.
\LaTeXe
Prints current LaTeX version logo. SeeFormatting.
\ldots
Prints sequence of three dots. SeeFormatting.
\left
\lefteqn
\line
\linebreak
Suggests LaTeX to break line in this place. SeeParagraph Formatting.
\linethickness
\linewidth
\listoffigures
Inserts a list of the figures in the document. Similar toTOC
\listoftables
Inserts a list of the tables in the document. Similar toTOC
\location

M

[edit |edit source]
\makebox
Defines a box that has a specified width, independent from its content. SeeBoxes.
\maketitle
Causes the title page to be typeset, using information provided by commands such as \title{} and \author{}.
\markboth \markright
\mathcal
\mathop
\mbox
Write a text in roman font inside a math part
\medskip
\multicolumn
\multiput

N

[edit |edit source]
\newcommand
Defines a new command. SeeNew Commands.
\newcolumntype
Defines a new type of column to be used with tables. SeeTables.
\newcounter
\newenvironment
Defines a new environment. SeeNew Environments.
\newfont
\newlength
\newline
Ends current line and starts a new one. SeeParagraph Formatting.
\newpage
Ends current page and starts a new one. SeePage Layout.
\newsavebox
\newtheorem
\nocite
Adds a reference to the bibliography without an inline citation. \nocite{*} causes all entries in a bibtex database to be added to the bibliography.
\noindent
\nolinebreak
\nonfrenchspacing
Setting the command untoggles the command\frenchspacing and activates LaTeX standards to insert more space after a period (´.´) than after an ordinary character.
\normalsize
Sets default font size. SeeText Formatting.
\nopagebreak
Suggests LaTeX not to break page in this place. SeePage Layout.
\not

O

[edit |edit source]
\onecolumn
\opening
Inserts an opening phrase when using theletter class, for example \opening{Dear Sir}
\oval
\overbrace
Draws a brace over the argument. Can be used in displaystyle with superscript to label formulae. SeeAdvanced Mathematics.
\overline
Draws a line over the argument.

P

[edit |edit source]
\pagebreak
Suggests LaTeX breaking page in this place. SeePage Layout.
\pagenumbering
Defines the type of characters used for the page numbers. Options : arabic, roman, Roman, alph, Alph, gobble (invisible).
\pageref
Used to reference to number of page where a previously declared\label is located. SeeFloats, Figures and Captions.
\pagestyle
SeePage Layout.
\par
Starts a new paragraph
\paragraph
Starts a new paragraph. SeeDocument Structure.
\parbox
Defines a box whose contents are created in paragraph mode. SeeBoxes.
\parindent
Normal paragraph indentation. SeeLengths.
\parskip
\part
Starts a new part of a book. SeeDocument Structure.
\protect
\providecommand (LaTeX2e)
SeeMacros.
\put

Q

[edit |edit source]
\quad
Similar to space, but with the size of a capital M
\qquad
double \quad

R

[edit |edit source]
\raggedbottom
Command used for top justified within other environments.
\raggedleft
Command used for right justified within other environments.
\raggedright
Command used for left justified within other environments.
\raisebox
Creates a box and raises its content. SeeLaTeX/Boxes.
\ref
Used to reference to number of previously declared\label. SeeLabels and Cross-referencing.
\renewcommand
\right
\rmfamily
Roman typeface.
\roman
Causes a counter to be printed in roman numerals.
\rule
Creates a line of specified width and height. SeeLaTeX/Rules and Struts.

S

[edit |edit source]
\savebox
Makes a box and saves it in a named storage bin.
\sbox
The short form of \savebox with no optional arguments.
\scshape
Small caps.
\scriptsize
Sets font size. SeeText Formatting.
\section
Starts a new section. SeeDocument Structure.
\setcounter
\setlength
\settowidth
\sffamily
Sans serif.
\shortstack
\signature
In theLetter class, specifies a signature for later insertion by \closing.
\slshape
Slanted.
\slash
Seeslash marks
\small
Sets font size. SeeText Formatting.
\smallskip
\sout
Strikes out text. Requiresulem package. SeeText Formatting.
\space
force ordinary space
\sqrt
Creates aroot (default square, but magnitude can be given as an optional parameter).
\stackrel
Takes two arguments and stacks the first on top of the second.
\stepcounter
Increase the counter.
\subparagraph
Starts a new subparagraph. SeeDocument Structure.
\subsection
Starts a new subsection. SeeDocument Structure.
\subsubsection
Starts a new sub-subsection. SeeDocument Structure.

T

[edit |edit source]
\tableofcontents
Inserts a table of contents (based on section headings) at the point where the command appears.
\telephone
In theletter class, specifies the sender's telephone number.
\TeX
Prints TeX logo. SeeText Formatting.
\textbf{}
Sets bold font style. SeeText Formatting.
\textcolor{}{}
Creates colored text. SeeEntering colored text.
\textit{}
Sets italic font style. SeeText Formatting.
\textmd{}
Sets medium weight of a font. SeeText Formatting.
\textnormal{}
Sets normal font. SeeText Formatting.
\textrm{}
Sets roman font family. SeeText Formatting.
\textsc{}
Sets font style to small caps. SeeText Formatting.
\textsf{}
Sets sans serif font family. SeeText Formatting.
\textsl{}
Sets slanted font style. SeeText Formatting.
\texttt{}
Sets typewriter font family. SeeText Formatting.
\textup{}
Sets upright shape of a font. SeeText Formatting.
\textwidth
\textheight
\thanks
\thispagestyle
\tiny
Sets font size. SeeText Formatting.
\title
\today
Writes current day. SeeText Formatting.
\ttfamily
\twocolumn
\typeout
\typein

U

[edit |edit source]
\uline
Underlines text. Requiresulem package. SeeFormatting.
\underbrace
\underline
\unitlength
\usebox
\usecounter
\uwave
Creates wavy underline. Requiresulem package. SeeFormatting.

V

[edit |edit source]
\value
\vbox{text}
Encloses a paragraph's text to prevent it from running over a page break
\vcenter
\vdots
Creates vertical dots. SeeMathematics.
\vector
\verb
Creates inline verbatim text. SeeFormatting.
\vfill
\vline
\vphantom
\vspace


This page uses material from Dr. Sheldon Green'sHypertext Help with LaTeX.

Previous: IndexIndex 
Retrieved from "https://en.wikibooks.org/w/index.php?title=LaTeX/Command_Glossary&oldid=4391753"
Category:

[8]ページ先頭

©2009-2025 Movatter.jp