[XeTeX] Using the Unicode prime character (Was re. Single glyphs from a font)
Herbert Schulz
herbs at wideopenwest.com
Wed Jun 10 02:31:00 CEST 2009
On Jun 9, 2009, at 6:24 PM, Ross Moore wrote:
> Hi Joel,
>
> On 10/06/2009, at 8:13 AM, Joel C. Salomon wrote:
>
>> Ross Moore wrote:
>>> There is a discussion of these "pseudo-script" characters also
>>> taking place on a MathML-related list.
>
>> Can you point me to that discussion?
>
> http://lists.w3.org/Archives/Public/www-math/
>
>>
>>>> The Unicode prime character is already at the correct size and
>>>> position.
>>>> Try $\prime{}'$ and you’ll see that the second one is shifted up
>>>> by some
>>>> amount. (With $\prime'$ it’s even worse.)
>>>
>>> I don't see a difference in the placement. (see attached image)
>>
>> Here’s my code; picture is attached.
>
> OK. I made the image as it would be without rebinding \prime
> (hence with CM fonts for the prime symbol).
> Here is the corresponding thing, using that rebinding.
>
> <Picture 10.png>
>
> Not that multiple primes work using $f''''$
> or (equivalently) $f^{\prime\prime\prime\prime}$.
> But maybe these primes are a bit small.
> With my Unicode patch $f\prime\prime\prime\prime$ looks good too.
>
> That is the effect that you want?
> Then try the following extension to my previous patch, which
> simply removes the ^ from the expansion of ' when active:
>
> \makeatletter
> \UnicodeMathSymbol{"02032}{\prime}{\mathord}{prime}%
> \let\prime ′
> {\catcode`\' \active
> \gdef '{\bgroup\prim at s}}
> \makeatother
>
> There's in fact no need for any changes to \prim at s , etc.
>
>> —Joel Salomon
>
>
> Cheers,
>
> Ross
Howdy,
Is
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Picture 10.png
Type: image/png
Size: 12345 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20090609/a281b380/attachment.png>
-------------- next part --------------
really supposed to be wrong? It's what I'd expect.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the XeTeX
mailing list