added allow-overlap parameter for notes
This commit is contained in:
		| @@ -5,13 +5,15 @@ | ||||
| /// - color (color): The note's color | ||||
| /// - shape (str): The note's shape (see @@SHAPES for accepted values) | ||||
| /// - aligned (bool): True if the note is aligned with another note, in which case `side` must be `"over"`, false otherwise | ||||
| /// - allow-overlap (bool): If set to `false`, the note will try to reserve space in the column to avoid overlapping with neighboring participants. If set to `true`, the not will overlap other participants | ||||
| #let _note( | ||||
|   side, | ||||
|   content, | ||||
|   pos: none, | ||||
|   color: rgb("#FEFFDD"), | ||||
|   shape: "default", | ||||
|   aligned: false | ||||
|   aligned: false, | ||||
|   allow-overlap: true | ||||
| ) = {} | ||||
|  | ||||
| /// Accepted values for `shape` argument of @@_note() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user