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

pass an offset value to \marginnote{} with tufte::margin_note() #103

Open
ericpgreen opened this issue Nov 4, 2021 · 0 comments
Open

pass an offset value to \marginnote{} with tufte::margin_note() #103

ericpgreen opened this issue Nov 4, 2021 · 0 comments

Comments

@ericpgreen
Copy link

I'm writing a tufte bookdown chapter and have a few instances where margin content overlaps (especially with full width tables). The latex tufte manual suggests that I can set an offset parameter:

\marginnote[offset]{Margin note text.}

Is there a way to pass an offset value to the \marginnote{} environment that R creates? My set up looks like this:

```{r example, results='asis'}
cat(tufte::margin_note("Margin note text."))
```

(FYI I'm using the margin_note command directly because I have to setup conditional evaluation in chunks to handle html vs latex content.)

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

1 participant