bug-texinfo
[Top][All Lists]
Advanced

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

configure mathjax for less common commands and text in math


From: Patrice Dumas
Subject: configure mathjax for less common commands and text in math
Date: Thu, 20 Jan 2022 19:56:15 +0100

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.

Those constructs are ok when in a LaTeX document with preamble

\documentclass{book}
\usepackage{imakeidx}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage[gen]{eurosym}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage{graphicx}
\usepackage{needspace}
\usepackage{etoolbox}
\usepackage{array}
\usepackage{mdframed}
\usepackage{enumitem}
\usepackage{titleps}
\usepackage{float}
% use hidelinks to remove boxes around links to be similar with Texinfo TeX
\usepackage[hidelinks]{hyperref}
\usepackage[utf8]{inputenc}

(as a side note, these is some LaTeX used to format some Texinfo
@-commands, but it does not matter, users may want to use those commands
in @math/@displaymath in any case).

-- 
Pat



reply via email to

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