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.

8 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
  5. I am reaally inspireed along with your writing abilities and also with the layout in your
    weblog. Is that this a paid topic or did you customize it your self?
    Anyway stay up the excellent quality writing, it is rare to
    peer a nice weblog like this one these days..

    ReplyDelete
  6. Thank you so much! I was really puzzled why neither * nor \* works for me with TexShop and even the latest The Comprehensive Latex Symbol List doesn't mention anything. \** works. Maybe it's just TexShop.

    ReplyDelete