Skip to content

add relative versions of \currentsectionlevel #455

@kohlhase

Description

@kohlhase

In an nutshell: \currentsectionlevel[-1] should refer to the parent of the current sectioning level and \currentsectionlevel[+1] to the children,
and \currentsectionlevel should do what it always did.

I think this is literally just incrementing or decrementing \l_stex_current_section_level_int suitably.

I have wanted this for quite a while.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions