
Estoy escribiendo para un medio con limitaciones de espacio y necesito que mi bibliografía sea lo más compacta posible. Esto significa eliminar casi todos los espacios en blanco de las entradas de la bibliografía, incluso los saltos de párrafo entre \bibitems.
En lugar de tener la bibliografía así:
[1] A. Antón et al. Una técnica para formatear bibliografías, ArXiv, 2020.
[2] BB Brett y B. Ballot. Formato de bibliografía, BAM, 2020.
[3] C. Coomb. Características de un buen formato de bibliografía, Corr, 2020.
Yo quisiera que fuera así:
[1]A. Antón y col. Una técnica para formatear bibliografías, ArXiv, 2020.[2]BB Brett y B. Ballot. Formato de bibliografía, BAM, 2020.[3]C. Coomb. Características de un buen formato de bibliografía, Corr, 2020.
Encontré esta sugerencia en línea:
http://bibdesk-users.661331.n2.nabble.com/Very-compact-bibliography-styles-td1332196.html
Pero su solución produce espacios extraños después de cada bibitem (parece intentar justificar el texto de alguna manera extraña). Intenté entrometerme con su sugerencia, eliminando elementos pero ninguna configuración me dio lo que quería.
Estoy usando el dorso para compilar el archivo de látex. Aquí hay un ejemplo práctico:
\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}
Citando 1,2,3 y 4 se obtiene este resultado:
Mientras cita solo 1, 2 y 3
\section{Introduction}
Here we cite \cite{a,b,c} and nothing else.
\bibliographystyle{plain}
\bibliography{main}
¿Hay alguna forma de lograr ese formato para una bibliografía en LaTeX?