[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure mathjax for less common commands and text in math
From: |
Patrice Dumas |
Subject: |
Re: configure mathjax for less common commands and text in math |
Date: |
Thu, 27 Jan 2022 13:57:22 +0100 |
On Fri, Jan 21, 2022 at 01:23:14PM -0800, Raymond Toy wrote:
> On Thu, Jan 20, 2022 at 3:01 PM Patrice Dumas <pertusus@free.fr> wrote:
>
> > Hello,
> >
> > There are some constructs that are not correctly formatted by mathjax,
> > uncommon commands that can be in math and other constructs, for
> > instance:
> >
> > \mathord{\text{\l{}}} \textsl{\c{\'{C}}} \copyright{} \mathsterling{}
> >
> > Does anybody knows how to get those to work? I tried to load amsmath
> > using the ams package for mathjax, but it didn't change anything and I
> > think that it is already loaded.
> >
>
> I didn't try this, but according to
> https://docs.mathjax.org/en/latest/search.html?q=mathsterling&check_keywords=yes&area=default#,
> Mathjax 3 doesn't support mathsterling. It does support mathord, though.
Ok. I guess that it supports mathord, but not \text{\l{}} in argument
to \mathord, which is somewhat expected, as \text{} can be anything
LaTeX accepts in text, but mathjax needs to be able to convert to svg,
so it makes sense to concentrate on true math.
I guess that there is nothing that can be done, except to make sure that
with --enable-encoding set characters are directly output encoded.
--
Pat