> 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-indentation.md).

# Set text indentation

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 `content`.&#x20;
3. Add indent settings `text_indent`.

Before and After

![](/files/DBVBG9cOAvTpaIVoWirc)![](/files/bnt0WUSvwOovmOwdTSCO)

Template Presentation

{% file src="/files/C4f7ax1j7ONAcLxxjkxV" %}

JSON Payload

{% code lineNumbers="true" %}

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

{% endcode %}
