[luatex] Fractions with custom glyph as rule

Hans Hagen j.hagen at xs4all.nl
Sat Aug 24 19:09:54 CEST 2024


On 8/24/2024 2:10 AM, Julius Ross wrote:
> Hi,
> I see in the LuaTeX the \Uoverdelimiter and \Uunderdelimiter commands.  
> Is there a sensible/peferred way to create a mathematics fraction that 
> uses a particular glyph for the horizontal rule between the numerator 
> and denominator?
> 
> (to be clear I am looking for a command that acts like \frac{a}{b} not 
> like the a/b that one can get with \Uskewed)
> 
> Thanks in advance!
Fractions are (tex) rule based. Using glyphs instead is possible in 
luametatex (delimiter based), also for other constructs like radicals, 
but then one also has to set up the fonts and add quite a bit of code 
all over the place.

These kind of features are supported by ConTeXt so not that relevant for 
this list. Adding features like this to LuaTeX is too tricky as it might 
(temporary) break something out of our scope (which is why luatex is 
basically frozen).

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the luatex mailing list.