Tint Is Not Tufte: Brief Intro
Dirk Eddelbuettel and Jonathan Gilligan
2022-11-01
Main Column Figures
Besides margin and full width figures, one can of course also include figures constrained to the main column. This is the default type of figures in the LaTeX/HTML output. A single figure with cylinders in color and transmission not controlled for, and once again using theme_tint()
:
Font Extensions
Since version 0.1.1, the Lato and Garamond font families can be used. See the package for details. In contrast to the default Roboto variant, the Lato variant uses
latexfonts:
- package: lato
options: default
- package: FiraMono
linkcolor: "0.3,0.3,0.6"
The Garamond variant uses
latexfonts:
- package: newtxmath
options:
- cmintegrals
- cmbraces
- package: ebgaramond-maths
- package: nimbusmononarrow
This requires the fonts to be installed on the system on which the document is prepared. How to install additional fonts is beyond the scope of this note, see platform and font-specific help.
Citations, Code, Tables and More
Citations
One can use Pandoc-style citations using the the Bibtext citation identifier inside of square brackets: [@someone:1984]
. In pdf mode, the standard natbib
features are also available such as \citet{}
, \citep{}
and more.
Code
The package, just like any other pandoc
-driven use of markdown, can also typset code directly. We showed this above with the ggplot()
example (using R formatting) and the font declarations (using YAML formatting).