参考文献におけるパラリストの使用

参考文献におけるパラリストの使用

使用方法:

compactbiblio.tex

\documentclass{article}
\usepackage{paralist,lipsum}
\begin{document}
\begin{compactenum}
\item Lorem ipsum dolor sit amet\cite{Master14}.
\item Nam dui ligula\cite{Lord14}.
\end{compactenum}

\bibliographystyle{plain}
\bibliography{compactbiblio}
\end{document}

そして

compactbiblio.bib

@Article{Master14,
  author = "J. Master",
  title = "Compaction of enumerations",
  journal = "The basis for tree saving",
  year = "2014"
}

@Article{Lord14,
  author = "K. Lord",
  title = "Streamlining in typesetting",
  journal = "Patterns before substance",
  year = "2014"
}

クワッドを走って

pdflatex compactbiblio
bibtex compactbiblio
pdflatex compactbiblio
pdflatex compactbiblio

私達は手に入れました

大きな参考文献の項目間の間隔

手動で調整するなどせずに、compactenum と書誌内で同一の iter-item 間隔を取得するにはどうすればよいでしょうか\baselinestretch

paralist の代わりに enumitem を使用するのも良いでしょう。

答え1

thebibliography環境を と に再定義して\parskip、「コンパクトな」リストにすることが\itemsepできます。0pt

\let\oldthebibliography\thebibliography
\renewcommand\thebibliography[1]{%
  \oldthebibliography{#1}
  \setlength{\parskip}{0pt}
  \setlength{\itemsep}{0pt}
}

MWE:

\documentclass{article}

\usepackage{paralist}

\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{auth00a,
  author = {Author, A},
  journal = {Journal A},
  title = {MyBook A},
  year = {2000}
}
@article{auth00b,
  author = {Author, B},
  journal = {Journal B},
  title = {MyBook B},
  year = {2000}
}
\end{filecontents*}

\let\oldthebibliography\thebibliography
\renewcommand\thebibliography[1]{%
  \oldthebibliography{#1}
  \setlength{\parskip}{0pt}
  \setlength{\itemsep}{0pt}
}

\begin{document}
\section{first section}
\begin{compactitem}
  \item first
  \item second
\end{compactitem}
\nocite{*}
\bibliographystyle{plain}
\bibliography{\jobname}
\end{document} 

出力:

ここに画像の説明を入力してください

関連情報