[Top][All Lists]

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

Re: [help-texinfo] Inserting Code Sample

From: smc
Subject: Re: [help-texinfo] Inserting Code Sample
Date: Fri, 29 Apr 2011 20:59:42 +0100

2011/4/29, Kip Warner

> Hey list
> What is the recommended method of inserting some multiline code samples
> into texinfo? They should be displayed in fixed width, presumably.

What you want is called "environment" in TeX/Texinfo idiom.  The commands
for environments are well explained in the Manual, in the chapter "Quotations
and Examples".

> multiple lines of code that may have @ signs in them, texinfo

If you do not want the @ signs doing character substitutions, perhaps your
choise would be the "@verbatim" environment.


reply via email to

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