You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the book I refer to the first use of a package in the text with the package name in bold and
citation: **lattice** package [@R-lattice]; thereafter, I just use lattice.
All packages used in the book have their BibTeX references in bib/packages.bib, and the keys are all of the form R-pkgname.
I would prefer to have the package name appear in (a) a distinctive font, (b) in color if possible,
(c) be able to generate the citations as needed, (d) and automatically generate index entries.
I have a first go at a function pkg() which I intend to use inline as, r pkg(package), and to generate the citations
using r pkg(package, cite=TRUE), which should also generate index entries in LaTeX. (This function, and one to colorize() text are defined in R/common.R, which is source()d in every chapter file.)
My attempts to change the font or color of the package name now fail. How can I fix this?
In the book I refer to the first use of a package in the text with the package name in bold and
citation:
**lattice** package [@R-lattice]
; thereafter, I just use lattice.All packages used in the book have their BibTeX references in
bib/packages.bib
, and the keys are all of the formR-pkgname
.I would prefer to have the package name appear in (a) a distinctive font, (b) in color if possible,
(c) be able to generate the citations as needed, (d) and automatically generate index entries.
I describe this in `test/package-citations.html, also rendered in PDF.
I have a first go at a function
pkg()
which I intend to use inline as,r pkg(package)
, and to generate the citationsusing
r pkg(package, cite=TRUE)
, which should also generate index entries in LaTeX. (This function, and one tocolorize()
text are defined inR/common.R
, which issource()
d in every chapter file.)My attempts to change the font or color of the package name now fail. How can I fix this?
The text was updated successfully, but these errors were encountered: