%EB%A5%BC%20%EC%82%AC%EC%9A%A9%ED%95%A0%20%EB%95%8C%20%ED%8E%98%EC%9D%B4%EC%A7%80%20%EC%83%81%EB%8B%A8%EC%97%90%20%ED%85%8D%EC%8A%A4%ED%8A%B8%20%EB%82%B4%20%EC%9D%B8%EC%9A%A9%EC%9D%B4%20%ED%91%9C%EC%8B%9C%EB%90%A9%EB%8B%88%EB%8B%A4..png)
나는 현재 내 분야와 관련된 인용 스타일을 사용해야 하는 수업에 대한 문헌 검토를 작성하려고 합니다. 나는 내가 말하고 있는 인용과 출처 분석을 논문 마지막에 최종 참고문헌과 함께 그 아래에 넣을 수 있었으면 좋겠다. 모든 것이 제대로 작동하는 것 같고 인용은 내가 원하는 형식이지만 첫 페이지 상단에 모든 출처에 대한 텍스트 내 인용 목록이 나타납니다.
에 대한 몇 가지 메모를 보았지만 \nocite{*}
내 문서에는 아무런 변경 사항도 적용되지 않은 것 같습니다.
\documentclass[12pt,letterpaper]{article}
% Set margins to 1.5in
\usepackage[margin=0.75in]{geometry}
% for crimson text
\usepackage{crimson}
\usepackage[T1]{fontenc}
% setup parameter indentation
\setlength{\parindent}{15pt}
\setlength{\parskip}{6pt}
% for 1.15 spacing between text
\renewcommand{\baselinestretch}{1.15}
% For defining spacing between headers
\usepackage{titlesec}
% Level 1
\titleformat{\section}
{\normalfont\fontsize{18}{0}\bfseries}{\thesection}{1em}{}
% Level 2
\titleformat{\subsection}
{\normalfont\fontsize{14}{0}\bfseries}{\thesection}{1em}{}
% Level 3
\titleformat{\subsubsection}
{\normalfont\fontsize{12}{0}\bfseries}{\thesection}{1em}{}
% Level 4
\titleformat{\paragraph}
{\normalfont\fontsize{12}{0}\bfseries\itshape}{\theparagraph}{1em}{}
% Level 5
\titleformat{\subparagraph}
{\normalfont\fontsize{12}{0}\itshape}{\theparagraph}{1em}{}
% Level 6
\makeatletter
\newcounter{subsubparagraph}[subparagraph]
\renewcommand\thesubsubparagraph{%
\thesubparagraph.\@arabic\c@subsubparagraph}
\newcommand\subsubparagraph{%
\@startsection{subsubparagraph} % counter
{6} % level
{\parindent} % indent
{12pt} % beforeskip
{6pt} % afterskip
{\normalfont\fontsize{12}{0}}}
\newcommand\l@subsubparagraph{\@dottedtocline{6}{10em}{5em}}
\newcommand{\subsubparagraphmark}[1]{}
\makeatother
\titlespacing*{\section}{0pt}{12pt}{6pt}
\titlespacing*{\subsection}{0pt}{12pt}{6pt}
\titlespacing*{\subsubsection}{0pt}{12pt}{6pt}
\titlespacing*{\paragraph}{0pt}{12pt}{6pt}
\titlespacing*{\subparagraph}{0pt}{12pt}{6pt}
\titlespacing*{\subsubparagraph}{0pt}{12pt}{6pt}
% Set caption to correct size and location
\usepackage[tableposition=top, figureposition=bottom, font=footnotesize, labelfont=bf]{caption}
% set page number location
\usepackage{fancyhdr}
\fancyhf{} % clear all header and footers
\renewcommand{\headrulewidth}{0pt} % remove the header rule
\rhead{\thepage}
\pagestyle{fancy}
% Overwrite Title
\makeatletter
\renewcommand{\maketitle}{\bgroup
\begin{center}
\textbf{{\fontsize{18pt}{20}\selectfont \@title}}\\
\vspace{10pt}
{\fontsize{12pt}{0}\selectfont \@author}
\end{center}
}
\makeatother
% For full citations inline
\usepackage{bibentry}
\nobibliography*
% For making hanging indents under citations
\usepackage{hanging}
\newcommand\hangbibentry[1]{%
\smallskip\par\hangpara{1em}{1}\bibentry{#1}\smallskip\par %{indent}{afterline}
}
% For indenting the first paragraph of every line
\usepackage{indentfirst}
% For use of astron citation package
\usepackage{natbib}
\begin{document}
\thispagestyle{fancy}
\subsection*{\hangbibentry{Soderblom2010TheStars}}
This source outlines the various methods astrophysicists utilize to estimate the ages of stars.
\bibliographystyle{astron}
\bibliography{mnemonic.bib,bib.bib}
\end{document}
이 기사의 인용은 다음과 같습니다.
@article{Soderblom2010TheStars,
title = "The Ages of Stars",
year = "2010",
journal = aar,
author = "Soderblom, David R.",
month = "3",
volume = "48",
pages = "581--629",
url = "http://arxiv.org/abs/1003.6074 http://dx.doi.org/10.1146/annurev-astro-081309-130806",
doi = "10.1146/annurev-astro-081309-130806",
}
다음과 같은 경고가 하나 있습니다.
패키지 Fancyhdr 경고: \headheight가 너무 작습니다(12.0pt): 최소 14.49998pt로 만드세요. 이제 문서의 나머지 부분에 대해 그 크기를 크게 만듭니다. 그러나 이로 인해 페이지 레이아웃이 일관되지 않을 수 있습니다.
그리고 다음과 같은 두 가지 오류가 있습니다.
정의되지 않은 제어 순서.
컴파일러가 사용한 명령을 이해하는 데 문제가 있습니다. 명령의 철자가 올바른지 확인하십시오. 명령이 패키지의 일부인 경우 \usepackage{...}를 사용하여 서문에 패키지를 포함했는지 확인하세요.
더 알아보기
<argument> \protect \astroncite {Soderblom}{2010} l.3 ...te{Soderblom}{2010}]{Soderblom2010TheStars} The control sequence at the end of the top line of your error message was never
\def'ed. 철자를 잘못 입력한 경우(예:
\hobx'), type
I' 및 올바른 철자(예: `I\hbox')) 그렇지 않은 경우 계속하면 정의되지 않은 내용은 모두 잊어버립니다.LaTeX 오류: \begin{document}이(가) 없습니다.
\begin{document} 명령을 찾을 수 없습니다. 서문에 \begin{document}를 포함했는지, 기본 문서가 올바르게 설정되었는지 확인하세요.
자세한 내용은 LaTeX 설명서나 LaTeX Companion을 참조하세요. 즉각적인 도움을 받으려면 H를 입력하세요.
...
l.3 ...te{Soderblom}{2010}]{Soderblom2010TheStars} You're in trouble here. Try typing <return> to proceed. If that doesn't work, type X
종료합니다.
현재 오버리프를 사용하고 있습니다.
답변1
생성된 헤더 via가 현재 사용되는 헤더보다 크기 \headheight is too small (12.0pt): Make it at least 14.49998pt.
때문에 발생하는 첫 번째 오류 입니다 . 그러니 간단히 추가하세요fancyhdr
12pt
\setlength{\headheight}{15pt}
그것을 제거하려면 서문에.
첫 번째 오류 메시지는 다음 행을 포함하는 및 를 <argument> \protect \astroncite
사용한 결과 입니다.astron.bst
astron.sty
\def\cite{\@ifstar{\citeyear}{\citefull}}
\def\citefull{\def\astroncite##1##2{##1, ##2}\@internalcite}
\def\citeyear{\def\astroncite##1##2{##2}\@internalcite}
이 파일은 좀 오래되어서 잘 모르겠지만, 예를 들어
\bibliographystyle{plainnat}
제가 사용해 보겠습니다 bibentry
. natbib
오류 없이 다음 MWE로 테스트할 수 있습니다.
\begin{filecontents*}{mybib.bib}
@article{Soderblom2010TheStars,
title = "The Ages of Stars",
year = "2010",
journal = aar,
author = "Soderblom, David R.",
month = "3",
volume = "48",
pages = "581--629",
url = "http://arxiv.org/abs/1003.6074 http://dx.doi.org/10.1146/annurev-astro-081309-130806",
doi = "10.1146/annurev-astro-081309-130806",
}
\end{filecontents*}
\documentclass{article}
\usepackage{bibentry}
\nobibliography*
\usepackage{natbib}
\begin{document}
text
%\bibentry{Soderblom2010TheStars}
\subsection*{\bibentry{Soderblom2010TheStars}}
text
\bibliographystyle{plainnat} % plain astron
\bibliography{mybib}
\end{document}
.bib
참고 문헌 모집에서 확장자를 삭제하였으니 참고하시기 바랍니다 .
그러면 결과는 다음과 같습니다(URL을 깨뜨린 경우에는 아무 작업도 수행되지 않습니다. 무시하세요).
지금 나에게 가장 중요한 질문은 오래된 것을 사용하는 것을 생략할 수 있습니까 astron.bst
, 아니면 내가 모르는 특별한 수업에서 사용해야 하는가입니다. 가능하다면 그냥 생략하거나 해당 스타일/저널의 관리자에게 버그 보고서를 작성하세요.