148 reputation
4
bio website
location
age
visits member for 6 months
seen 37 mins ago
stats profile views 3

Jan
17
comment Specify newcommand to provide default argument to existing command
Aha, that appears to be it. I realised that \number was an existing command, but I thought that if I redefined it within the \newenvironment, it wouldn't cause any problems (as the scope would be limited). It seems I was wrong on that! If you post that as an answer, I'll accept you.
Jan
17
asked Specify newcommand to provide default argument to existing command
Oct
29
awarded  Scholar
Oct
29
accepted Different section numbering styles for toc and body
Oct
29
comment Different section numbering styles for toc and body
Thanks, that looks to work perfectly! :)
Oct
29
awarded  Supporter
Oct
29
comment Different section numbering styles for toc and body
almost. The modifications fix the table of contents and the paragraph styles, but because they removed my \renewcommand\paragraph, the actual text starts on the same line as the heading (instead of having a line break). If I add that back in, it breaks as before. What should I change in your definition to preserve the space after /paragraph and /subparagraph? Thanks again :)
Oct
28
awarded  Editor
Oct
28
comment Different section numbering styles for toc and body
Hey, thanks for the example. It works as a minimum working example, but when I try to integrate it into my style file it doesn't work correctly. I've edited my original post with the full style file, as well as where I tried adding it. The issue is that it seems to be changing both the toc and body styles to just (a) or (i), even though I tried placing your suggested code just after all my other \renewcommands. If I put a new \renewcommand down the bottom to restore the format (in the body) to 1(a) etc, it changes the toc as well :/ Any ideas?
Oct
28
revised Different section numbering styles for toc and body
expanded example code
Oct
28
awarded  Student
Oct
28
asked Different section numbering styles for toc and body