2

I was just trying to ask a question but when I started to paste the equations I got

disp = {u[r, z], w[r, z]};
ddisp = {
\!\(\*SuperscriptBox[\(u\), 
TagBox[
RowBox[{"(", 
RowBox[{"1", ",", "0"}], ")"}],
Derivative],
MultilineFunction->None]\)[r, z], 
\!\(\*SuperscriptBox[\(u\), 
TagBox[
RowBox[{"(", 
RowBox[{"0", ",", "1"}], ")"}],
Derivative],
MultilineFunction->None]\)[r, z], 
\!\(\*SuperscriptBox[\(w\), 
TagBox[
RowBox[{"(", 
RowBox[{"1", ",", "0"}], ")"}],
Derivative],
MultilineFunction->None]\)[r, z], 
\!\(\*SuperscriptBox[\(w\), 
TagBox[
RowBox[{"(", 
RowBox[{"0", ",", "1"}], ")"}],
Derivative],
MultilineFunction->None]\)[r, z]};

Normally I just get a simple equation that is clear to see. The start of this paste is like that. However, it then goes into endless boxes. Have I done something wrong? How do I avoid this? How can I tell if I am about to paste Boxes rather than simple input?

Thanks

3
  • 1
    This seems to be more common for me in version 12 - copying a control-equals box for instance.
    – Carl Lange
    Commented Jun 13, 2019 at 17:47
  • Related/duplicate: mathematica.meta.stackexchange.com/q/1584
    – Michael E2
    Commented Jul 9, 2019 at 15:35
  • As @ CarlLange pointed out, this seems to be a new problem since Mathematica 12, and "Copy as Plain Text" doesn't seem to be a real solution, if the "the code for derivatives is not valid input", as pointed out by @ MichaelE2, so I don't think that this question is settled.
    – rhermans
    Commented Jul 16, 2019 at 12:03

1 Answer 1

2

Use Copy As > PlainText or Ctrl+Shift+C

disp = {u[r, z], w[r, z]};
ddisp = {
(u^(1,0))[r, z], 
(u^(0,1))[r, z], 
(w^(1,0))[r, z], 
(w^(0,1))[r, z]};
1
  • 2
    You probably know this, but one drawback is that the code for derivatives is not valid input.
    – Michael E2
    Commented Jul 9, 2019 at 15:33

You must log in to answer this question.

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