BibTeX, biblatex and biberRemove square brackets in reference list for Labeled Multibib

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
rapk
Posts: 2
Joined: Tue Jul 12, 2022 11:44 pm

Remove square brackets in reference list for Labeled Multibib

Post by rapk »

I've been trying something that has puzzled my mind for several hours, and I could not find any suitable solution, so I hope that the smart people in this forum will be able to help me.

I am using the multibib package with the "labeled" parameter to list publications in my CV prefaced by the type of publication (e.g., J1, J2, ... for journals, C1, C2, ... for conferences).

I would like to list my publications to look like regular enumerated lists:

J1. Author. Title, journal...
J2. Author. Title, journal...
.
.
.
C1. Author. Title, conference...
C2. Author. Title, conference...

However, the references are listed in square brackets:

[J1] Author. Title, journal...
[J2] Author. Title, journal...
.
.
.
[C1] Author. Title, conference...
[C2] Author. Title, conference...

If I don't use the labeled parameter, I am able to achieve what I need by defining the "biblabel" environment and renewing the "thebibliography" environment.

However, I can't find any way to replace the brackets when the parameter "labeled" is used in Multibib. The compiler seems to ignore the biblabel definition.

Here is a minimal example showing the problem

Code: Select all

\documentclass[wideaddress]{vitae}

\usepackage[labeled,resetlabels]{multibib}

%Define bibliographies
\newcites{B,J,C}%
   {Book Chapters:,%
    Refereed Journal Articles:,%
    Refereed Conference Proceedings:
    }
    
\makeatletter
\def\@biblabel#1{#1. }

\renewenvironment{thebibliography}[1]
     {\subsection*{\refname}%
      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
      \list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{ |||#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \@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}
\makeatother

\begin{document}


	\bibliographystyleB{vitae}
	\bibliographystyleJ{vitae}
	\bibliographystyleC{vitae}


	\nociteB{Smith:2019aa,McMeyer:2014qe,Smith:2003fk}
	\nociteJ{Souza:2021ab,Cao:2021ue,Wang:2021wy}
	\nociteC{Palmeira:2021vp,Souza:2020aa,Souza:2018aa}
	
	\bibliographyB{master-bibliography}
	\bibliographyJ{master-bibliography}
	\bibliographyC{master-bibliography}

\end{document}


Does anyone know a way to replace the brackets with a dot at the end of the reference number?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

rapk
Posts: 2
Joined: Tue Jul 12, 2022 11:44 pm

Remove square brackets in reference list for Labeled Multibib

Post by rapk »

Can anyone provide some direction on a solution for this? It seems it's something that shouldn't be too difficult, but as you can see in my description, I can't figure out what should be done. Thanks!
Post Reply