I created my bibliography style (author-year) in "custom-bib" using natbib. Then I replace and with , (between author1 and author2) using \providecommand{\BIBand}{,}. As a result, I received the following citation in the text


I have a question: How delete from citation in the text [space1]?

  • 1
    Try with \renewcommand{\BIBand}{\unskip, \ignorespaces}. Either way, it would be great if we could experiment using your actual .bst with an example that replicates the current behaviour. Can you provide that with a minimal working example (MWE)? – Werner Feb 19 '16 at 23:59
  • 1
    Bibliography style files created with the makebst utility -- part of the custom-bib package -- feature functions named bbl.and and space.word, to be used with bib entries that have exactly two authors. If you're not using these functions or if you have modified them via macros named, say, \BIBand, you should tell us about these measures. – Mico Feb 20 '16 at 5:09

You can try using

\renewcommand{\BIBand}{\unskip, \ignorespaces}

This should remove any preceding and following spaces around ,.

| improve this answer | |
  • Werner, one more time thank you very much for your answer. It works! – Bartłomiej Stępień Feb 20 '16 at 22:27

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.