lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lilypond ./ChangeLog Documentation/user/lilypon...


From: Werner LEMBERG
Subject: Re: lilypond ./ChangeLog Documentation/user/lilypon...
Date: Sat, 06 Nov 2004 00:16:32 +0100 (CET)

> > +  . To get consistent indentation in the DVI output it is better
> > +    to avoid the @verbatim environment.  Use the @example
> > +    environment instead if possible, but without extraneous
> > +    indentation.  [...]
>
> can you elaborate? What's inconsistent about verbatim vs. example?

See below and the attached PDF file.


    Werner


======================================================================

\input texinfo

@setfilename example-verbatim

@node example vs. verbatim,,(dir),(dir)
@chapter @code{@@example} vs.@: @code{@@verbatim} environment

Here we compare the indentation of the @code{@@example} and the
@code{@@verbatim} environment.  The latter is indented while the
former isn't, as can be seen in the examples below.

First, a @code{@@verbatim} environment:

@verbatim
This is
a @verbatim environment.
@end verbatim

Now, the @code{@@example} environment:

@example
This is
an @@example environment.
@end example

For consistent appearance, the @code{@@example} environment should be
used if possible.  If @code{@@verbatim} is unavoidable, surround it
with a @code{@@quotation} environment to get the proper indentation:

@quotation
@verbatim
This is
a @verbatim environment.
@end verbatim
@end quotation

@bye

Attachment: example-verbatim.pdf
Description: Adobe PDF document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]