
사용:
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
우리는 얻는다
수동으로 조정 등을 하지 않고 컴팩트와 참고문헌 내에서 동일한 반복 항목 간격을 어떻게 얻을 수 있습니까 \baselinestretch
?
paralist 대신 enumitem을 사용하는 것도 좋습니다.
답변1
"간소한" 목록을 갖기 위해 환경을 재정 thebibliography
의하여 so \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}
산출: