Next: , Previous: flushleft & flushright, Up: Quotations and Examples


10.12 @noindent: Omitting Indentation

An example or other inclusion can break a paragraph into segments. Ordinarily, the formatters indent text that follows an example as a new paragraph. You can prevent this on a case-by-case basis by writing @noindent at the beginning of a line, preceding the continuation text. You can also disable indentation for all paragraphs globally with @paragraphindent (see Paragraph Indenting).

It is best to write @noindent on a line by itself, since in most environments, spaces following the command will not be ignored. It's ok to use it at the beginning of a line, with text following, outside of any environment.

For example:

     @example
     This is an example
     @end example
     
     @noindent
     This line is not indented.  As you can see, the
     beginning of the line is fully flush left with the line
     that follows after it.  (This whole example is between
     @code{@@display} and @code{@@end display}.)

produces:

     
          This is an example
     

This line is not indented. As you can see, the beginning of the line is fully flush left with the line that follows after it. (This whole example is between @display and @end display.)

To adjust the number of blank lines properly in the Info file output, remember that the line containing @noindent does not generate a blank line, and neither does the @end example line.

In the Texinfo source file for this manual, each line that says `produces' is preceded by @noindent.

Do not put braces after an @noindent command; they are not necessary, since @noindent is a command used outside of paragraphs (see Command Syntax).