我有一份文件,文中有 bib 文件和引文。文件信息如下:
\documentclass[smallextended]{svjour3}
\usepackage[sorting=none]{biblatex}
\begin{document}
abstract in one column
\twocolumn
the article and citations
\printbibliography
\end{document}
问题在于,在参考书目部分,两列中的参考文献有时会混淆:
其他参考文献都很好,但只有这两个是问题所在。我需要补充的是,这篇文章中存在几个相同的问题,数学公式已经到了行尾,无法折叠到下一行。我可能可以通过更改该行来解决这个问题,但在参考文献中我不知道该怎么做。
谢谢。
编辑:
参考文献 1 的先前代码是:
@article{morgulis2019fooling,
title={Fooling a real car with adversarial traffic signs},
author={Morgulis, Nir and Kreines, Alexander and Mendelowitz, Shachar
and Weisglass, Yuval},
journal={arXiv preprint arXiv:1907.00374},
year={2019}
}
对于参考文献 3,只有当我手动将 3 位作者姓名更改为 et al. 格式时,问题才得以解决。我已手动添加了此参考文献。
@inproceedings{
arjomandi2021limited,
title={Limited Budget Adversarial Attack Against Online Image Stream},
author={Mohasel Arjomandi, Hossein and Khalooi, Mohammad and
Amirmazlaghani, Maryam},
booktitle={ICML 2021 Workshop on Adversarial Machine Learning},
year={2021},
url={https://openreview.net/forum?id=IjsmgcivXL}
}
参考文献 14 很好,没有改变:
@article{goodfellow2014explaining,
title={Explaining and harnessing adversarial examples},
author={Goodfellow, Ian J and Shlens, Jonathon and Szegedy, Christian},
journal={arXiv preprint arXiv:1412.6572},
year={2014}
}
答案1
使用
\addbibresource{biblatex-examples.bib}
和
\nocite{*}
\printbibliography
每页会有几十个溢出框。
他们消失了,添加\raggedright
\nocite{*}
\raggedright
\printbibliography
使用\defbibenvironment{bibliography}
它可以更好地利用空间。
\DeclareFieldFormat{labelnumberwidth}{\makebox[0pt][l]{[#1]}}
\defbibenvironment{bibliography}
{\list{\printfield[labelnumberwidth]{labelnumber}}
{%
\setlength{\leftmargin}{1.8em}%
\setlength{\labelsep}{2em}%
\setlength{\itemindent}{-2em}%
\addtolength{\itemindent}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}
这是完整的代码。
\documentclass[smallextended]{svjour3}
%%********************************** show two column margins
\usepackage{showframe}
\usepackage{etoolbox}
%% From https://tex.stackexchange.com/questions/271285/show-frame-margin-in-two-column-layout
\newlength\Fcolumnseprule
\setlength\Fcolumnseprule{0.4pt}
\makeatletter
\newcommand\ShowInterColumnFrame{
\patchcmd{\@outputdblcol}
{{\normalcolor\vrule \@width\columnseprule}}
{\vrule \@width\Fcolumnseprule\hfil
{\normalcolor\vrule \@width\columnseprule}
\hfil\vrule \@width\Fcolumnseprule
}
{}
{}
}
\makeatother
\ShowInterColumnFrame
%%**********************************
\usepackage[sorting=none]{biblatex}
\DeclareFieldFormat{labelnumberwidth}{\makebox[0pt][l]{[#1]}}
\defbibenvironment{bibliography}
{\list{\printfield[labelnumberwidth]{labelnumber}}
{%
\setlength{\leftmargin}{1.8em}%
\setlength{\labelsep}{2em}%
\setlength{\itemindent}{-2em}%
\addtolength{\itemindent}{\labelsep}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{\item}
\addbibresource{biblatex-examples.bib}
\begin{document}
abstract in one column
\twocolumn
the article and citations
\nocite{*}
\raggedright
\printbibliography
\end{document