How do I format all the text in a longtable to monospace. Adding \texttt{ before or after the \begin{longtable} and a } at the end gives me a

Runaway argument?
{ \begin {longtable}{lll} 
! Paragraph ended before \text@command was complete.


1 Answer 1


Easiest method:

  • That works fine, but the font size is reset. How can I change the font size in a group environment?
    – Adam
    Commented May 15, 2013 at 8:36
  • \begin{ttfamily} ... \end{ttfamily} also works. Although I don't like it personally.
    – Leo Liu
    Commented May 15, 2013 at 10:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .