no pictures or diagrams were allowed, and, much as i wanted to write "n n " to describe the dimensions of a matrix in my thesis, it had to be "n-by-n".

Please write the text above using proper case.
No pictures or diagrams were allowed, and, much as I wanted to write "n n " to describe the dimensions of a matrix in my thesis, it had to be "n-by-n".