1d
awarded Popular Question
Mar
29
awarded Popular Question
Mar
21
accepted How to find out largest ((sub)sub)section number in a document?
Mar
20
comment How to find out largest ((sub)sub)section number in a document?
Dear David, please see the solution below I came up with. Thanks a lot for helping (if you like you can post it as solution and I will remove mine).
Mar
20
answered How to find out largest ((sub)sub)section number in a document?
Mar
20
answered ref to subsection number only
Mar
19
awarded Yearling
Mar
19
awarded Supporter
Mar
19
comment How to find out largest ((sub)sub)section number in a document?
Hi Davoid, I updated the question. The idea is indeed great, but for subsections \ref{} includes the section number, and for subsubsections, it includes the section and subsection number. How can this be avoided?
Mar
19
revised How to find out largest ((sub)sub)section number in a document?
added 426 characters in body
Mar
19
comment How to find out largest ((sub)sub)section number in a document?
... wow, that's quite a bit above my head. For now, I added the line \AtEndDocument{\immediate\write\@auxout{\string\expandafter\gdef\noexpand\csnam­e B@\the\c@subsection\string\endcsname{\the\c@paragraph}}} [with \makeatletter...\makeatother] to the header and obtain the additional line \expandafter\gdef \csname B@0\endcsname{0} in the .aux file...
Mar
19
comment How to find out largest ((sub)sub)section number in a document?
Thanks a lot, David, that would be very helpful. I couldn't find a duplicate, but I might have used the 'wrong words'.
Mar
19
asked How to find out largest ((sub)sub)section number in a document?
Mar
13
awarded Notable Question
Mar
5
comment How to define a list of (parametric) functions (with local())
@Avinash: This does not work for me (current R-devel)
Mar
5
comment How to define a list of (parametric) functions (with local())
@James: It is (and even a similar example :-) ). Very good answer.
Mar
5
asked How to define a list of (parametric) functions (with local())
Feb
24
awarded Nice Question
Feb
18
awarded Notable Question
Feb
10
awarded Popular Question
1 2 3 4 5