How to give a section a custom number?


Is it possible to change the number of just one section and have it use a custom number instead of whatever the section counter is equal to, and also have this number be shown correctly in the table of contents and whatever depends on this section’s number (eg. equation numbers etc…)?


You can try to set section-nr locally:


I haven’t checked the toc, but I think it should work.


Thank you! I found that the same could also be done by forcing a particular value on display-section using with (the difference being that section-nr requires a numerical value as it will attempt to increment it while display-section does not).