I would like to cite some sofware libraries I am using in a program using bibtex, but I can't quite figure out how to make that work properly. An entry might look like this:
@misc{CGAL,
key = "CGAL",
title = "\textsc{Cgal}, {C}omputational {G}eometry {A}lgorithms {L}ibrary",
note = "http://www.cgal.org"
}
The problem is that @misc
is not working optimally for me: Specifically the key (using \bibliographystyle{alpha}
) is "CGA" instead of "CGAL", and I don't know how to fix that. Can I define my own style for citing software or can I at least change the key that is used for referencing?
.bib
citation file somewhere? I believe you are free to define your own citekey as it will not appear in the final document. It is just an internal reference for BibTeX.key
that you enter in the.bib
entry is not supposed to be thecitekey
which appears in the document, and which is generated by the BibTeX style that you choose: a number if you useunsrt
for instance, or a combination of letters withalpha
.key
is that it does not force the label (see tame the beast § 6.1, p. 13 "[key
is] [u]sed for defining the label, in case it cannot be computed by BibTeX. It does not force the label, but defines the label when BibTeX needs one but can’t compute it."). Would you terribly mind usingbiblatex
?biblatex
providesshorthand
(§ 2.2.2, p. 22: "This field is intended for citation aliasing. If defined, it overrides the default label.").biblatex
provides theshorthand
key serving this purpose and easily fixing this issue.