答案1
您可以在文档中手动设置和格式化参考书目。下面是对thebibliography
环境的重新定义,以将其列表\bibitem
连续设置为水平列表:
\documentclass{article}
\usepackage[nopar]{lipsum}
\makeatletter
\renewenvironment{thebibliography}
{\par\underline{\refname}:%
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
\setcounter{enumiv}{0}%
\renewcommand{\theenumiv}{\arabic{enumiv}}%
\renewcommand{\bibitem}[1]{%
\unskip\refstepcounter{enumiv}%
\if@filesw\immediate\write\@auxout{\string\bibcite{##1}{\theenumiv}}\fi
\space[\theenumiv]~\ignorespaces}}
{}
\makeatother
\renewcommand{\refname}{References}
\begin{document}
\lipsum[1] \cite{first}
\lipsum[2] \cite{second}
\lipsum[3] \cite{third}
\begin{thebibliography}
\bibitem{first}
Authors. \emph{Journal} \textbf{Volume}, Page (Year).
%
\bibitem{second}
Authors. \emph{Journal} \textbf{Volume}, Page (Year).
%
\bibitem{third}
Authors. \emph{Journal} \textbf{Volume}, Page (Year).
%
\bibitem{fourth}
Authors. \emph{Journal} \textbf{Volume}, Page (Year).
%
\bibitem{fifth}
Authors. \emph{Journal} \textbf{Volume}, Page (Year).
%
\bibitem{sixth}
Authors. \emph{Journal} \textbf{Volume}, Page (Year).
%
\bibitem{seventh}
Authors. \emph{Journal} \textbf{Volume}, Page (Year).
\end{thebibliography}
\end{document}
答案2
这只是我上面评论链接中的一个例子。我也用过这个答案https://tex.stackexchange.com/a/250610/120578对于文件内容。
\documentclass[11pt]{article}
\usepackage[giveninits=true,backend=bibtex,doi=false,isbn=false,url=false]{biblatex}
\AtEveryBibitem{%
\clearfield{pages}%
}
\renewcommand{\bibfont}{\normalfont\footnotesize}
\addbibresource{mynewbib.bib}
\defbibenvironment{bibliography}
{\noindent}
{\unspace}
{\printtext[labelnumberwidth]{%
\printfield{labelprefix}%
\printfield{labelnumber}}
\addspace}
\renewbibmacro*{finentry}{\finentry\addspace}
% \addbibresource{MyCollection.bib}
\addbibresource{mynewbib.bib}
\begin{filecontents}{mynewbib.bib}
@article{article1,
author={Sell, Ralph R.},
title={TRANSFERRED JOBS.},
journal={Work and Occupations},
volume={10},
number={2},
year={1983},
pages={179-206}
}
@article{article1,
author={Sell, Ralph R.},
title={TRANSFERRED JOBS.},
journal={Work and Occupations},
volume={10},
number={2},
year={1983},
pages={179-206}
}
@article{article2,
author={Sell, Ralph R.},
title={TRANSFERRED JOBS.},
journal={Work and Occupations},
volume={10},
number={2},
year={1983},
pages={179-206}
}
@article{article3,
author={Sell, Ralph R.},
title={TRANSFERRED JOBS.},
journal={Work and Occupations},
volume={10},
number={2},
year={1983},
pages={179-206}
}
@article{article4,
author={Sell, Ralph R.},
title={TRANSFERRED JOBS.},
journal={Work and Occupations},
volume={10},
number={2},
year={1983},
pages={179-206}
}
@article{article5,
author={Sell, Ralph R.},
title={TRANSFERRED JOBS.},
journal={Work and Occupations},
volume={10},
number={2},
year={1983},
pages={179-206}
}
\end{filecontents}
\begin{document}
\nocite{*}
\printbibliography[heading=none]
\end{document}
输出: