> 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/tai-lieu-tham-khao-va-trich-dan/04-bibtex-bibliography-styles.md).

# Các kiểu thư mục tài liệu tham khảo BibTeX

## Giới thiệu và ví dụ

Khi sử dụng [BibTeX](/latex/vi/tai-lieu-tham-khao-va-trich-dan/01-bibliography-management-with-bibtex.md), kiểu thư mục tài liệu tham khảo được thiết lập và tệp thư mục tài liệu được nhập bằng hai lệnh sau:

```latex
  \bibliographystyle{stylename}
  \bibliography{bibfile}
```

trong đó `bibfile` là tên của thư mục tài liệu tham khảo `.bib` tệp, không có phần mở rộng, và `stylename` là một trong các giá trị được hiển thị trong [bảng bên dưới](#table-of-stylename-values).

Đây là một ví dụ bạn có thể mở trong Overleaf—the `.bib` tệp được tạo sẵn cho bạn:

```latex
\documentclass[a4paper,10pt]{article}
\usepackage[english]{babel}
%Bao gồm "Tài liệu tham khảo" trong mục lục
\usepackage[nottoc]{tocbibind}

%Tiêu đề, ngày tháng và tác giả của tài liệu
\title{Quản lý thư mục tài liệu tham khảo: BibTeX}
\author{Overleaf}

%Bắt đầu của tài liệu
\begin{document}

\maketitle

\tableofcontents

\medskip

\section{Phần đầu tiên}
Tài liệu này là một ví dụ về việc sử dụng BibTeX trong quản lý thư mục tài liệu tham khảo. Ba mục được trích dẫn: cuốn sách \textit{The \LaTeX\ Companion} \cite{latexcompanion}, bài báo tạp chí của Einstein \cite{einstein}, và trang web của Donald Knuth \cite{knuthwebsite}. Các mục liên quan đến \LaTeX\ là \cite{latexcompanion,knuthwebsite}.

\medskip

%Đặt kiểu thư mục tài liệu tham khảo thành UNSRT và nhập
%tệp thư mục tài liệu tham khảo "sample.bib".
\bibliographystyle{unsrt}
\bibliography{sample}
\end{document}
```

[Mở trong Overleaf (một tệp .bib phù hợp được tạo sẵn)](<https://www.overleaf.com/docs?engine=\&snip_name\[]=main.tex\&snip\[]=\documentclass\[a4paper,10pt]{article}&#xA;\usepackage\[english]{babel}&#xA;%Includes+"References"+in+the+table+of+contents&#xA;\usepackage\[nottoc]{tocbibind}&#xA;&#xA;%Title,+date+an+author+of+the+document&#xA;\title{Bibliography+management:+BibTeX}&#xA;\author{Overleaf}&#xA;&#xA;%Begining+of+the+document&#xA;\begin{document}&#xA;&#xA;\maketitle&#xA;&#xA;\tableofcontents&#xA;&#xA;\medskip&#xA;&#xA;\section{First+Section}&#xA;This+document+is+an+example+of+BibTeX+using+in+bibliography+management.+Three+items+are+cited:+\textit{The+\LaTeX\\+Companion}+book+\cite{latexcompanion},+the+Einstein+journal+paper+\cite{einstein},+and+the+Donald+Knuth's+website+\cite{knuthwebsite}.+The+\LaTeX\\+related+items+are+\cite{latexcompanion,knuthwebsite}.+&#xA;&#xA;\medskip&#xA;&#xA;%Sets+the+bibliography+style+to+UNSRT+and+imports+the+&#xA;%bibliography+file+"sample.bib".&#xA;\bibliographystyle{unsrt}&#xA;\bibliography{sample}&#xA;\end{document}\&snip_name\[]=sample.bib\&snip\[]=@article{einstein,&#xA;++author+=+++++++"Albert+Einstein",&#xA;++title+=++++++++"{Zur+Elektrodynamik+bewegter+K{\\"o}rper}.+({German})&#xA;+++++++++++++++++\[{On}+the+electrodynamics+of+moving+bodies]",&#xA;++journal+=++++++"Annalen+der+Physik",&#xA;++volume+=+++++++"322",&#xA;++number+=+++++++"10",&#xA;++pages+=++++++++"891--921",&#xA;++year+=+++++++++"1905",&#xA;++DOI+=++++++++++"http://dx.doi.org/10.1002/andp.19053221004"&#xA;}&#xA;&#xA;@book{latexcompanion,&#xA;++++author++++=+"Michel+Goossens+and+Frank+Mittelbach+and+Alexander+Samarin",&#xA;++++title+++++=+"The+\LaTeX\\+Companion",&#xA;++++year++++++=+"1993",&#xA;++++publisher+=+"Addison-Wesley",&#xA;++++address+++=+"Reading,+Massachusetts"&#xA;}&#xA;+&#xA;@misc{knuthwebsite,&#xA;++++author++++=+"Donald+Knuth",&#xA;++++title+++++=+"Knuth:+Computers+and+Typesetting",&#xA;++++url+++++++=+"http://www-cs-faculty.stanford.edu/\\~{}uno/abcde.html"&#xA;}\&main_document=main.tex>)

## Bảng các giá trị stylename

| stylename | kết quả                                                                    |
| --------- | -------------------------------------------------------------------------- |
| `abbrv`   | ![BibtexStylesEx1.png](/files/eb84ce20d55cf398f42cb8bfcaf8cb97659e66e7)    |
| `acm`     | ![BibtexStylesEx2.png](/files/d78d7e2cce06daa75db966c29b9df43e8f9cee61)    |
| `alpha`   | ![BibtexStylesEx3.png](/files/e9d65bcb05c0e1a61bf8f81046a1b7b2f7f30bbf)    |
| `apalike` | ![BibtexStylesEx4.png](/files/deee865ae16c11b4dcfd0c4a9081aaec55ad4b4b)    |
| `ieeetr`  | ![BibtexStylesEx5.png](/files/68249ffd250ef0f0773820b6f3cf9ea1568ba528)    |
| `plain`   | ![BibtexStylesEx6new.png](/files/8cf65fd99628c4ab09b898304839fe4329acffa7) |
| `siam`    | ![BibtexStylesEx7.png](/files/b6fe86403e21cde9db07d08cae2e7d1bc910e709)    |
| `unsrt`   | ![BibtexStylesEx8.png](/files/5cef131d27ffca014a7c75b6f70cb09c0f332a23)    |

## Đọc thêm

Để biết thêm thông tin, xem:

* [Quản lý danh mục tài liệu tham khảo với bibtex](/latex/vi/tai-lieu-tham-khao-va-trich-dan/01-bibliography-management-with-bibtex.md)
* [Tài liệu BibTeX trên trang web CTAN](http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/)
* [Tài liệu gói tocbibind](ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/tocbibind/tocbibind.pdf)
* [Quản lý thư mục tham khảo với natbib](/latex/vi/tai-lieu-tham-khao-va-trich-dan/02-bibliography-management-with-natbib.md)
* [Quản lý thư mục tham khảo với biblatex](/latex/vi/tai-lieu-tham-khao-va-trich-dan/03-bibliography-management-with-biblatex.md)
* [Mục lục](/latex/vi/cau-truc-tai-lieu/02-table-of-contents.md)
* [Quản lý trong một dự án lớn](/latex/vi/cau-truc-tai-lieu/07-management-in-a-large-project.md)
* [Các dự án LaTeX nhiều tệp](/latex/vi/cau-truc-tai-lieu/08-multi-file-latex-projects.md)


---

# 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/tai-lieu-tham-khao-va-trich-dan/04-bibtex-bibliography-styles.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.
