i'm working on a presentation using a Mathematica notebook. I'd like to hide the code i wrote.
I found this answer and red this guide.
After 7 years from that first answer that hacky method is still the way to go?
What i am trying to do, to be clear is, given this code:
A = {
{1, 1, 1, 1, 0, 0, 0},
{1, 0, 0, 0, 1, 0, 0},
{0, 0, 1, 0, 0, 1, 0},
{0, 3, 1, 0, 0, 0, 1}
};
b = {4, 2, 3, 6};
Print[StringForm["A = ``", MatrixForm[A]]];
Print[StringForm["b = ``", MatrixForm[b]]];
Print[StringForm["``x = ``", MatrixForm[A], MatrixForm[b]]];
Show only the output from the 3 Print.



Format | Screen Environmentmenu, and you could also add a hot key to switch. – Carl Woll Feb 12 '21 at 21:40