
이 문제에 관한 질문을 게시했습니다.여기. 일부 사람들은 unsrt
내가 .bib
. 이것은 때때로 작동하며 때로는 내가 원하지 않는 다른 모드로 전환됩니다. 문제를 설명하기 위해 이것은 코드 내 코드입니다.
\documentclass{article}
\begin{document}
hshshhhs \cite{2} \cite{1} \cite{3} \cite{4}
\bibliographystyle{unsrt}
\bibliography{references}{}
\end{document}
reference.bib는 다음과 같습니다.
@article{1,
author ={H. Durrant-Whyte, T. Bailey},
title = {Simultaneous localization and mapping: part I},
publisher = "Robotics Automation Magazine, IEEE",
year = {2006},
volume = "13",
pages = {99-110}
}
@incollection{2,
year={1996},
isbn={978-1-4471-1257-0},
booktitle={Robotics Research},
editor={Giralt, Georges and Hirzinger, Gerhard},
doi={10.1007/978-1-4471-1021-7_69},
title={Localization of Autonomous Guided Vehicles},
url={http://dx.doi.org/10.1007/978-1-4471-1021-7_69},
publisher={Springer London},
author={Durrant-Whyte, Hugh and Rye, David and Nebot, Eduardo},
pages={613-625},
language={English}
}
@book{3,
author = "Mr. X",
title = {Mr. X Knows BibTeX},
publisher = "AWOL",
YEAR = 2005,
}
@misc{ 4,
author = "Nobody Jr",
title = "My Article",
year = "2006" }
출력은 다음과 같습니다
를 사용하고 있기 때문에 \cite{2}
출력이 나올 것으로 예상 [2]
하지만 라텍스는 참조 목록을 내가 원하지 않는 것으로 재배열합니다. 지금은 너무 혼란스럽습니다. 왜 이런 일이 발생하는지 제안해 보세요.
답변1
unsrt
문서에 나타나는 순서대로 인용 번호를 매깁니다. 명령 과 파일의 2
는 항목을 참조하는 데 사용되는 "키"일 뿐입니다. 인용 번호 매기기와는 아무런 관련이 없습니다.\cite{}
.bib
인용을 어떻게 단순화할 수 있는지 모르겠습니다. BibTeX의 전체 요점은 이러한 내용에 대해 걱정할 필요가 없도록 만드는 것입니다(아래 내 메모 참조).
\nocite{<keys>}
강제로 주문하는 데 사용할 수 있습니다 .
하지만 먼저 일반적으로 숫자 키는 매우 혼란스럽습니다.
- 문서 시작 부분에 인용문을 추가한다고 가정해 보겠습니다. 그런 다음 다시 돌아가서 모든 단일 키의 이름과 참조를 다시 지정하시겠습니까?
문서를 작성할 때 대부분의 사람들은 다음과 같이 말합니다.
아, 여기서 Duckington의 1998년 첫 번째 논문을 인용해야겠습니다!
글을 쓰거나
\cite{duckington98a}
그들이 선택한 어떤 패턴이든~ 아니다아, 이제 표창장을 받는 중이군요N, 입력
\cite{n}
한 다음.bib
정확히 해당 번호로 내 파일에 항목을 추가하겠습니다.- 여러 인용: 끊임없이 돌아가서 어떤 번호가 어떤 참조에 속하는지 기억해야 합니다. 저자 이름을 사용하면 기억하기가 훨씬 쉽습니다.
정말로 원한다면 다음과 같이 할 수 있습니다.
\begin{filecontents}{myrefs.bib}
@article{1,
author ={H. Durrant-Whyte, T. Bailey},
title = {Simultaneous localization and mapping: part I},
publisher = "Robotics Automation Magazine, IEEE",
year = {2006},
volume = "13",
pages = {99-110}
}
@incollection{2,
year={1996},
isbn={978-1-4471-1257-0},
booktitle={Robotics Research},
editor={Giralt, Georges and Hirzinger, Gerhard},
doi={10.1007/978-1-4471-1021-7_69},
title={Localization of Autonomous Guided Vehicles},
url={http://dx.doi.org/10.1007/978-1-4471-1021-7_69},
publisher={Springer London},
author={Durrant-Whyte, Hugh and Rye, David and Nebot, Eduardo},
pages={613-625},
language={English}
}
@book{3,
author = "Mr. X",
title = {Mr. X Knows BibTeX},
publisher = "AWOL",
YEAR = 2005,
}
@misc{ 4,
author = "Nobody Jr",
title = "My Article",
year = "2006" }
\end{filecontents}
\documentclass{article}
\begin{document}
\nocite{1,2,3,4} % force the order here
hshshhhs \cite{2} \cite{1} \cite{3} \cite{4}
\bibliographystyle{unsrt}
\bibliography{myrefs}
\end{document}