Dot in LaTeX
LaTeX has a different command for each kind of dot, all in math mode: \cdot for a centered dot (a·b), \ldots for three dots on the baseline (1, 2, …, n), \cdots for centered three dots (1 + 2 + ⋯ + n), \vdots and \ddots for vertical and diagonal dots, and \dot{x} for a dot over a letter.
Dot commands
a \cdot bCentered dot ⋅ as an operator (multiplication, dot product).
1, 2, \ldots, nThree dots on the baseline, for lists separated by commas.
1 + 2 + \cdots + nThree centered dots, between operators.
\vdotsVertical dots, e.g. in a matrix column.
\ddotsDiagonal dots, e.g. in a matrix.
x_1, \dots, x_namsmath picks low or centered dots from the context.
\dot{x}Dot over a letter: time derivative (Newton notation).
\ddot{x}Two dots over a letter: second time derivative.
\dddotgives three (amsmath).a \bullet bBullet • as an operator.
- Text mode, no math preview
\textbulletA bullet in running text (not a list; use itemize for lists).
Try it live
Change the formula and the preview redraws as you type. Copy the LaTeX, download a PNG or SVG, copy it for Word, or use Edit here on any example below to load it.
Dots and ellipses examples
Each result below is drawn from the LaTeX under it. Copy the code, edit it on this page, or open it in the full editor.
List with ellipsis
LaTeXa_1, a_2, \ldots, a_nSum with ellipsis
LaTeX1 + 2 + \cdots + n = \frac{n(n+1)}{2}Matrix with all three
LaTeX\begin{pmatrix} a_{11} & \cdots & a_{1n} \\ \vdots & \ddots & \vdots \\ a_{m1} & \cdots & a_{mn} \end{pmatrix}Newton notation
LaTeX\dot{x} = v, \quad \ddot{x} = a, \quad F = m \ddot{x}Semantic amsmath dots
LaTeXx_1, \dotsc, x_n \qquad x_1 + \dotsb + x_n\dotscis for commas,\dotsbfor binary operators,\dotsmfor products and\dotsifor integrals.Product of factors
LaTeXn! = 1 \cdot 2 \cdot 3 \cdots n
Which dot in which context
Between commas, use baseline dots: x_1, \ldots, x_n. Between operators such as + or =, use centered dots: x_1 + \cdots + x_n. With amsmath loaded, \dots chooses for you by looking at the next symbol, and \dotsc, \dotsb, \dotsm and \dotsi let you say it explicitly.
For a single dot, \cdot is the multiplication or dot-product sign. A period . is punctuation: it sits on the baseline and gets no space around it.
Dots over letters
\dot{x} and \ddot{x} are accents used for time derivatives in physics. amsmath adds \dddot and \ddddot for third and fourth derivatives. They are meant for single letters; over a group the dot is simply centered.
Dots in text
\ldots also works outside math and gives a properly spaced ellipsis … in a sentence. For a raised dot in text use \textperiodcentered, and for a bullet \textbullet; for bullet points in a list use the itemize environment instead.
Common mistakes
Three typed periods are spaced too tightly and are not treated as one ellipsis.
Instead ofa_1, a_2, ..., a_nWritea_1, a_2, \ldots, a_nBetween operators the dots should be centered on the math axis, level with the + signs.
Instead ofa_1 + a_2 + \ldots + a_nWritea_1 + a_2 + \cdots + a_nA period is punctuation on the baseline; the product dot is
\cdot.Instead ofu . vWriteu \cdot v\dotputs one dot centered over the whole group, which does not mean the derivative of xy.Instead of\dot{xy}Write\dot{x}\dot{y} or \frac{d}{dt}(xy)
In Overleaf, MathJax and Word
Overleaf and pdfLaTeX
\cdot,\ldots,\cdots,\vdots,\ddots,\dot,\ddotand\bulletare built in;\dots,\dotsc,\dotsb,\dddotand\ddddotneed amsmath.MathJax and KaTeX
MathJax and KaTeX support all of the math-mode dots above, including the amsmath variants.
Microsoft Word
Write the formula here and use Copy for Word; ellipses and dot accents paste as part of an editable Word equation.
Dots and ellipses in LaTeX: questions
- How do I type a dot in LaTeX?
- For a centered multiplication dot use
\cdot. For a dot over a letter use\dot{x}. A normal period is just.. - How do I write three dots?
- Use
\ldotsbetween commas (1, 2, …, n) and\cdotsbetween operators (1 + ⋯ + n). With amsmath,\dotspicks one for you. - How do I put a dot over a letter?
- Use
\dot{x}in math mode;\ddot{x}gives two dots. In text,\.{o}gives ȯ. - How do I write a bullet point?
- For a list use
\begin{itemize} \item … \end{itemize}. For a single bullet symbol use\bulletin math or\textbulletin text.
Related LaTeX reference
- Dot Product in LaTeX\cdot between vectors, bold or arrow notation, ⟨u, v⟩ with \langle and \rangle, and the usual dot product formulas.
- Multiplication Symbol in LaTeX\times, \cdot, \ast and \div, when each is used, and how to write scientific notation and products.
- Bullet Points in LaTeXitemize for bullet points, enumerate for numbered lists, description for terms, plus nesting, custom bullets and spacing.
- LaTeX equation editorSymbol panel, live preview, and PNG, SVG, MathML or Word export.
- All LaTeX reference pagesSymbols, math structures and text formatting in one list.
Have the formula as a picture?
Paste a screenshot or photo of the equation and get its LaTeX, ready to copy or open in the editor.
Convert an image to LaTeX