How can I suppress the numbering for subsections in a Scribble document? For example, instead of “1.1 Heading”, I want just “Heading”. If that’s complicated, I’m also fine with suppressing the numbering for all heading levels in the document, e.g. for sections, too.
You can use the style 'unnumbered
.
A search for “unnumbered” takes me here: https://docs.racket-lang.org/scribble/core.html#%28idx._%28gentag._17._%28lib._scribblings%2Fscribble%2Fscribble..scrbl%29%29%29 . I’m now trying to find out how to apply this to subsections. Maybe I’m too lazy and should read more of the Scribble documentation first? :slightly_smiling_face:
(It’s not that I’m writing my first Scribble document; I wrote the documentation for a library at some point, but could get by without reading a lot of the Scribble docs, if I remember correctly.)
@section
can have #:style
It goes there
Ok, had just found it: https://docs.racket-lang.org/scribble/base.html#%28def._%28%28lib._scribble%2Fbase..rkt%29._subsection%29%29 :smile:
I’m using @(define un-subsection (curry subsection #:style 'unnumbered))
now.