Reputation
250
Next privilege 300 Rep.
Create new tags
Badges
1 3 7
Impact
~14k people reached

  • 0 posts edited
  • 0 helpful flags
  • 16 votes cast
Feb
26
comment How to avoid newline between enumeration and theorem?
I use this construct for exercise sheets and solutions, i.e. enumerating points for each exercise (1. a), 1. b), etc.). In some of those points, there is a theorem/statement that needs to be proven. There may be a better way to do this to avoid having theorems in enumerations, but I do not know.
Sep
30
comment What are the differences between latexmk and rubber?
To add some news: Rubber v1.2 was released on 2015-06-24. It seems however that for Ubuntu, 1.2 will not be included in 15.04, but 15.10 and further. For more information, see the launchpad of Rubber.
Oct
3
comment Get current “section” name without label
Jup, that works. Thank you.
Oct
3
comment Get current “section” name without label
I'm using memoir too, but in my document, \rightmark contains the section before the current section...
Oct
3
comment Get current “section” name without label
I tried your solution in my main document and I didn't work. Then I realized, that I'm using class memoir. Apparently, this breaks your solution. Do you have any idea why?
Oct
3
comment Get current “section” name without label
When trying to compile your MWE, I get the following error: > \@chapter=macro: [...] l.11 \show\@chapter Commenting the line \show\@chapter solves the compilation error, but I don't know if it breaks something in your idea.
Oct
3
comment Get current “section” name without label
Well, it is true that your example breaks * commands. I tried to find some guides on how to redefine a section command, but I wasn't really successful. Do you know a "How To" for redefining section commands or similar?
Oct
3
comment Get current “section” name without label
What do you mean with: You probably would want to deal with optional arguments to sectioning commands in a better way?
Oct
3
comment Get current “section” name without label
To my current knowledge, it is only possible to use nameref in combinations with labels. Is there some other way? Like receiving a reference from header numbering? This way, one could get the reference and plug it into nameref: \nameref{\getrefofnumber{\thechapter}}
Oct
3
comment Get current “section” name without label
Thanks. I added my intent and some examples including a MWE.