
클래스 , 패키지 및 참고문헌 스타일을 hyperref
사용하여 URL을 생성하려고 합니다 . 논문은 파일 에 있는 것과 같은 특징이 있으며 URL 항목은 사용되지 않으므로 항목에 삽입했습니다 . 이것은 모두 잘 작동하지만 URL을 클릭하여 인터넷에 있는 해당 위치로 이동하고 싶습니다. 어떻게 할 수 있습니까? 또한 저널 약어 뒤에 있는 DOI와 종이 페이지 뒤에 있는 ADS(천체물리학 데이터 시스템)와 같이 클릭 가능한 하이퍼참조 뒤에 보기 흉한 URL을 숨기는 것이 가능합니까?scrartcl
Bibtex
natbib
authordate1
@article
.bib
@article
note
.bib 항목:
% This file was created with JabRef 2.10.
% Encoding: UTF8
@Article{Schwamb2010,
Title = {Properties of the Distant Kuiper Belt: Results from the Palomar Distant Solar System Survey},
Author = {(Megan E.) Schwamb and (Michael E.) Brown and (David L.) Rabinowitz and Darin Ragozzine},
Journal = {The Astrophysical Journal},
Year = {2010},
Month = {September},
Note = {{\url{http://adsabs.harvard.edu/abs/2010ApJ...720.1691S}}},
Number = {2},
Pages = {1691},
Volume = {720},
Doi = {http://dx.doi.org/10.1088/0004-637X/720/2/1691},
Timestamp = {2014.09.21},
Url = {http://m.iopscience.iop.org/0004-637X/720/2/1691/pdf/0004-637X_720_2_1691.pdf}
}
답변1
물어:
이것은 모두 잘 작동하지만 URL을 클릭하여 인터넷에 있는 해당 위치로 이동하고 싶습니다. 어떻게 할 수 있습니까?
필드 내용을 묶는 중괄호 쌍이 너무 많은 것 같습니다 note
. 글을 쓰는 대신
Note = {{\url{http://adsabs.harvard.edu/abs/2010ApJ...720.1691S}}},
너는 써야 해
Note = {\url{http://adsabs.harvard.edu/abs/2010ApJ...720.1691S}},
그런데 왜 처음 세 명의 저자의 이름과 중간 이니셜(네 번째 저자의 이름은 제외)을 둥근 괄호로 묶습니까?
\documentclass{scrartcl}
\usepackage{natbib,url,hyperref}
\hypersetup{colorlinks,allcolors=blue}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Article{Schwamb2010,
Title = {Properties of the Distant Kuiper Belt: Results from the Palomar Distant Solar System Survey},
Author = {(Megan E.) Schwamb and (Michael E.) Brown and (David L.) Rabinowitz and Darin Ragozzine},
Journal = {The Astrophysical Journal},
Year = {2010},
Month = {September},
Note = {\url{http://adsabs.harvard.edu/abs/2010ApJ...720.1691S}},
Number = {2},
Pages = {1691},
Volume = {720},
Doi = {http://dx.doi.org/10.1088/0004-637X/720/2/1691},
Timestamp = {2014.09.21},
Url = {http://m.iopscience.iop.org/0004-637X/720/2/1691/pdf/0004-637X_720_2_1691.pdf}
}
\end{filecontents*}
\begin{document}
\nocite{*}
\bibliographystyle{authordate1}
\bibliography{\jobname}
\end{document}
당신은 또한 다음과 같이 질문했습니다.
또한 저널 약어 뒤에 있는 DOI와 종이 페이지 뒤에 있는 ADS(천체물리학 데이터 시스템)와 같이 클릭 가능한 하이퍼참조 뒤에 보기 흉한 URL을 숨기는 것이 가능합니까?
이 작업도 수행할 수 있습니다(비록 그렇게 하는 것이 얼마나 바람직한지는 잘 모르겠지만...). journal
및 필드 의 원래 내용을 pages
으로 바꾸면 됩니다 {\href{...}{original content}
. 예:
Journal = {\href{http://dx.doi.org/10.1088/0004-637X/720/2/1691}{The Astrophysical Journal}},
그리고
Pages = {\href{http://adsabs.harvard.edu/abs/2010ApJ...720.1691S}{1691}},
그렇게 하면 다음과 같은 출력이 생성됩니다.
\documentclass{scrartcl}
\usepackage{natbib,url,hyperref}
\hypersetup{colorlinks,allcolors=blue}
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Article{Schwamb2010,
Title = {Properties of the Distant Kuiper Belt: Results from the Palomar Distant Solar System Survey},
Author = {Megan E. Schwamb and Michael E. Brown and David L. Rabinowitz and Darin Ragozzine},
Journal = {\href{http://dx.doi.org/10.1088/0004-637X/720/2/1691}{The Astrophysical Journal}},
Year = {2010},
Month = {September},
Number = {2},
Pages = {\href{http://adsabs.harvard.edu/abs/2010ApJ...720.1691S}{1691}},
Volume = {720},
Timestamp = {2014.09.21},
}
\end{filecontents*}
\begin{document}
\nocite{*}
\bibliographystyle{authordate1}
\bibliography{\jobname}
\end{document}
답변2
첫 번째 질문에 대한 답변: 메모 항목의 URL을 어떻게 클릭할 수 있습니까? 이 명령을 사용하여:
note={\url{http://...}}