> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/ja/sononotopikku/43-table-of-tex-category-codes.md).

# TeXカテゴリコード表

| **カテゴリコード** | **説明**                            | **標準のLaTeX/TeX**              |
| ----------- | --------------------------------- | ----------------------------- |
| 0           | エスケープ文字—TEXにコマンドを探し始めるよう指示する      | `\`                           |
| 1           | グループを開始する                         | {                             |
| 2           | グループを終了する                         | }                             |
| 3           | 数式シフト—数式モードに入る/抜ける切り替え            | $                             |
| 4           | 整列タブ                              | &                             |
| 5           | 行末                                | ASCIIコード13（`\r`)              |
| 6           | マクロ引数                             | #                             |
| 7           | 上付き文字—数式組版用： `$y=x^2$` $$y=x^2$$  | ˆ                             |
| 8           | 下付き文字—数式組版用： `$y=x_2$` $$y=x\_2$$ | \_                            |
| 9           | 無視される文字                           | ASCII 0 `<null>`              |
| 10          | スペーサー                             | ASCIIコード32（スペース）と9（タブ文字）      |
| 11          | 文字                                | A...Z、a...z、（そして数千のUnicode文字） |
| 12          | その他                               | 0...9に加えて、,.;?" など多数          |
| 13          | アクティブ文字                           | ˜のような1文字マクロを作成するための特殊カテゴリコード  |
| 14          | コメント文字—行末まで続くすべてを無視する             | %                             |
| 15          | .tex入力ファイルに現れることが許可されていない無効な文字    | ASCIIコード127（`DEL`)            |


---

# 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, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/ja/sononotopikku/43-table-of-tex-category-codes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
