Executing the Input command produces a function call.
By using additional commands from the Layout Constructors package a nested function call can be produced which represents an entire worksheet.
That XML representation of a worksheet can be inserted directly.
Some text.
Text can also surround inlined typeset 2D Math expressions.
The sum of the first n positive integers is equal to
A Textfield within an input region can also contain objects such as a plot or a table constructed respectively by the InlinePlot or Table constructors.
The next example illustrates using 2-D Math input with an executable statement, accompanied by the corresponding output.
The next example uses multiple lines of input, which can be a mix of text and math.
This is a first line of text.
This is a second line of text.