[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Math styles

From: Hans Åberg
Subject: Re: Math styles
Date: Sat, 27 May 2017 22:00:56 +0200

> On 27 May 2017, at 21:38, Gavin Smith <address@hidden> wrote:
> On Fri, May 26, 2017 at 08:43:36PM +0200, Hans Åberg wrote:
>> and they do not show, as they are Unicode mathematical styles. The 
>> same problem as before.
> For the record, when you talk about "mathematical styles", I believe you
> are referring to characters in the "Mathematical Alphanumeric Symbols"
> block of Unicode (codepoints U+1D400-U+1D7FF).


> https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols

This is a good resource, because they are not contiguous in Unicode code 
points, for legacy reasons.

I have processed them in different formats, latest, Flex rules.

> It's confusing to call these characters "styles".

I prefer to call them mathematical semantic styles, but it is rather long.

> I don't see a need to have special support for all these characters in 
> texinfo.tex.  If you can get it to work with your LuaTeX hacks, fine.

The problem is that I can't. It would ideal if you could include them or 
certain ranges, as they are pretty numerous, the styles are more than a 

> Have you considered using LaTeX instead?

I switched to ConTeXt, as the LaTeX unicode-math package was insufficient.

One problem is that TeX translates ASCII in math mode to math italic, whereas 
Unicode unifies it with math upright (normal), and similarly for Greek.

It ConTeXt, I got the extension (and you might test the different fonts):



\setupmathematics[integral=nolimits, lcgreek=normal, default=normal]

Then all math characters are as is, though one must remember to write italic 
for variables. But having tried this for some time now, it works fine:

MacOS has a text system that translates, according to your choice, character 
sequences to another. Perhaps originally developed as an input method for 

But using a program, I can easily make translations for all one thousand plus 
math style characters, though not all work, due to a buggy implementation of 
the MacOS translation system.

One example of what one can do in latest LuaTeX, is:
  \letcharcode `∫ \int
  \letcharcode `∬ \iint
  \letcharcode `∭ \iiint
  \letcharcode `⨌ \undefined
\to \everymathematics

Then those symbols can be used to expand to math operator commands. Here there 
pops a symbol, the quadruple integral, not in original TeX. Perhaps not much 
used, but it illustrates the problem of catching all Unicode symbols.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]