How do you type an asterisk(*) in LaTeX?

The Asterisk symbol is denoted by the command \ast.  Same symbol is on your keyboard, but it has two different uses.

Symbol Asterisk
Type of symbol Mathematics
Package No
Argument No
Latex command \ast
Example \ast → *
   \[ C\ast de \]
   \[ C*de \]
   \[ G\ast\ast d \]
   \[ G**d \]

Output :

Use of asterisk symbol in text mode output.

At the same time, we use two asterisk symbols in pairs in different words. If you look at the output above you will understand that there is a space-related problem.

Which is shown in the following code.

   $ G\ast\ast\; d $\\[6pt]
   G $\ast\;\ast$ d \\[6pt]
   G $*\;*$ d \\[6pt]
   B $*\;*$ k

Output :

Use of asterisk symbol in better way output.

Big asterisk symbol in LaTeX

\bigast command is not the default. For this, you need to take the help of mathabx package.

   \[ f(\bigast)g \]
   \[ f\bigast_b^a g \]

Output :

Use of big asterisk symbol output.

Use asterisk symbol in Superscript in LaTeX

If you use this symbol from the keyboard in direct text mode, the asterisk symbol will act as a superscript.

And you will need to manually complete the same task using the command.

   $ q=b_1b_2\; \epsilon\; \mathbb{Z}^\ast $ \\[6pt]
   $q=b_1b_2\; \epsilon\; \mathbb{Z}$* \\[6pt]
   A * * D

Output :

Use of asterisk in superscript output.

Asterisk symbols of different styles

Below are a variety of styled asterisk symbols represented in a latex document using the bbding and pifont packages.

   % Use bbding package
   \SixFlowerOpenCenter, \SixFlowerPetalRemoved, \Asterisk\\[6pt]
   \AsteriskBold, \AsteriskCenterOpen, \AsteriskRoundedEnds \\[6pt]
   \AsteriskThin, \AsteriskThinCenterOpen, \SixFlowerRemovedOpenPetal\\[6pt]
   % Use pifont package
   \ding{81}, \ding{82}, \ding{83}\\[6pt]
   \ding{91}, \ding{92}, \ding{93}\\[6pt]

Output :

Many type of asterisk symbol output.

Md Jidan Mondal

LaTeX expert with over 10 years of experience in document preparation and typesetting. Specializes in creating professional documents, reports, and presentations using LaTeX.

Leave a Comment

Your email address will not be published. Required fields are marked *