I have the following bit of text that I want to show :

A =

 9    -8     7
 6    -5    -4
 3    -2     1

I want to show it exactly as it is, i.e. no formatting.

Currently it shows :


I assume there is an environment that avoids any formatting but I've been unable to find it.

(I don't want to create a matrix in the math environment, because that's log that I want to show as it is.)


I would suggest that you parse the log file so that you may typeset it as a proper matrix.

Anyway, if you don't want to do any formatting you can use the environment verbatim.



A =

 9    -8     7
 6    -5    -4
 3    -2     1



  • You don't need the verbatim package for this. – Werner Oct 12 '11 at 16:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.