2
$\begingroup$

This is the formula that shall be achieved:

enter image description here

The code from TeX:

 \underbracket[0.5pt][5.pt]{78\,255\,300,00}_{10\text{ zählende Ziffern}} \\[10pt]
 0,000\,\!\!\!\!\!\!\!\!\underbracket[0.5pt][5.pt]{420\,800}_{6\text{zählende Ziffern}}

With Mathjax it does not work, obviously underbracket is not available.

If you propose a solution, please try to focus on the basic mathjax, not plugins. Thank you for your help.

$\endgroup$
9
  • 5
    $\begingroup$ How about using \underbrace? $\endgroup$ May 17 '16 at 11:56
  • 3
    $\begingroup$ Is this a question about usage on this site? If it is a general MathJax question this site is not the right one to ask about it. $\endgroup$
    – quid Mod
    May 17 '16 at 12:24
  • 3
    $\begingroup$ To add to @quid: it's relatively easy to add a macro for \underbracket to your own site but it's hard to do so on math.SE (since it requires deeper hooks into MathJax that \newcommand etc do not expose). $\endgroup$ May 17 '16 at 13:54
  • $\begingroup$ @quid: I wanted to ask on math.stackexchange.com but there is no mathjax tag. $\endgroup$
    – Avatar
    May 17 '16 at 16:23
  • 4
    $\begingroup$ It is good you did not ask on math.stackexchange.com, as it would be very off topic there. If anything you might ask it on Stack Overflow, which has MathJax tag stackoverflow.com/questions/tagged/mathjax I am not certain about this though. Maybe @PeterKrautzberger knows. $\endgroup$
    – quid Mod
    May 17 '16 at 17:34
  • 1
    $\begingroup$ TeX.SE has a MathJax tag; that's probably the best place to ask this. $\endgroup$
    – DylanSp
    May 17 '16 at 20:20
  • 3
    $\begingroup$ @DylanSp no it's not. MathJax is by and large off-topic on TeX - LaTeX site. $\endgroup$
    – quid Mod
    May 18 '16 at 8:09
  • 1
    $\begingroup$ @quid: Per the mathjax tag wiki on TeX.SE, and the linked meta post(s), I believe this specific type of question (i.e. how to achieve something using the limited subset of (La)TeX available in MathJax) would be considered marginally on-topic there. Questions about installing and configuring MathJax on a website would be off-topic, however. $\endgroup$ May 18 '16 at 14:35
  • $\begingroup$ @IlmariKaronen I do not claim expertise on the OT of that site yet these three recent examples seem somewhat like the question here; closed1, closed2, closed3 (Meybe the second is a bit different, but still.) $\endgroup$
    – quid Mod
    May 18 '16 at 20:02
4
$\begingroup$

You can do it on math.SE via the command:

\mathop{\underset{\mmlToken{mo}{⎵}}{78\,255\,300,00}}\limits_{10\text{ zählende Ziffern}}

which produces

$$\mathop{\underset{\mmlToken{mo}{⎵}}{78\,255\,300,00}}\limits_{10\text{ zählende Ziffern}}$$

though the vertical spacing is somewhat wider than you probably want.

$\endgroup$
2
  • 1
    $\begingroup$ Thanks a lot. Second example is then: $$ \mathop{\text{0,000} \underset{\mmlToken{mo}{⎵}}{420800}}\limits_{\text{ 6 zählende Ziffern}} $$ $\endgroup$
    – Avatar
    May 18 '16 at 14:55
  • $\begingroup$ I might use 0,000\,\mathop{\underset{\mmlToken{mo}{⎵}}{420\,800}}\limits_{\hskip-2em 6\text{ zählende Ziffern}\hskip-2em} to get more like your original instead: $$0,000\,\mathop{\underset{\mmlToken{mo}{⎵}}{420\,800}}\limits_{\hskip-2em 6\text{ zählende Ziffern}\hskip-2em}$$ though this does mean the expression sticks out on the right. That may or may not be a problem. $\endgroup$ May 18 '16 at 18:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .