Often I find myself in the situation that I'd like to design how chapters and sections look. I know there are packages that help to design such things, but non of them seems to give me the option to use the chapter/section number and the label as variables (like #1, #2).
Stefan has done something close to what I want in his blog using titlesec, but I was wondering:
Is there a pure LaTeX way of accessing the number and label of chapter/sections and use those in variables while I design a pagestyle?