How to Create a Pound Sign in LaTeX

Techwalla may earn compensation through affiliate links in this story. Learn more about our affiliate and product review process here.
LaTeX is used by scientists and engineers to typeset documents containing formulas and mathematical symbols.
Image Credit: Ryan McVay/Photodisc/Getty Images

Depending upon the context in which it is used, the "#" symbol can have different meanings in a LaTeX document. The "#" symbol may represent a "pound" sign, hash mark or a sharp musical note. The LaTeX markup language also uses the "#" character to designate the parameters for macro commands you create. You can instruct LaTeX to print out a special keyboard character like "#" by combining it with the "" or backslash character. Other special characters like the British pound sterling symbol, however, have their own, unique LaTeX command.

Advertisement

Special Character Markup

Video of the Day

To instruct LaTeX to print a keyboard symbol like "#" on paper or within a PDF file, place the "" or backslash symbol immediately before the typed symbol. For example, if "#expert" is your hash tag, type the follow line in your LaTeX document:

Advertisement

Video of the Day

#expert

The command "\pounds" is used to print the special character for the British pound sterling. For example, to print an item's price as 10 pounds, add the following command to your LaTeX document:

Advertisement

\pounds10

Advertisement

Advertisement

references

Report an Issue

screenshot of the current page

Screenshot loading...