Citations and bibliography · Trích dẫn và danh mục thư mục
Citing your sources
- Academic writing must say where facts came from. LaTeX makes this tidy.
- You keep a list of sources, each with a key, and cite the key in your text.
Trích dẫn nguồn của bạn
- Viết học thuật phải nêu rõ nơi thông tin đến từ đâu. LaTeX giúp việc này gọn gàng.
- Bạn giữ một danh sách các nguồn, mỗi nguồn có một khóa, và trích dẫn khóa đó trong văn bản.
The bibliography
- List your sources in a
thebibliographyenvironment, each as a\bibitem:
- The
{9}just says "numbers are one digit wide".lamportis the key you choose.
Danh mục tài liệu tham khảo
- Liệt kê các nguồn của bạn trong môi trường
thebibliography, mỗi mục dưới dạng\bibitem:
\begin{thebibliography}{9}
\bibitem{lamport} Leslie Lamport. \emph{LaTeX}. 1986.
\end{thebibliography}
{9}chỉ nói rằng "các số có chiều rộng một chữ số".lamportlà khóa bạn tự chọn.
Citing in the text
- Anywhere in the document, write
\cite{lamport}:
- LaTeX prints
[1]and keeps the numbers in order. Add a source and everything renumbers.
Trích dẫn trong văn bản
- Ở bất cứ đâu trong tài liệu, hãy viết
\cite{lamport}:
LaTeX is powerful~\cite{lamport}.
- LaTeX in ra
[1]và giữ các số theo đúng thứ tự. Thêm một nguồn, toàn bộ sẽ được đánh lại số.
Common mistakes
\cite{key}needs that key defined in your bibliography.- Compile twice, or the citations show as
?.
Lỗi thường gặp
\cite{key}yêu cầu khóa này được định nghĩa trong danh mục tài liệu tham khảo của bạn.- Biên dịch hai lần, nếu không các trích dẫn sẽ hiển thị là
?.
Cite the book in the sentence with \cite{lamport}, and add a matching \bibitem{lamport} entry inside the bibliography. The same key links the two. · Trích dẫn cuốn sách trong câu với \cite{lamport}, và thêm một mục tương ứng \bibitem{lamport} vào bên trong danh mục thư mục. Khóa giống nhau sẽ liên kết hai phần này.
Add a second source. Give the second book a \bibitem{knuth} entry, then cite it in the sentence with \cite{knuth}. Watch LaTeX number them in citation order. · Thêm nguồn thứ hai. Gán cho cuốn sách thứ hai một mục \bibitem{knuth}, sau đó trích dẫn nó trong câu với \cite{knuth}. Hãy để ý LaTeX sẽ đánh số theo thứ tự trích dẫn.