biblatex 스타일 매칭 스톡 ACM 스타일

biblatex 스타일 매칭 스톡 ACM 스타일

포맷까지 biblatex주식에 맞는 참고문헌 스타일을 해본 사람이 있나요 ? acm.bst나는 biblatexURL과 같은 것들을 좀 더 정교하게 처리하고 싶지만, 내가 제출하는 저널은 ACM 스타일 형식을 지정합니다.

답변1

Alan Munn의 주의 사항을 염두에 두고 시작해야 할 사항이 있습니다. 첫째, 다음을 사용하는 전통적인 BibTeX의 예입니다 acm.bst.

\documentclass{article}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{Bli74,
  author = {Blinder, Alan S.},
  year = {1974},
  title = {The economics of brushing teeth},
  journal = {Journal of Political Economy},
  volume = {82},
  number = {4},
  pages = {887--891},
}
@book{Kot11,
  author = {Kottwitz, Stefan},
  year = {2011},
  title = {\LaTeX\ Beginner's Guide},
  address = {Birmingham},
  publisher = {Packt Publishing},
}
\end{filecontents}

\begin{document}

\nocite{*}

\bibliographystyle{acm}
\bibliography{\jobname}

\end{document}

여기에 이미지 설명을 입력하세요

그리고 동일한 예를 사용하여 biblatex구성 가능성을 제공합니다. (파일의 차이점에 유의하세요 .bib. 는 journal로 바뀌고 는 으로 대체됩니다 .)journaltitleaddresslocation

여러 저자의 작품에 대해 몇 가지 추가 조정이 여기에 지정되어 있지만 다른 출품 카테고리에는 더 많은 조정이 필요할 수 있습니다. 보다biblatex 스타일 사용자 정의 지침추가 조언을 원하시면.

\documentclass{article}

\usepackage[style=numeric,firstinits=true]{biblatex}% "style=numeric" is default

\DeclareNameAlias{default}{last-first}

\AtBeginBibliography{%
  \renewcommand*{\mkbibnamelast}[1]{\textsc{#1}}%
  %% commas between authors
  \renewcommand{\multinamedelim}{\addcomma\space}
  \renewcommand{\finalnamedelim}{\addcomma\addspace\textsc{and}\space}
}

\DefineBibliographyStrings{english}{%
 andothers = {\addcomma\addspace\textsc{et\addabbrvspace al}\adddot},
 and = {\textsc{and}}
}

\renewcommand*{\labelnamepunct}{\space\space}

\DeclareFieldFormat
  [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
  {title}{#1}

\renewbibmacro{in:}{%
  \ifentrytype{article}{%
  }{%
    \printtext{\bibstring{in}\intitlepunct}%
  }%
}

\renewbibmacro*{volume+number+eid}{%
  \printfield{volume}%
  \setunit*{\addcomma\space}%
  \printfield{number}%
  \setunit{\addcomma\space}%
  \printfield{eid}}

\DeclareFieldFormat{pages}{#1}

\renewbibmacro*{publisher+location+date}{%
  \printlist{publisher}%
  \setunit*{\addcomma\space}%
  \printlist{location}%
  \setunit*{\addcomma\space}%
  \usebibmacro{date}%
  \newunit}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@article{Bli74,
  author = {Blinder, Alan S.},
  year = {1974},
  title = {The economics of brushing teeth},
  journaltitle = {Journal of Political Economy},
  volume = {82},
  number = {4},
  pages = {887--891},
}
@book{Kot11,
  author = {Kottwitz, Stefan},
  year = {2011},
  title = {\LaTeX\ Beginner's Guide},
  location = {Birmingham},
  publisher = {Packt Publishing},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\nocite{*}

\begin{document}

\printbibliography

\end{document}

여기에 이미지 설명을 입력하세요

관련 정보