How to Write the Centered Dot Symbol (·) in LaTeX

In LaTeX, you can write the centered dot symbol (·) using the \cdot command.

The following examples show how to write the centered dot symbol in LaTeX.

How to Write the Centered Dot Symbol in Text

We can use the \cdot command to write the centered dot symbol in LaTeX document for text.

Suppose we want to write the centered dot symbol in the text.

We can use the following LaTeX code to do so:

\documentclass{article}
\begin{document}

This is an example of using the centered dot symbol \(a \cdot b\) in a sentence.

\end{document}

Output: 👇️

This is an example of using the centered dot symbol a · b in a sentence.

In this example, we use the \cdot command to display the centered dot symbol in the text.

How to Write the Centered Dot Symbol in Mathematical Expressions

For mathematical expressions, we can use the \cdot command to ensure proper formatting.

Suppose we would like to write mathematical expressions that contain the centered dot symbol.

We can use the following LaTeX code to do so:

\documentclass{article}
\begin{document}

An inline mathematical expression: \( a \cdot b \).

A displayed mathematical expression:
\[
a \cdot b = c
\]

\end{document}

Output: 👇️

Centered Dot

In this example, we use the \cdot command to denote the centered dot symbol in both inline and displayed mathematical expressions.

Conclusion

We can use the \cdot command for both text and mathematical expressions. This ensures that the centered dot symbol is properly formatted and displayed in LaTeX document.