![](https://secure.gravatar.com/avatar/e5aa6984b53b8925e405ebbdbc051ad9.jpg?s=120&d=mm&r=g)
20 Jul
2022
20 Jul
'22
1:06 a.m.
Hi, how do I access the current chapter number and the number of chapters (including appendixes; after the first run)? I’d like to setup a chapter color like \definecolor[ChapterColor][ s=1,v=1, h=360*\namedstructurevariable{chapter}{number}/\numberofchapters, ] and use it for a thumb index... (I can’t access the wiki ATM; downforeveryoneorjustme.com says it would be just me.) Hraban