Manually brace word in title.

When citing R software packages, the first word in the title is often the package name, which may or may not be lower case. I have found that my bibliography style in Overleaf automatically capitalizes it regardless, but this can be fixed by manually editing the .bib file to enclose the package name in curly braces.

My question is whether it is possible to change the title field in Zotero to manually brace a certain word in brackets in the exported bib file, rather than exporting to .bib and then editing the .bib file?

For example, currently the title field for an entry in Zotero is:

fda: Functional Data Analysis. R package version 5.5.1.

In the exported .bib file, I have:

title = {fda: {Functional} {Data} {Analysis}. {R} package version 5.5.1.},

but I want:

title = {{fda}: {Functional} {Data} {Analysis}. {R} package version 5.5.1.},

Is. it possible to manually add something to the title field in Zotero to achieve the bracing?

Apologies if I've missed something obvious!
  • If you are using Zotero with LaTeX, you will want to use the BetterBibTeX plugin and its export formats. When you export with the plugin, uppercase words in fields will be enclosed in braces.

    (As a side note, I suggest storing “R package” in the Programming Language field and the version number in the version field, rather than all in the title.)
  • agree with @bwiernik, but if you want to keep fda in lowercase in a title: <span class="nocase">fda</span>: Functional Data Analysis. R package version 5.5.1..
  • Thank you both.

    I have now installed BetterBibTeX.

    My understanding is now as follows:

    1) I have to export manually rather than using overleaf integration (I'm ok with this)

    2) Using the suggestion by @emilianoeheyns should work if I use export: format = BetterBibTeX

    Is this correct?
  • The nocase formatting is a Zotero feature, so it may also work with the regular Overleaf integration. If not, https://retorque.re/zotero-better-bibtex/exporting/auto/#getting-your-bbt-generated-biblatexcitekeys-to-other-places
  • Thanks @emilianoeheyns Even if I export using standard BibTeX manually (not through overleaf), I still find the following in my .bib file:

    title = {{\textless}span class="nocase"{\textgreater}fda{\textless}/span{\textgreater}: {Functional} {Data} {Analysis}. {R} package version 5.5.1.}

    Do you have any idea why this is?
  • edited July 5, 2023
    Ah, then the standard Zotero BibTeX translator (and therefore the Overleaf connection) does not support this. It is supported however in Word and in Better BibTeX exports, if you want to go this road you'll have to use dropbox or git to bring the BBT exports to Overleaf (see link I posted above). I've talked to Overleaf in the past to allow direct-to-Overleaf exports but that sort of petered out.
Sign In or Register to comment.