christianp,
@christianp@mathstodon.xyz avatar

This morning I'm looking at .
The first thing in the tutorial (https://typst.app/docs/tutorial/writing-in-typst/) is how to write a header, and it annoys me that it makes the same mistake HTML, and everything following HTML, made: you specify the level of the heading absolutely, and it's not scoped to a section of the document.

So when you want to have a heading one level lower, you have to know what level the previous heading was. And you can't tell how much of the document the heading applies to, only inferring it as going until the next header of the same or higher level.

I've always wondered why has
\section{name}
instead of
\begin{section}{name} ... \end{section}

Am I alone in wanting this?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • typst
  • DreamBathrooms
  • magazineikmin
  • thenastyranch
  • modclub
  • everett
  • rosin
  • Youngstown
  • slotface
  • ethstaker
  • mdbf
  • kavyap
  • osvaldo12
  • InstantRegret
  • Durango
  • megavids
  • ngwrru68w68
  • tester
  • khanakhh
  • love
  • tacticalgear
  • cubers
  • GTA5RPClips
  • Leos
  • normalnudes
  • provamag3
  • cisconetworking
  • anitta
  • JUstTest
  • All magazines