Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/70.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 在MathJax中使超横杆更接近数字_Html_Css_Mathjax - Fatal编程技术网

Html 在MathJax中使超横杆更接近数字

Html 在MathJax中使超横杆更接近数字,html,css,mathjax,Html,Css,Mathjax,我正试图将OverwarthOverwarthArrow、overarrow等拉近-我可以使用类似这样的方法来促进垂直对齐: _stringOfHtml++\\\OverwightArrow{\\style{font系列:sans,TeX,Arial,sans serif;垂直对齐:20%}{\\text{+tString++}}\+ 我担心,虽然这可能会导致奇怪的结果-有没有更好的方法来拉近超高的距离 我使用的是自定义字体,所以当MathJax放置时,超横线看起来比预期的要高 谢谢 下面是一些

我正试图将OverwarthOverwarthArrow、overarrow等拉近-我可以使用类似这样的方法来促进垂直对齐:

_stringOfHtml++\\\OverwightArrow{\\style{font系列:sans,TeX,Arial,sans serif;垂直对齐:20%}{\\text{+tString++}}\+

我担心,虽然这可能会导致奇怪的结果-有没有更好的方法来拉近超高的距离

我使用的是自定义字体,所以当MathJax放置时,超横线看起来比预期的要高


谢谢

下面是一些示例的链接-我无法显示live demo-上面列出了垂直校正:然后没有校正-过高:同样,这是使用客户端必须具有的自定义字体。还要注意,在校正版本中,其他字符没有对齐-它们不是MathJax,而是标准html。这又是因为你使用了MathJax不知道的字体,所以它不知道字符有多高,并且假设字符有多高,结果证明不够准确。为了获得更好的效果,请坚持使用MathJax字体之一。如果必须使用非标准字体,请尝试使用\overline{\smash{\style{font family:Arial}{\text{1234}}}}\Rule{0px}{.6em}{0px}\!}。