# How can I format an output cell of text?

**URL:** <https://community.wolfram.com/t/how-can-i-format-an-output-cell-of-text/2598>\
**Category:** Questions\
**Tags:** mathematica, ui-ux-and-ide\
**Created:** [July 10, 2014, 3:58pm UTC](https://community.wolfram.com/t/how-can-i-format-an-output-cell-of-text/2598 "2014-07-10T15:58:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mluntz](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@mluntz](https://community.wolfram.com/u/mluntz)\
**Post date:** [July 10, 2014, 3:58pm UTC](https://community.wolfram.com/t/how-can-i-format-an-output-cell-of-text/2598/1 "2014-07-10T15:58:41Z")

</div>

This is my first post so I apologize if I am not following all the recommendations for posting. I would like to insert some computed results in an output cell so that I can use the notebook as a memo explaining results. I have figured out most of how to do that, but if the output cell is longer than a single line then the second and subsequent lines are indented. I suppose that I can add spaces at the beginning of the first line to indent it as well, but is there a better way to force these lines to be left justified? When generating the document the input cells 19 and 24 would be closed so that only output cell 24 and the result definitions would be visible.

Since I can’t seem to reproduce the exact output format in this post I have attached a picture of the example.

 ![Capture.PNG](https://global.discourse-cdn.com/wolfram/original/3X/2/4/24bc0a289882e1a818a4e4c2d1863e6a5c94ee96.png)

---

<div class="post-metadata">

**Author:** ![dreiss](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/dreiss/32/29094_2.png) [@dreiss](https://community.wolfram.com/u/dreiss)\
**Post date:** [July 10, 2014, 5:26pm UTC](https://community.wolfram.com/t/how-can-i-format-an-output-cell-of-text/2598/2 "2014-07-10T17:26:06Z")

</div>

Try something along these lines:

```
text1 = "This is some text. ";  

text2 = "And this is some more text. ";  

text3 = "And this is a bunch more text that it longer than the other text because I want it to be longer.";  

TextCell[text1 <> text2 <> text3, "Text"]

```

---

<div class="post-metadata">

**Author:** ![mluntz](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@mluntz](https://community.wolfram.com/u/mluntz)\
**Post date:** [July 10, 2014, 6:14pm UTC](https://community.wolfram.com/t/how-can-i-format-an-output-cell-of-text/2598/3 "2014-07-10T18:14:43Z")

</div>

Many thanks David. The use of TextCell did the trick.
