# How to write N x N (with a multiplication symbol, for matrix dimensions)?

I need to write something like NxN in LaTeX but I do not get how... How to do such thing?

• $N\times N$ or what do you mean? – user2478 Apr 6 '11 at 10:47
• Please make sure to accept the final solution, so that the question is marked as complete. I don't mind if Herbert posts his comment as an answer and you accept it. He was a little faster than me. – Martin Scharrer Apr 6 '11 at 10:52
• Have a look at “How to look up a math symbol?” for ideas how you can easily find a particular symbol. – Caramdir Apr 6 '11 at 16:07
• You can try detexify, it's very valuable for me, I am also a LaTeX beginner. You just draw on it and it gives you the LaTeX command for the symbol. – Mobius Pizza Mar 7 '12 at 14:20
• If you want to reduce space between \times operator and its operands, you may use: $\medmuskip=0mu 3\times3$ within text, as outlined by tex.stackexchange.com/questions/41913/… – math Mar 16 '14 at 13:49

The x is done by \times. It must be used in mathmode:

$3\times4$

$N\times N$

• Is there an equivalent for text mode? – Khalid Hussain Dec 7 '18 at 20:23
• You can use \texttimes – Tomi Jan 4 '19 at 0:42
• @KhalidHussain: In text mode just write $\times$, but the numbers should be typeset in math mode as well, as it is done above in the answer post. – Martin Scharrer Jan 4 '19 at 7:53
• @MartinScharrer how do you achieve the dot for multiplication sign instead of x? – Shimmy Weitzhandler Jan 14 '19 at 4:44
• Answering to Shimmy's comment: you might be looking for \cdot. – Eerik Sven Puudist Apr 23 at 12:11