0

I would like to change the labels of references to the letter "A" followed by numbers, e.g.

[A1] Authors, Paper name
[A2] Autrors, Paper name

I have already read this question but I did'nt understand how to change it according to my needs. I also need to do this inside of thebibliography environment because the template that I am using do not accept bibtex external files.

Edit:

I continued to try changing the answer of the question that I linked here and managed to do that:

\begin{thebibliography}{9}

\makeatletter
\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
  {\string\bibcite{#1}{\alphalph{\value{\@listctr}}}}\fi\ignorespaces}
\def\@biblabel#1{[A{#1}]}
\makeatother

\bibitem{Test} Author1, Title1

\bibitem{Test2} Author2, Title2

\end{thebibliography}

Which resulted in:

enter image description here

But inside the text the citation still not change

Example of citation \cite{Test}.

enter image description here

1

In your preamble write:

\makeatletter
\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
  {\string\bibcite{#1}{A\the\value{\@listctr}}}\fi\ignorespaces}
\def\@biblabel#1{[A{#1}]}
\makeatother

The redefinition of \@bibitem changes the item in the bibliography, the {A\the\value{\@listctr}} sets the label for \cite.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.