General ⇒ How to print out '[' and '#' contained in documents
How to print out '[' and '#' contained in documents
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
How to print out '[' and '#' contained in documents
[
shouldn't cause a problem, unless it follows a command that can have an optional argument. The ampersand &
and hash #
are special characters and need to be escaped:Code: Select all
[Q \& P], \#1, \#2, \#3.
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/