参考文献から改行を削除する方法

参考文献から改行を削除する方法

私はスペースが限られた媒体向けに執筆しており、参考文献をできるだけコンパクトにする必要があります。つまり、\bibitems 間の段落のスキップも含め、参考文献のエントリからほぼすべての空白を削除するということです。

参考文献を次のようにする代わりに:

[1] A. Anton他「参考文献のフォーマット手法」ArXiv、2020年。

[2] BB BrettとB. Ballot. 書誌フォーマット、BAM、2020年。

[3] C.クームズ「良い参考文献フォーマットの特徴」Corr、2020年。

私は次のようになることを望みます:

[1]A. Anton 他「参考文献のフォーマット手法」、ArXiv、2020 年。[2]BB Brett と B. Ballot。書誌のフォーマット、BAM、2020 年。[3]C. クーム。「優れた参考文献フォーマットの特徴」Corr、2020 年。

ネット上でこんな提案を見つけました:

http://bibdesk-users.661331.n2.nabble.com/Very-compact-bibliography-styles-td1332196.html

しかし、彼の解決策では、各ビビット項目の後に奇妙なスペースが生成されます (奇妙な方法でテキストを揃えようとしているようです)。彼の提案に干渉して項目を削除してみましたが、構成によって希望どおりの結果は得られませんでした。

私はLaTeXファイルをコンパイルするためにOverleafを使用しています。以下は動作例です:

\documentclass[twocolumn]{article}
\usepackage[utf8]{inputenc}
\usepackage{filecontents}
\usepackage{paralist}

\begin{filecontents}{main.bib}
@misc{a,
  author    = {A. Anton and
               others},
  title     = {A Technique for Formatting Bibliographies},
  journal = {ArXiv},
  year      = {2020}
}

@misc{b,
  author    = {B. Brett and
               B. Ballot},
  title     = {Bibliographies Formatting},
  journal = {BAM},
  year      = {2020}
}

@misc{c,
  author    = {C. Coomb},
  title     = {Characteristics of a Good Bibliography Formatting},
  journal = {Corr},
  year      = {2020}
}

@misc{d,
    author  = {D. Damiani and
                others},
    title   = {Direct Bibliographies for Latex: A Study on How to Produce Direct Bibliographies},
    journal = {DankJournal},
    year    = {2020}
}
\end{filecontents}

\makeatletter
\renewenvironment{thebibliography}[1]
     {\section*{\refname}%
      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
      \begin{inparaenum}%
      \list{\textbf{\@biblabel{\@arabic\c@enumiv}}}%
           {\@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist\end{inparaenum}}
\renewcommand\newblock{}
\makeatother

\title{Bibliography Example}
\author{\LaTeX{} Stack Exchange User}
\date{August 2019}

\begin{document}

\maketitle

\section{Introduction}

Here we cite \cite{a,b,c} and \cite{d}.

\bibliographystyle{plain}
\bibliography{main}

\end{document}

1、2、3、4 を引用すると、次の出力が得られます。

1番目と2番目のビバイトムの間に大きなスペースがある

1、2、3のみを引用しながら

\section{Introduction}

Here we cite \cite{a,b,c} and nothing else.

\bibliographystyle{plain}
\bibliography{main}

最初の入り口前の巨大なスペース

LaTeX で参考文献のこのようなフォーマットを実現する方法はありますか?

関連情報