sschwarzer
2022-4-30 20:25:44

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.


soegaard2
2022-4-30 20:28:13

You can use the style 'unnumbered.


sschwarzer
2022-4-30 20:47:05

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


sorawee
2022-4-30 20:47:46

@section can have #:style


sorawee
2022-4-30 20:47:49

It goes there



sschwarzer
2022-4-30 20:56:26

I’m using @(define un-subsection (curry subsection #:style 'unnumbered)) now.