1

In plainnat I have got something like this: enter image description here

But I need to put a dot after the number of the reference and some space, i.e. something like this:

enter image description here

Can you help me?

MWE:

main.tex:

\documentclass[12pt]{article}
\usepackage[english,turkish]{babel}

\usepackage[numbers]{natbib}
\renewcommand{\bibsection}{\large \textbf{REFERENCES}}
\makeatletter
    \renewcommand{\@biblabel}{\hfill}
\makeatother



\begin{document}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in justo orci. 
Phasellus pharetra elit sit amet lobortis pretium. Donec a tortor est. In 
pretium imperdiet erat ut egestas. Vestibulum pellentesque erat augue, quis 
facilisis lorem lobortis ac. Suspendisse a magna lacinia, pretium nisl sit 
amet, blandit ligula. Aliquam erat volutpat. Nullam at porta ex, non 
condimentum lectus \citep{esry2007}.

\bibliographystyle{plainnat}
\bibliography{refs.bib}%

\end{document}

refs.bib:

@article{esry2007,
    title = {General Theory of Carrier-Envelope Phase Effects},
    author = {Roudnev, V. and Esry, B. D.},
    journal = PRL,
    volume = {99},
    number = {22},
    pages = {220406},
    year = {2007},
    publisher = {APS}
}

I also copied the plainnat.bst file from CTAN. I may give reference if you like.

4
  • That bit of the bibliography formatting is usually not controlled by the BibTeX style you use (plainnat) but by your document class and by the bibliography-related packages you load. If you want good help quickly, your best bet is to create a short yet compilable example document that shows how you generate your bibliography at the moment. See tex.meta.stackexchange.com/q/228/35864 and tex.meta.stackexchange.com/q/4407/35864. – moewe Sep 25 '20 at 17:42
  • I've tried to do what you asked @moewe. Hope that would help? – Saba Sep 25 '20 at 17:50
  • Please do share the following piece of information: the document class you employ. – Mico Sep 25 '20 at 17:59
  • I have shared it. @Mico – Saba Sep 25 '20 at 18:27
4

It's sufficient to properly redefine \@biblabel. You may want to change 3em to any other length you see fit.

\documentclass[12pt]{article}
\usepackage[english,turkish]{babel}

\usepackage[numbers]{natbib}
\renewcommand{\bibsection}{\begin{center}\large \textbf{REFERENCES}\end{center}}
\makeatletter
\renewcommand{\@biblabel}[1]{\makebox[3em][l]{#1.}}
\makeatother


\begin{document}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in justo orci. 
Phasellus pharetra elit sit amet lobortis pretium. Donec a tortor est. In 
pretium imperdiet erat ut egestas. Vestibulum pellentesque erat augue, quis 
facilisis lorem lobortis ac. Suspendisse a magna lacinia, pretium nisl sit 
amet, blandit ligula. Aliquam erat volutpat. Nullam at porta ex, non 
condimentum lectus \citep{esry2007}.

\bibliographystyle{plainnat}
\bibliography{refs.bib}

\end{document}

enter image description here

1
  • thank you very much! – Saba Sep 26 '20 at 9:21

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.