[XeTeX] escaping the pipe

Rembrandt Wolpert wolpert at uark.edu
Wed Mar 3 03:40:45 CET 2010


No problem with Latin Modern Mono either (I haven't got DejaVu Sans Mono
either). Have you tried $|$ for the pipe as a way out?

/rfw


On Tue, Mar 2, 2010 at 20:05, Herbert Schulz <herbs at wideopenwest.com> wrote:

>
> On Mar 2, 2010, at 7:22 PM, maxwell wrote:
>
> > ...
> > I'm using the Deja Vu Sans Mono.  But you're right, with just a plain
> char
> > to the left of the pipe, I'm not getting this.  But I do get the pipe
> > overwriting the previous character if that character consists of a base
> > char + the Unicode combining macron (U+304).  I was so sure that couldn't
> > be the problem that I didn't try it without the macron.
> >
> > So here's a minimal example that results in the pipe over-striking the
> 'a'
> > + macron:
> >
> > \documentclass{article}
> >
> > \usepackage{xltxtra}
> > \setmonofont[Scale=MatchLowercase]{DejaVu Sans Mono}
> >
> > \usepackage{alltt}
> >
> > \begin{document}
> > \begin{alltt}
> > a \{ā|c\} d
> > \end{alltt}
> > \end{document}
> >
> > Hmm, this is showing up oddly in my browser, too.  The characters to the
> > right of the escaped open curly brace are: 'a' 'combining macron' 'pipe'.
> >
> > I just now tried inserting a ZWSP between the macron and the pipe, and
> > things only got worse... guess I'll try some more experiments.
> >
> >   Mike Maxwell
>
> Howdy,
>
> Seems to be font related. When I use Monaco I get
>
>
>
>
> (I don't have DejaVu Sans Mono).
>
> Good Luck,
>
> Herb Schulz
> (herbs at wideopenwest dot com)
>
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>
>


-- 
人有不為也而後可以有為
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100302/96534d26/attachment.html>


More information about the XeTeX mailing list