April 25, 2011

How to produce an asterisk in LaTeX

Strangely I cannot find a document online showing how to produce a single asterisk (*) in LaTeX, except the centered version (by \ast in math environments). Multiple asterisks in a row are fine (**, ***), which are displayed as they are, but if you simply type * or \*, nothing will be displayed in the compiled file. After trial and error (which fortunately didn't last long), I figure out a solution by typing \** (yes, two asterisks) in the normal environment, which produces a single asterisk (*) in normal size and position.

6 comments:

  1. http://ctan.uib.no/info/symbols/comprehensive/symbols-a4.pdf

    ReplyDelete
  2. no need of writing \** just write * wherever you want.

    ReplyDelete
    Replies
    1. But this doesn't work at the beginning of a line!

      Delete
  3. I figure out a solution by simply typing *

    ReplyDelete
  4. This comment has been removed by a blog administrator.

    ReplyDelete