Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toc fonts not the same in pdf handout #8

Closed
Eluvias opened this issue Oct 7, 2016 · 2 comments
Closed

toc fonts not the same in pdf handout #8

Eluvias opened this issue Oct 7, 2016 · 2 comments

Comments

@Eluvias
Copy link

Eluvias commented Oct 7, 2016

Hello -

Here is a screenshot of the pdf output with contents included. Thanks.

---
title: "Tint Is Not Tufte"
subtitle: "An implementation in R Markdown"
author: "JJ Allaire, Yihui Xie, Dirk Eddelbuettel"
date: "`r Sys.Date()`"
output:
  tint::tintPdf :
    toc: yes

---

```{r setup, include=FALSE}
library(tint)
# invalidate cache when the tufte version changes
knitr::opts_chunk$set(tidy = FALSE, cache.extra = packageVersion('tint'))
options(htmltools.dir.version = FALSE)


# Section I
# Section II
## Subsection A
# Section III

PDF

untitled 1

R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods  
[7] base     
@eddelbuettel
Copy link
Owner

Thanks, noted. I'll take a look. Not an option I had used yet. Should be straightforward-ish to fix.

@Eluvias
Copy link
Author

Eluvias commented Oct 7, 2016

Thanks Dirk for your prompt reply - it's a really good template.

eddelbuettel added a commit that referenced this issue Oct 7, 2016
correct font toc in pdf mode (closes #8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants