print.BibEntry | R Documentation |
Prints bibliographic information stored in BibEntry objects in BibLaTeX style
## S3 method for class 'BibEntry'
print(x, .opts = list(), ...)
x |
a BibEntry object |
.opts |
a list of formatting options from
|
... |
extra parameters to pass to the renderer. |
setting max.names to value
is equivalent to setting maxnames=value
and
minnames=value
in BibLaTeX.
Custom BibLaTeX styles may be defined using the function bibstyle
. To fully
support BibLaTeX, the created
environment must have functions for formatting each of the entry types described in
BibEntry
.
Lehman, Philipp and Kime, Philip and Boruvka, Audrey and Wright, J. (2013). The biblatex Package. http://mirrors.ibiblio.org/CTAN/macros/latex/contrib/biblatex/doc/biblatex.pdf.
BibEntry
, ReadBib
, sort.BibEntry
if (requireNamespace("bibtex")) {
file.name <- system.file("Bib", "biblatexExamples.bib", package="RefManageR")
bib <- suppressMessages(ReadBib(file.name))
print(bib[author="aristotle"], .opts = list(bib.style = "numeric"))
print(bib[55:57], .opts = list(bib.style = "authortitle", first.inits = FALSE))
print(bib[80:88], .opts = list(bib.style = "alphabetic", max.names = 1,
no.print.fields = "issn"))
print(bib[32:36], .opts = list(bib.style = "draft"))
oldopts <- BibOptions(bib.style = "authoryear", dashed = TRUE, sorting = "ydnt")
bib[editor = "westfahl"]
BibOptions(oldopts)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.