logo

biblatex에서 특정 필드 표시 안되게 하는 법 📂Writing

biblatex에서 특정 필드 표시 안되게 하는 법

Code

To exclude specific fields from the information displayed in biblatex, you can set them using the \AtEveryBibitem command. Below are the BibTeX information and rendered result for Walter Rudin’s book “Principles of Mathematical Analysis.”

@book{rudin1964principles,
  title={Principles of mathematical analysis},
  author={Rudin, Walter and others},
  volume={3},
  year={1964},
  publisher={McGraw-hill New York}
}

If you want to exclude the volume and year fields from the above reference, you can write it as follows.

\documentclass{article}

\usepackage{biblatex}
\AtEveryBibitem{
    \clearfield{volume}       % VOLUME 필드 숨기기
    \clearfield{year}         % YEAR 필드 숨기기
}

\begin{document}

\begin{refsection}[ref.bib]
\nocite{*}
\printbibliography[heading=none]
\end{refsection}

\end{document}