BibliographyEntryLabelProviderStrategy

Supplier of citation labels for bibliography entries. Labels serve two purposes:

  • Citation labels appear inline in the document text (e.g. [1] or (Einstein, 1905)).

  • List labels appear next to each entry in the bibliography list (e.g. [1] or empty for APA).

Functions

Link copied to clipboard

Returns the combined label for an in-text citation of one or more bibliography entries (e.g. [1], [1, 2], or (Einstein, 1905; Hawking, 1988)).

Link copied to clipboard
abstract fun getListLabel(entry: BibliographyEntry, index: Int): String

Returns the label for a bibliography list entry (e.g. [1] or empty).