# character in TeX

Thread Starter

Papabravo

Joined Feb 24, 2006
21,159
I'm having some trouble with TeX
  1. How do I make the hash character?
  2. How do I make an embedded space in an expression?
 

LDC3

Joined Apr 27, 2013
924
The escape character is "\". So to get a space, there are several forms defined, but not all of them are implemented on each processor. The most common space is "\ ", a smaller space is "\;", or is it "\,", or "\.". I don't remember which is which. The hash character should be "\#".
 

Thread Starter

Papabravo

Joined Feb 24, 2006
21,159
The escape character is "\". So to get a space, there are several forms defined, but not all of them are implemented on each processor. The most common space is "\ ", a smaller space is "\;", or is it "\,", or "\.". I don't remember which is which. The hash character should be "\#".
I knew about the escape character, and the reason I asked about the hash symbol is that \# does not work on this board, and I think a hash by itself might be a comment. Try it and see.
Thanks for the heads up on spaces.
 

Thread Starter

Papabravo

Joined Feb 24, 2006
21,159
It's actually the sharp sign from a music key signature.
The better question is why doesn't \# work. Why does it misbehave?
 
Top