[Top][All Lists]

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

Re: [help-texinfo] Defining new environments?

From: Gavin Smith
Subject: Re: [help-texinfo] Defining new environments?
Date: Wed, 20 Jan 2016 07:09:31 +0000

On 19 January 2016 at 23:50, Karl Berry <address@hidden> wrote:
>     @indentedblock
>     @verbatim
>     @end verbatim
>     @end indentedblock
> How about either using @example (already indented), or indenting your
> verbatim text if you want indented?  That is the intention behind those
> environments.

I agree it's better to use commands for their intended purposes.

> There's no way to define new environments specifically, but perhaps
> @macro could do an equivalent job.  Not that I ever recommend using
> @macro.

@macro VerbatimBlock
@end macro


@macro EndVerbatimBlock
@end verbatim
@end indentedblock
@end macro



may work. This used not to work at all with the implementation in TeX,
but may work now.

reply via email to

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