> For the complete documentation index, see [llms.txt](https://docs.theseaai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.theseaai.com/main/ch/gong-ju/wen-ben/wen-ben-she-zhi.md).

# 文本设置

{% hint style="danger" %}
**文本** 是测试功能，可能无法按预期运行。

当前，您只能在“文本布局”任务中创建文本。在其他任务中使用它可能会产生已栈平或不可预测的结果。此功能将逐步在所有任务中可用。
{% endhint %}

**两种方法：**

* **全局设置：** 使用文本属性面板调整整个文本框
* **字符级编辑：** 将鼠标悬停在未选中文本上并拖动控点以调整单个字符，从而编辑字距和字符拉伸

## 更改字体大小

{% tabs %}
{% tab title="通过拖动" %}
您可以通过拖动角控点调整文本框的大小，这会按比例缩放字体。

**逐步操作：**

1. 选择文本图层
2. 将鼠标悬停在角控点上，直到出现调整大小的光标
3. 拖动以按比例缩放文本框和字体大小
4. 释放以应用新尺寸

{% hint style="info" %}
此调整大小方法保持纵横比和按比例缩放。字符级调整将按相对于新字体大小的设定百分比保持不变。
{% endhint %}
{% endtab %}

{% tab title="通过更改数值" %}
通过在文本属性面板中更改字体大小数值来调整文本大小。

**逐步操作：**

1. 选择文本图层
2. 转到顶部工具栏，在文本设置面板中更改粗细值
   1. 您可以输入数值
   2. 或点击并水平拖动以调整数值
3. 您可以实时看到文本随新尺寸更新

{% hint style="info" %}
您可以选择多个文本图层，并同时将该数值应用到它们全部。
{% endhint %}
{% endtab %}
{% endtabs %}

***

## 调整字距

{% tabs %}
{% tab title="通过字符编辑" %}
**通过悬停并拖动来调整字符之间的间距**，无需打开菜单。这种可视化编辑方法对中日韩文字和精细排版特别强大，让您能在场景中直接进行微调。

**逐步操作：**

1. 将鼠标悬停在两个字符之间，直到出现菱形控点
2. 水平拖动以调整间距
3. 释放以应用更改

{% hint style="info" %}
如果您更改文本字体大小，已编辑的字距将被保留（直到您决定更改它或使用全局值）
{% endhint %}
{% endtab %}

{% tab title="通过更改数值" %}
使用文本属性面板将字距应用于整个文本框。

**逐步操作：**

1. 选择文本图层
2. 转到顶部工具栏并选择 <i class="fa-text">:text:</i> 按钮
3. 与...同一行 <kbd>字距</kbd>，调整该数值
   1. 您可以输入数值
   2. 或点击并水平拖动以调整数值
4. 您可以实时看到文本随新尺寸更新

{% hint style="info" %}
如果字符间距已被修改，全局数值将显示为 <kbd>混合</kbd>.
{% endhint %}
{% endtab %}
{% endtabs %}

***

## 调整字符拉伸

{% tabs %}
{% tab title="通过字符编辑" %}
**调整单个字符宽度以获得视觉平衡**。这是专业中日韩排版的必要功能，因为字符通常需要调整宽度以获得适当的视觉密度，在中日韩与拉丁文字混排时也很有用。

**逐步操作：**

1. 将鼠标悬停在字符上直到光标出现 <i class="fa-direction-left-right">:direction-left-right:</i>
2. 水平拖动以压缩或扩展字符
3. 释放以应用更改
   {% endtab %}

{% tab title="通过更改数值" %}
使用文本属性面板将字符拉伸应用于整个文本框。

**逐步操作：**

1. 选择文本图层
2. 转到顶部工具栏并选择 <i class="fa-text">:text:</i> 按钮
3. 与...同一行 <kbd>字距</kbd>，调整该数值
   1. 您可以输入数值
   2. 或点击并水平拖动以调整数值
4. 您可以实时看到文本随新尺寸更新

{% hint style="info" %}
如果字符拉伸已被修改，全局数值将显示为 <kbd>混合</kbd>.
{% endhint %}
{% endtab %}
{% endtabs %}

***

## 设置行高

调整并管理文本框内各行文本之间出现的垂直间距。

#### **逐步操作：**

{% stepper %}
{% step %}

#### 选择文本图层

{% endstep %}

{% step %}

#### 转到顶部工具栏并选择 <i class="fa-text">:text:</i> 按钮

{% endstep %}

{% step %}

#### 与...同一行 <kbd>字距</kbd>，调整该数值

您可以输入数值，或点击并水平拖动以调整数值
{% endstep %}

{% step %}

#### 您可以实时看到文本随新尺寸更新

{% endstep %}
{% endstepper %}

***

## 对齐文本

使用水平和垂直对齐选项控制文本在文本框内的位置。对齐会影响所有文本内容相对于框边界的位置。

#### 对齐选项

#### **逐步操作：**

{% stepper %}
{% step %}

#### 选择文本图层

{% endstep %}

{% step %}

#### 转到顶部工具栏并选择 <i class="fa-align-left">:align-left:</i> 按钮

{% endstep %}

{% step %}

#### 在对齐弹出窗口中，&#x20;

您可以输入数值，或点击并水平拖动以调整数值
{% endstep %}

{% step %}

#### 您可以实时看到文本随新尺寸更新

{% endstep %}
{% endstepper %}

***

## 应用文本装饰

***

## 更改文本大小写


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.theseaai.com/main/ch/gong-ju/wen-ben/wen-ben-she-zhi.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.
