Skip to content

Combination of margin-note and inline-note not very pretty #32

@shahn

Description

@shahn

I have been unable to achieve a combination of margin-notes and inline-notes that looks quite like I want (see the green box in the picture below, which I added manually). Perhaps I am missing an option to the library, or you do not mean to support such usage?

#import "@preview/drafting:0.2.2": margin-note, inline-note

#let t = [
  #table(columns: 2,
    [asdf],
    [foo],
    [bar],
    [baz],
  )
]
#v(0.5fr)
#margin-note[#t][table looks awkward and noisy]

#v(1fr)

#margin-note[#inline-note[#t]][Would be nice just to have the table outline like in the table to the left]

#v(1fr)

#inline-note[#t]

#v(1fr)

In general, #inline-note(par-break: false)[it would be nice to have an inline note option that would merge lines together into a single box, with multiple lines merged.]

#v(1fr)

#inline-note[But not like this, where the box is just a single large rectangle, but kind of "hugging" the content. The
par-break option is clearly meant for this, but it doesn't really help as seen above.]

#v(1fr)

#v(0.5fr)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions