Skip to content

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

@ericpgreen

Description

@ericpgreen

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions