I tried the solutions given in How do I remove the little × that shows up in the frontend when typing? and Getting rid of the horrible Times x in Mathematica 12.3.

They work for standard expressions: no little x shows up any more. But for Inactivated expressions the little x still shows up. How to remove the little x in this case as well?


example of inactivated code in which the little x for times still appears

it looks like Inactivate prevents formatting settings to be applied as well. So I need a way to override this.

Using V 13.0 on windows 10

  • $\begingroup$ it's really annoying! Try Inactive[Sin][2 x] $\endgroup$
    – rmw
    Dec 27, 2021 at 13:55
  • $\begingroup$ Yes, it works now. But this will not work for large inactivate expression when I have many things inside it. I can't really change it this way. For example Inactivate[Integrate[Sin[2 x], x]] The Sin[2*x] was a simple example. $\endgroup$
    – Nasser
    Dec 27, 2021 at 14:02
  • 2
    $\begingroup$ Or perhaps activating only multiplication: Activate[Inactivate[Integrate[Sin[2 x], x]], Times]. $\endgroup$
    – Domen
    Dec 27, 2021 at 14:11
  • 2
    $\begingroup$ Why not? Inactivate[Sin[2*x], Except[Times]]? $\endgroup$
    – chuy
    Dec 27, 2021 at 15:13
  • 3
    $\begingroup$ In Mathematica Preferences | Appearance | Formatting | Multiplication you can select the symbol used from {Space, Center Dot, *, x} $\endgroup$
    – Bob Hanlon
    Dec 27, 2021 at 15:45

1 Answer 1


Method 1 – Activate Times

Activate[Inactivate[Integrate[Sin[2 x], x]], Times]

Method 2 – Change the behaviour of TagBox

I am not completely sure this is the right way to change the behaviour of boxes, but it does the job.

TagBox["\[Times]", "InactiveToken", __] = "";

Inactivate[Integrate[Sin[2 x], x]]

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.