Přeskočit na hlavní obsah

When to Enclose .bib File Entry Fields: quotation marks vs. braces

note

Tato stránka je v současné době k dispozici pouze v angličtině, ale velmi bychom potřebovali vaši pomoc s jejím překladem do vašeho jazyka! Pokud máte zájem, podívejte se na naše úložiště GitHub, kde najdete další informace o tom, jak přispět.

Do you ever wonder when to enclose your .bib file entry fields with quotes and when to enclose them with braces? Do they even matter? The answer is: it doesn't matter. Some people prefer to use "" simply for aesthetical reasons, and others prefer to use {}, arguing that it's preferable if you need to use a " character within a field. Note, that these are the only acceptable ways to enclose fields.

Examples

Enclosing fields with {}

@misc{CiteDrive2022,
title = {CiteDrive brings reference management to Overleaf},
author = {CiteDrive, Inc},
year = 2022,
note = {\url{https://www.citedrive.com/overleaf} [Accessed: (Use the date of access)]}
}

Enclosing fields with ""

@misc{CiteDrive2022,
title = "CiteDrive brings reference management to Overleaf",
author = "CiteDrive, Inc",
...
}

There is no right or wrong answer, as long as the information within the field is enclosed correctly. So why not experiment and see which method works best for you?

Let’s .bib your first project!Looking for a BibTeX-based reference manager that connects seamlessly with Overleaf and RStudio? CiteDrive lets you manage your references directly in your next LaTeX, Quarto, or R Markdown document!