diff --git a/index.qmd b/index.qmd index f89981a3..a546f8db 100644 --- a/index.qmd +++ b/index.qmd @@ -51,10 +51,16 @@ The following typographic conventions are used in this book: * _italic_ : indicates terms to be _emphasized_ or defined in the text, ... -* **bold** : is used for names of R packages +* **bold** : is used for names of R packages. + [Or, better yet: **`bold monospace`**. + I can now use inline 'pkg("lattice")' e.g., `r pkg("lattice")`, or also with a citation, + `pkg("lattice", cite=TRUE)` -> `r pkg("lattice", cite=TRUE)` * `fixed-width` : is used in program listings as well as in text to refer to variable and function names, R statement elements and keywords. +* R code in program listings and output is presented in `monospaced (typewriter)` font, + [`fira mono`](https://fonts.google.com/specimen/Fira+Mono) + * _`fixed-width italic`_ : isn't used yet, but probably should be. For R functions in packages, we use the notation `package::function()`, for example: `car::Anova()` to identify where those functions are defined