1.複数の参照段落を挿入する
論文を書くとき、2 つ以上の参照段落が必要になることがあります (もちろん、それらのほとんどは非公式です)。たとえば、同じ記事が大きなギャップのあるいくつかのモジュールに分割されている場合、リファレンスを個別にリストする必要があります。
この時、マルチビブが使えます。パッケージを参照した後、内の各ブロック参照の名前をカスタマイズ\usepackage[labeled]{multibib}
できます。\newcites{suffix}{heading}
たとえば、次の例では、 を使用しました\newcites{one}{Reference 1}
。また、suffix の内容をコマンドに追加して使用します。たとえば、\bibliographystyleone
\ \bibliographyone
bibliographystyle + one と \bibliography + one で構成されます。
次の見出しパラメーターは、見出しの名前です。
この例では 2 つのみが使用されています\newcites
。このメソッドは、サフィックス部分が繰り返されない限り、常に異なる段落を追加できます。
\documentclass{article}
\usepackage[labeled]{multibib}
\newcites{one}{Reference 1}
\newcites{two}{Reference 2}
\title{Multiple References}
\author{Alittlebean}
\date{March 2023}
\begin{document}
\maketitle
\section{Section One}
Hello, this is the first reference
\citeone{Knuth:1990}
\bibliographystyleone{alpha}
\bibliographyone{ref.bib}
\section{Section Two}
Hello, this is the second reference \citetwo{Lamport:94}
\bibliographystyletwo{alpha}
\bibliographytwo{ref.bib}
\end{document}
もちろん、ref.bib はmain.texファイルと同じディレクトリにある別の参照ファイルです。例の内容は次のとおりです。
@Book{Knuth:1990,
author = {Knuth, Donald E.},
title = {The {\TeX}book},
year = {1990},
isbn = {0-201-13447-0},
publisher = {Addison\,\textendash\,Wesley},
}
@Book{Lamport:94,
author = {Lamport, Leslie},
title = {\LaTeX: A Document Preparation System},
year = {1994},
isbn = {0-021-52983-1},
publisher = {Addison\,\textendash\,Wesley}
2.エフェクト表示
参照
- https://tex.stackexchange.com/questions/98660/two-bibliographies-one-for-main-text-and-one-for-appendix
- https://tex.stackexchange.com/questions/591256/how-do-labels-work-in-multibib-when-using-alpha-style
以上。