
나는 기사를 쓰고 있습니다. MWE는 아래와 같습니다.
\documentclass[a4paper,times,12pt,ifthen]{article}
\usepackage{enumerate}
\usepackage{graphicx}
\usepackage{epsfig}
\usepackage{epstopdf}
\usepackage{nomencl}
%\makeindex
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage[top= 2.00cm,bottom = 2.00cm,left= 2.00cm,right= 2.00cm]{geometry}
\makeatletter % these following 3 command will print reference without box
\renewcommand*{\@biblabel}[1]{\hfill#1.}
\makeatother
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{authblk}
\usepackage[acronym,nonumberlist]{glossaries} % prints glossary without page number at end
\usepackage{longtable} %spans table in two pages
\usepackage{subfigure} %gives subfigures
\usepackage{array} % justify table content
\usepackage{booktabs} % will center justified table
\usepackage[authoryear]{natbib}
\usepackage{color} % will print colour text
\bibliographystyle{agsm}
\RequirePackage{ifthen}
\renewcommand{\nomgroup}[1]{%
\ifthenelse{\equal{#1}{G}}{\item[\textbf{Greek Symbols}]}{
\ifthenelse{\equal{#1}{S}}{\item[\textbf{Subscripts}]}{}}}
\makenomenclature
\makeglossaries
\begin{document}
Comparing results in \citep{Shigley2011} with \citet{Duffy2010} and \cite{Carslaw1959}.
\makenomenclature
\printnomenclature
\printglossaries
\bibliographystyle{unsrtnat}
\bibliography{CoalCombustion.bib}
\end{document}
Bibtex 파일 CoalCombustion.bib는
@book{Carslaw1959,
title={Heat in solids},
author={Carslaw, HS and Jaeger, JC},
volume={19591},
year={1959},
publisher={Clarendon Press, Oxford}
}
@book{Duffy2010,
title={Transform methods for solving partial differential equations},
author={Duffy, Dean G},
year={2010},
publisher={CRC press}
}
@book{Shigley2011,
title={Shigley's mechanical engineering design},
author={Shigley, Joseph Edward},
year={2011},
publisher={Tata McGraw-Hill Education}
}
인용문이 텍스트와 참고문헌에 인쇄되지 않는 이유는 무엇입니까?
답변1
몇 가지 제안/관찰:
\bibliography{CoalCombustion.bib}
로 변경합니다\bibliography{CoalCombustion}
. 즉,.bib
확장자를 생략합니다.단 하나의 참고문헌 스타일을 선택
agsm
하십시오unsrtnat
.하지만 둘 다는 아니다. 스타일 을 선택하는 경우agsm
.har2nat
hyperref
LaTeX를 실행한 다음 BibTeX, LaTeX를 차례로 실행하세요.두 번 더
\cite
,\citep
및 에서 예상되는 인용 콜아웃을 생성합니다\citet
.