houndean at gmail.com
Wed Jul 21 09:58:58 UTC 2021
I would like to show in
- Headings and
- the heading to a section
a simple number <section>, but when referencing it in the text body,
display it as <chapter>.<section>. I have tried titleformat which just
affects the heading to a section and overrides the setting \thesection
which affects all of TOC, Headings (using fancyhdr) and references.
Neither prettyref or refstyle seem to provide this facility.
Ideally it would be nice to set \thesection and have some way to just
format the references.
There is an obvious clunky way of putting "Section <section> of Chapter
<chapter>" in the text but I would like to avoid this if possible.
Hopefully this makes sense and any thoughts would be very welcome.
I'm using 22.214.171.124 on Ubuntu 18.04.
More information about the lyx-users