logo

BibTeXで参考文献を年代順/逆順に並べ替える方法 📂論文作成

BibTeXで参考文献を年代順/逆順に並べ替える方法

コード

何も設定しない場合、次のようにファーストネームの昇順で出力される。

\documentclass[10pt]{article}
\usepackage{kotex}
\usepackage{biblatex}

\begin{document}

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

\end{document}

パッケージを読み込む際にオプションで sorting=ynt を追加すると、年(yeay)、名前(title)、題名(title)の昇順で並び替えられる。

\documentclass[10pt]{article}
\usepackage{kotex}
\usepackage[sorting=ynt]{biblatex}

\begin{document}

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

\end{document}

オプションで sorting=ydnt を追加すると降順に並び替えられる。

\documentclass[10pt]{article}
\usepackage{kotex}
\usepackage[sorting=ydnt]{biblatex}

\begin{document}

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

\end{document}