0
$\begingroup$

I want to perform a traditional output for integrates using a new function that I called HInt:

HInt[f_, {x_, x1_, x2_}] := Subscript["∫", x1]^x2 "\[DoubleStruckD]" x

When I put HInt[f, {x, 0, 1}], I have this output:

enter image description here

What I have to do to get this output?

enter image description here

It seems that the integrate symbol is less my symbol and the number one disappear

$\endgroup$
  • 1
    $\begingroup$ You are looking for Subsuperscript. But please try to understand the answer linked to your last question. It shows a proper way to define own 2D output notation. Now you have a multiplication of few expressions which will bite you soon. $\endgroup$ – Kuba Jan 23 '19 at 20:20
  • $\begingroup$ Thanks @Kuba... $\endgroup$ – Mateus Jan 23 '19 at 20:30
  • $\begingroup$ Take a look at youtube.com/watch?v=zy6-RU6ZAX4 $\endgroup$ – Kuba Jan 23 '19 at 20:37
  • $\begingroup$ If you just want the typeset output given in your second example, you could use: Integrate[f, {x, 0, 1}] // HoldForm // TraditionalForm $\endgroup$ – theorist Feb 2 '19 at 0:12