# Breaking cell brackets upon insertion of sub-cells

**URL:** <https://community.wolfram.com/t/breaking-cell-brackets-upon-insertion-of-sub-cells/15288>\
**Category:** Questions\
**Tags:** mathematica, computational-notebooks, ui-ux-and-ide\
**Created:** [January 23, 2020, 1:00am UTC](https://community.wolfram.com/t/breaking-cell-brackets-upon-insertion-of-sub-cells/15288 "2020-01-23T01:00:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnson1](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@johnson1](https://community.wolfram.com/u/johnson1)\
**Post date:** [January 23, 2020, 1:00am UTC](https://community.wolfram.com/t/breaking-cell-brackets-upon-insertion-of-sub-cells/15288/1 "2020-01-23T01:00:18Z")

</div>

In recent Mathematica notebooks, if I have a cell with several sub-cells, insertion of a new sub-cell in the middle breaks the outer containing bracket. I can recover by ungrouping and regrouping things, but where can I read about what the intended use of the bracket-breaks is?

---

<div class="post-metadata">

**Author:** ![gianlucagorni](https://avatars.discourse-cdn.com/v4/letter/g/ec9cab/32.png) [@gianlucagorni](https://community.wolfram.com/u/gianlucagorni)\
**Post date:** [January 24, 2020, 8:37am UTC](https://community.wolfram.com/t/breaking-cell-brackets-upon-insertion-of-sub-cells/15288/2 "2020-01-24T08:37:15Z")

</div>

By “breaking a cell”, do you mean that the cell is divided into two lines? If so, you may try the `LineBreakWithin -> False` option, perhaps within a `Style`:

```
Style[mycells, LineBreakWithin -> False]

```

---

<div class="post-metadata">

**Author:** ![johnson1](https://avatars.discourse-cdn.com/v4/letter/j/97f17d/32.png) [@johnson1](https://community.wolfram.com/u/johnson1)\
**Post date:** [January 24, 2020, 11:03am UTC](https://community.wolfram.com/t/breaking-cell-brackets-upon-insertion-of-sub-cells/15288/3 "2020-01-24T11:03:04Z")

</div>

I couldn’t find a solution related to that possibility. Here is an image with different sub-cells and an outer bracket line that is “whole” on top. On the bottom, when a new cell with its own sub-cells is copied into the middle of that, the outer bracket becomes only partly visible. It is still there since subsequent removal of the new entries restores the outer bracket. The old behavior was that the new entries would just give further nesting without a break in the outer cell bracket.

 ![OuterBracketBreaking.jpg](https://global.discourse-cdn.com/wolfram/original/3X/4/f/4fb0699b8672a0131dca163e7f807a15f1348b9e.jpeg)
