> 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/vi/co-so-tri-thuc/086-if-my-latex-project-is-split-into-multiple-tex-files-can-i-edit-them-all-on-overleaf.md).

# Nếu dự án LaTeX của tôi được chia thành nhiều tệp tex, tôi có thể chỉnh sửa tất cả chúng trên Overleaf không?

Đối với các dự án lớn hơn, thường tốt hơn là không chèn toàn bộ mã vào một tệp chính duy nhất, mà nên tách nội dung thành nhiều tệp (ví dụ: các chương của luận văn). Khi đó, toàn bộ dự án sẽ gồm một tệp tex chính và nhiều tệp con.

Các tệp con này có thể được đưa vào một dự án như vậy trên Overleaf bằng cách tải chúng lên dưới dạng tệp đính kèm (qua menu files --> upload trong trình soạn thảo), và được tham chiếu theo cách thông thường qua `\input` hoặc `\include`.

Sau đó, bạn có thể chỉnh sửa trực tiếp các tệp con này trên Overleaf chỉ bằng cách nhấp vào chúng

Để xem một video ngắn minh họa điều này, hãy xem bài viết trên blog của chúng tôi về [viết luận văn của bạn bằng Overleaf](https://www.overleaf.com/blog/30).

![Ảnh chụp màn hình chỉnh sửa tệp Overleaf](/files/cd54137455da9473a9f9e5206e361b63866a8e3e)


---

# 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/vi/co-so-tri-thuc/086-if-my-latex-project-is-split-into-multiple-tex-files-can-i-edit-them-all-on-overleaf.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.
