Capitalize selected letters in LaTeX output for title

To get only specific letters capitalized in the title of a source, in LaTeX, I would write something like

title = {Capitalize only {T}his initial and {THIS} 3{D} word}

How can I achieve this from zotero Export Item? Or any alternative?
  • If you're using latex, you'll want BetterBibtex (https://retorque.re/zotero-better-bibtex/). In Zotero, keep the titles in sentence case with correct capitalization for nouns, abbreviations, etc. Things will be upper cased as needed for title case but never lowered.
  • I am using BetterBibTeX.
    When I right click on an item whose title is "Segmentation on surfaces with the Closest Point Method", and Export Item, I get in the exported file

    title = {Segmentation on surfaces with the Closest Point Method},

    while I need

    title = {Segmentation on surfaces with the {C}losest {P}oint {M}ethod},

    Can this be obtained?
    Am I missing some configuration?
  • are you sure you're using not just the plugin but Better BibTeX as the export format?
  • edited 26 days ago
    When I Right click -> Export Item, there is a Format pull-down menu. I have selected Better BibTeX there.
    Other options listed are:

    Better BibLaTeX
    Better BibTeX Citation Key Quick Copy
    Better CSL JSON
    ...
    RIS
    ...
    TEI
    ...

    Is mine the correct selection?
    @adamsmith if you do the same as me, you get the intended result?
  • From the Better BibTeX documentation:
    For English titles BBT will Title Case and brace-protect your titles on output. Except, those Title Cased words which BBT changed itself will not be wrapped in double-braces, as it is OK for the styles to change casing for those, depending on the style at play. So I like ISDN heaps better than dialup would output to I Like {{ISDN}} Heaps Better than Dialup. Apparently non-English titles are supposed to be in sentence case, so BBT doesn’t touch those.
  • @warwickmm this is not what I am seeing.
    The complete export is shown below: no Title Case, no brace-protection of capital letters.
    Would you mind trying what I mention, and post the results?
    Thanks!

    @inproceedings{tian2009SegmentationSurfacesClosest,
    title = {Segmentation on surfaces with the Closest Point Method},
    booktitle = {2009 16th IEEE International Conference on Image Processing (ICIP)},
    author = {Tian, Li and Macdonald, Colin B. and Ruuth, Steven J.},
    year = {2009},
    month = nov,
    pages = {3009--3012},
    publisher = {IEEE},
    address = {Cairo, Egypt},
    doi = {10.1109/ICIP.2009.5414447},
    url = {http://ieeexplore.ieee.org/document/5414447/},
    abstract = {We propose a method to detect objects and patterns in textures on general surfaces. Our approach applies the Chan--Vese variational model for active contours without edges to the problem of segmentation of scalar surface data. This leads to gradient descent equations which are level set equations on surfaces. These equations are evolved using the Closest Point Method, which is a recent technique for solving partial differential equations (PDEs) on surfaces. The final algorithm has a particularly simple form: it merely alternates a time step of the usual Chan--Vese model in a small 3D neighborhood of the surface with an interpolation step. We remark that the method can treat very general surfaces since it uses a closest point function to represent the underlying surface. Various experimental results are presented, including segmentation on smooth surfaces, non-smooth surfaces, open surfaces, and general triangulated surfaces.},
    isbn = {978-1-4244-5653-6},
    langid = {english}
    }
  • If in Zotero the item title is "Segmentation on surfaces with the Closest Point Method"

    https://s3.amazonaws.com/zotero.org/images/forums/u7554954/d66af4lvtzehaaqyctbm.png

    when I export using the Better BibTeX format I get:

    @inproceedings{tianSegmentationSurfacesClosest2009,
    title = {Segmentation on Surfaces with the {{Closest Point Method}}},
    booktitle = {2009 16th {{IEEE International Conference}} on {{Image Processing}} ({{ICIP}})},
    author = {Tian, Li and Macdonald, Colin B. and Ruuth, Steven J.},
    year = {2009},
    month = nov,
    pages = {3009--3012},
    publisher = {IEEE},
    address = {Cairo, Egypt},
    doi = {10.1109/ICIP.2009.5414447},
    urldate = {2025-01-29},
    isbn = {978-1-4244-5653-6},
    file = {(redacted)}
    }

    This is using Zotero 7.0.10 with Better BibTeX 7.0.5.

    Do you have these options enabled in the Better BibTeX settings?

    https://s3.amazonaws.com/zotero.org/images/forums/u7554954/zi1exki3p007vn3t1wxw.png

    If that still isn't working for you, you should ask the BBT developer

    https://github.com/retorquere/zotero-better-bibtex/issues
  • You are correct. The issue was the options.
    Thank you.
Sign In or Register to comment.