[luatex] New over/under delimiter primitives

Taco Hoekwater taco at elvenkind.com
Fri Nov 26 13:48:44 CET 2010


On 11/26/2010 01:34 PM, Philipp Stephani wrote:
> Hello,
>
> I have a general question about the primitives \Uoverdelimiter,
> \Uunderdelimiter, \Udelimiterover and \Udelimiterunder. ConTeXt seems to use the
> two former in math-ini.lua:
>
> local function mathtopdelimiter(class,family,slot)
>      return format('\\Uoverdelimiter "%X "%X ',0,family,slot) -- no class
> end
> local function mathbotdelimiter(class,family,slot)
>      return format('\\Uunderdelimiter "%X "%X ',0,family,slot) -- no class
> end
>
> where the slot argument is unused?!

The extra ",0" format argument 	was a bug that has since been corrected.

> I also tried to play around with them in plain LuaTeX:
>
> \input luaotfload.sty
> \font\cambria={name:Cambria Math:script=math} at 11pt
> \textfont0=\cambria

This definition is not complete. You also need:

   \font\cambriax={name:Cambria Math:script=math} at 8pt
   \scriptfont0=\cambriax

because "1D44E etc. are not available in cmr7.

Best wishes,
Taco


More information about the luatex mailing list