[XeTeX] adobe garamond font with sort&compress in natbib

Bob Yu tocalert at gmail.com
Tue Oct 28 01:11:26 CET 2008


Great. It works!

Thanks a lot!

Bob

On Mon, Oct 27, 2008 at 7:07 PM, Jonathan Kew <jonathan at jfkew.plus.com>wrote:

> On 28 Oct 2008, at 12:00 AM, Bob Yu wrote:
>
> > Dear all, I am having a problem with Adobe Garamond font. I am using
> > the following command:
> >
> > \setromanfont{Adobe Garamond Pro}
> > \usepackage[numbers,sort&compress]{natbib}
> > \renewcommand{\bibnumfmt}[1]{#1.}
> >
> > However the sort&compress does not come out right. See the attached
> > figure. The line between reference 1-4 is very ugly.
> >
> > Any help will be appreciated!
>
> Looks like you need to apply the tex-text mapping, which converts "--"
> into an en-dash, as is conventional in TeX fonts. Try:
>
>   \setromanfont[Mapping=tex-text]{Adobe Garamond Pro}
>
> (You'll also need this if you use things like ``TeX-style quotes'' and
> dashes---like that---in your text.)
>
> JK
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20081027/8de09196/attachment.html 


More information about the XeTeX mailing list