TransWikia.com

How to put an equation into an input prompt

Mathematica Asked on January 22, 2021

I would like to know how I could put an equation into an input prompt displaying this equation in traditional form. Better an example:
I can't display an equation into a box message

My objective is that the input box displays the equation instead of the code.

Thanks in advance.

2 Answers

I have found a solution:

Input["Please input a statistic. For example " TraditionalForm[equation]]

displaying an equation

Thanks

Correct answer by Pcouper on January 22, 2021

MaTeX also works well.

<<MaTeX`

Input["Please input a statistic. For example " MaTeX[Defer@Integrate[x, x]]]

enter image description here

Answered by wuyudi on January 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP