Re: using verbatim
- From: Enrico Gregorio <gregorio@xxxxxxxxxxxxx>
- Date: Mon, 28 Nov 2005 18:25:18 +0100
Paminu <jadajada@xxxxxxx> wrote:
> I have this in a .tex file:
>
> http://photos1.blogger.com/blogger/3626/1346/1600/verbatim1.jpg
>
> But when I compile it I get this:
>
> http://photos1.blogger.com/blogger/3626/1346/1600/verbatim2.jpg
>
>
> For some reason the comments are not aligned beneath each other as in
> the .tex file. How do I make something look exactly like in my .tex file?
> And why do the compiled verbatim segment look different??
You are using tabs instead of spaces. A tab is just the same
as a normal space, in the LaTeX kernel verbatim environment
(and it appears to be ignored at the start of a line).
Use the package verbatim or, better, listings.
Ciao
Enrico
.
- References:
- using verbatim
- From: Paminu
- using verbatim
- Prev by Date: Re: centering data in tables
- Next by Date: Included .esp picture to PDF file??
- Previous by thread: Re: using verbatim
- Next by thread: centering data in tables
- Index(es):
Relevant Pages
|