# Trimming tables of contents in #lang scribble/manual

**URL:** <https://racket.discourse.group/t/trimming-tables-of-contents-in-lang-scribble-manual/450>\
**Category:** Questions & Answers\
**Tags:** question\
**Created:** [December 20, 2021, 2:56am UTC](https://racket.discourse.group/t/trimming-tables-of-contents-in-lang-scribble-manual/450 "2021-12-20T02:56:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![plragde](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@plragde](https://racket.discourse.group/u/plragde)\
**Post date:** [December 20, 2021, 2:56am UTC](https://racket.discourse.group/t/trimming-tables-of-contents-in-lang-scribble-manual/450/1 "2021-12-20T02:56:29Z")

</div>

I have a Scribble document whose top-level file uses #:style '(toc multipage), followed by several applications of @include-section. On one of the subpages rendered separately, I have many instances of @section, @subsection, and @subsubsection. I'd like them to not all show up in the table of contents generated in the left sidebar for that subpage. I could live with @section only but it would be nice if I could be selective about the subs and subsubs. Is this possible? There is a mention of a "quiet" style for (struct part ...) in the documentation for @local-table-of-contents, but it's unclear that this applies to the left sidebar, and I'm clueless as to how to use it in either case. Thanks!

---

<div class="post-metadata">

**Author:** ![mflatt](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/mflatt/32/6_2.png) [@mflatt](https://racket.discourse.group/u/mflatt)\
**Post date:** [December 20, 2021, 3:35am UTC](https://racket.discourse.group/t/trimming-tables-of-contents-in-lang-scribble-manual/450/2 "2021-12-20T03:35:01Z")

</div>

I think you want the `'toc-hidden` style property. You can supply `#:style '(toc-hidden)` to `section`, `subsection`, or `subsubsection`, because those functions treat a list of symbols as a list of style properties to use for the generated `part`.

---

<div class="post-metadata">

**Author:** ![plragde](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@plragde](https://racket.discourse.group/u/plragde)\
**Post date:** [December 20, 2021, 3:49am UTC](https://racket.discourse.group/t/trimming-tables-of-contents-in-lang-scribble-manual/450/3 "2021-12-20T03:49:18Z")

</div>

Got it, thanks! That is simple and flexible.
