0
$\begingroup$

I'm trying to build a custom interface using Mathematica and I want to write something inside a textfield with a subscript, however, when I run the GUI, I see boxes on the places where there should be the subscripted text, for exemple: if I do "text"$\rightarrow$"$R_1$", I get things like this:

enter image description here

How can I solve it?

$\endgroup$
  • 1
    $\begingroup$ Are you using GUIKit? This is already deprecated. $\endgroup$ – J. M. is away Aug 8 '17 at 17:39
  • 1
    $\begingroup$ The only text strings you can use in GUIKit are strings that Java can accept. Therefore, Mathematica Subscript calls can not be used. This may be one of the reasons GUIKit has been abandoned. $\endgroup$ – m_goldberg Aug 8 '17 at 19:04
  • $\begingroup$ Oh! I didn't know that! Is there any other way of doing graphic interfaces like the one I showed before, with mathematica? $\endgroup$ – RicardoP Aug 8 '17 at 19:57
  • 1
    $\begingroup$ @RicardoP take a look at CreateDialog, InputField and in general guide/CustomInterfaceConstruction $\endgroup$ – Kuba Aug 8 '17 at 20:33
  • 1
    $\begingroup$ I'm using version 11.1.1. I thought that manipulate was used for dynamic plotting $\endgroup$ – RicardoP Aug 9 '17 at 9:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.