On Wed, Feb 26, 2003 at 02:24:45AM -0800, Jeremy C. Reed wrote: > I am trying to figure out how to include performatted text. > I have been using LaTeX like: > > \begin{verbatim} > > % setenv BLOCKSIZE 1M > > % swapinfo Device 1M-blocks Used Avail Capacity Type > > /dev/da0b 2047 0 2047 0% Interleaved > > \end{verbatim} > > > But it doesn't preserve the formatting that uses spaces or tabs. (For > example, the "Capacity" and the "0%" should be lined up above.)
You are wrong: verbatim preserves spaces (but it doesn't preserve tabs). Why do you need it anyway? You can type the text using the LyX-code layout. If you want a verbatim latex environment that preserves tabs, use the moreverb package.