1
$\begingroup$

I just have discovered that it is possible to incorporate calculation in a text cell (you can create a text cell by typing Alt+7) by highlighting the formula and typing Ctrl+Shilt+Enter, but in the following case the output is a ugly InputForm result. How can I get a good-looking 2D expression as the output?

enter image description here

Here is the formula

 \!\( \*SubsuperscriptBox[\(∫\), \(0\), \(t\)]\( \*SuperscriptBox[\(E\), \(\(-\ ρ\)\ s\)] \[DifferentialD]s\)\) 
$\endgroup$
5
  • 1
    $\begingroup$ With your example, I get a neatly formatted result. Your result is in InputForm. I don't know why. You may be able to use the Cell > Convert To menu to get a better result. $\endgroup$ Commented Jul 11, 2016 at 20:08
  • $\begingroup$ Whatever I do I have the same result $\endgroup$ Commented Jul 11, 2016 at 20:14
  • 1
    $\begingroup$ The picture is fine but I recommend to also include the Mathematica code to make life easy on those would help. $\endgroup$ Commented Jul 11, 2016 at 22:17
  • $\begingroup$ I also get a formated result. However you might try to add //TraditionalForm after your integral expression. $\endgroup$ Commented Dec 20, 2016 at 12:24
  • $\begingroup$ @AlexeiBoulbitch This issue seems only to happen on a code piece inside a text cell. I've tried to edit the question to clarify. $\endgroup$ Commented Dec 20, 2016 at 12:48

1 Answer 1

2
$\begingroup$

Interesting. It turns out to be necessary to highlight the code after the cursor is moved into the embedded cell. Notice when the cursor is inside the embedded cell, the background is colored:

enter image description here

$\endgroup$

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.