Citationsnøgler i BibTeX

Denne side er i øjeblikket ikke tilgængelig på dansk, så den vises på engelsk. Vil du støtte os ved at hjælpe med at oversætte denne side? Oversæt denne side

The citation key is a unique identifier in BibTeX that is used to identify a specific source in your bibliography file. The citation key is used in the \cite{key} command to generate a citation in your LaTeX document, as well as in the bibliography file to refer to the source, or in pandoc-based markdown files, such as when using Quarto or R Markdown with [@key].

Har du brug for en enkel løsning til at håndtere dine BibTeX-poster? Udforsk CiteDrive!

  • Webbaseret, moderne referencehåndtering
  • Samarbejd og del med forskerkolleger
  • Integration med Overleaf
  • Omfattende BibTeX/BibLaTeX-understøttelse
  • Gem artikler og websteder direkte fra din browser
  • Søg efter nye artikler i en database med titusindvis af referencer
Prøv CiteDrive

To define a citation key in a BibTeX bibliography file, use the @ command followed by the entry type (e.g., @article, @book, etc.), followed by the citation key enclosed in curly braces. As an example:

@article{key,
author = {John Smith},
title = {The Great Article},
journal = {Journal of Great Articles},
year = {2021},
volume = {1},
number = {2},
pages = {3-4}
}

In this example, the citation key is “key.” You can choose any unique identifier you want as the citation key as long as it does not contain any spaces or special characters. It is a good idea to choose a descriptive citation key that is easy to remember so that it is easy to use in your LaTeX document. It is frequently formed from the first author’s surname, the date, and the first non-stopper word in the source’s title.