> For the complete documentation index, see [llms.txt](https://docs.powerpointgeneratorapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.powerpointgeneratorapi.com/examples/text-shape/set-text-line-spacing.md).

# Set text line spacing

1. Select the shape by `name` you want to modify. See [here](/knowledge-base/finding-shape-names.md) to find shape names.
2. Specify the text need amending under `text_run`. Text within one textbox can be split into multiple chunks. &#x20;
3. Add font settings for selected text under `text_properties`.
4. Insert `new_line` as boolean before another `text_run`.&#x20;

Before and After

![](https://1155212587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mgoqdluo05I2RXHZpTr-887967055%2Fuploads%2FdXL30D8YGvXNE3zOzdAd%2Fslides_as_template_text_line_spacing.png?alt=media\&token=518879e2-3779-424f-a52c-9d6dfddba2b0)

Template Presentation

JSON Payload

{% code lineNumbers="true" %}

```json
{
  "presentation": {
    "template": "slides_as_template_text_line_spacing.pptx",
    "slides": [
      {
        "slide_index": 0,
        "shapes": [
          {
            "name": "Title 2",
            "content": "Text indent",
            "settings": {
              "text_line_spacing": 3
            }
          }
        ]
      }
    ]
  }
}
```

{% endcode %}
