| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 7 months |
| seen | May 6 at 14:14 | |
| stats | profile views | 4 |
|
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. |