[Top][All Lists]

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

Re: [AUCTeX-devel] Bug#624735: Displays \it with an italic '\'

From: Josh Triplett
Subject: Re: [AUCTeX-devel] Bug#624735: Displays \it with an italic '\'
Date: Mon, 9 May 2011 23:45:53 -0700
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, May 09, 2011 at 10:15:45PM +0200, Ralf Angeli wrote:
> * Josh Triplett (2011-05-09) writes:
> > On Mon, May 09, 2011 at 09:40:39PM +0200, Ralf Angeli wrote:
> >> 
> >> I'd say yes.  Fontifying the whole macro looks more consistent to me
> >> than fontifying only the part after the backslash.
> >
> > Doing so makes the '\' look like a '|'.
> I'm using DejaVu Sans Mono with a size of 17 pixels here and the two
> characters can be distinguished easily.  Maybe the font you are using is
> suboptimal?

DejaVu Sans Mono here as well.  I can distinguish the characters, but I
wouldn't say "easily"; it takes staring at the unusual-looking italic
'\' more than once. :)

> Also, in which context or use case would it be a big problem if the
> characters where not easily distinguishable?

In my case, I encountered this problem when staring at a complex TeX
macro, which ran several commands in a row, along the lines of
\foo\it\bar\baz.  The italic '\' characters caused by the formatting of
\it caused me quite a bit of confusion when trying to decipher it, until
I figured out that they really did represent backslashes.  It took me
some time to parse the \it in the first place, since I didn't see the
characteristic '\'.

- Josh Triplett

reply via email to

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