# Text Styles

Any number of text styles can be defined for the texts. These can be stored in the master data. This provides the same settings automatically for each new plan. However, the text styles are also stored in each plan so that the settings with which the plan was originally created are preserved.

As soon as a plan is opened, you see the text styles of that plan. These may differ from the master data. When a new plan is created, the text styles from the master data are automatically assigned to that plan.

The text styles have the following properties:

* There is always at least one text style.
* One of the text styles is always the current text style. When new texts are created, the current text style is used automatically.
* A text style consists of a name and various settings.
* A text can inherit the settings of the text style with which it was created. However, it can also have its own settings in individual fields that differ from the text style. If texts use the settings of a text style and that text style is changed, all texts are adjusted.
* The color set and the line weight can also be controlled via the layers. This results in three configuration levels for these two values (see example below).

#### Example based on the color set:

The following inputs were made:

| Configurable options | Color                                 | Dimension element | Color                                   |
| -------------------- | ------------------------------------- | ----------------- | --------------------------------------- |
| Layer                | <mark style="color:red;">Red</mark>   | Dimension chain 1 | <mark style="color:green;">Green</mark> |
| Dimension style      | <mark style="color:blue;">Blue</mark> | Dimension chain 2 | <mark style="color:blue;">Blue</mark>   |
|                      |                                       | Dimension chain 3 | From layer                              |

* The layer color is changed (e.g., to yellow): Text 3 changes automatically and becomes yellow because it uses the color 'FROM LAYER'. Texts 1 and 2 retain their color.
* The color of the text style is changed (e.g., to brown): Text 2 changes automatically and becomes brown because it uses the text style color. Texts 1 and 3 retain their color.

When you invoke the 'Text Styles' function, a dialog box opens showing the list of text styles currently available in the open plan. If you want to delete a text style from the plan, click that text style and select the entry 'No setting' from the list. Conversely, if you want to insert another text style from the master data into the current plan, click an empty field and select the desired text style from the list that opens. With the list entry '>> New setting' you can also define an entirely new text style.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dietrichs.com/dietrichs-intelligent-documentation/docs-de-en/2d-auxiliary-geometry/texte-beschriftungen/textstile.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
