[XeTeX] escaping the pipe
Herbert Schulz
herbs at wideopenwest.com
Wed Mar 3 03:05:51 CET 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texshop_image.pdf
Type: application/pdf
Size: 7604 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100302/2d5fdf9e/attachment-0001.pdf>
-------------- next part --------------
(I don't have DejaVu Sans Mono).
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the XeTeX
mailing list