I wanted to use thmbox package for creating those boxes for theorems for my college notes, but when I initialize it the numbering of all the headings change to a depth of 2 like: 0.1. heading asd asd. It apparently also changes the style since everything in the document gets shifted.
I’m new to typst but using #set heading(numbering: none/“1.”) doesn’t seem to do anything. It only happens after the thmbox-init() function from the package that sets the heading numbering to X.X using that same function:
Hi, welcome! Could you share relevant parts of your document? (e.g., how you import and initialize thmbox, and how are the first several headings wrote)
#set heading(numbering: none/"1.") should have worked. It is necessary to know the small details to diagnose the problem.
A minimal working example:
#set page(width: 20em, height: auto)
#import "@preview/thmbox:0.3.0": thmbox-init, thmbox
#show: thmbox-init()
= Heading
#thmbox[
This is a basic Thmbox
] <basic-box>
It can be referenced (see @basic-box).
= The next section
#lorem(5)
@basic-box