help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Suppressing indentation in a texinfo file


From: Yuri Khan
Subject: Re: Suppressing indentation in a texinfo file
Date: Sun, 19 Jun 2016 12:39:08 +0600

On Sun, Jun 19, 2016 at 5:19 AM, Davin Pearson <davin.pearson@gmail.com> wrote:
> The @example environment doesn't fontify italics text in a proper italics
> font.
>
> Instead it fontifies italics text in courier + italics.
>
> This is not as pretty as my code without using the @example environment.

Prettiness is in the eye of the beholder. Markup should capture the
semantics, not presentation.

The fragment you gave does not contain anything I might imagine
italicized in a code listing, so I have to guess. Is it comments?

The Texinfo manual gives this example:

    @lisp
    (+ 2 2)    ; @r{Add two plus two.}
    @end lisp

By adding @i to the @r, you might be able to achieve your personal
definition of prettiness.



reply via email to

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