diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-02-23 18:08:41 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-02-23 18:08:41 +0100 |
commit | c3ae4997f73041c6b97d8aec055ba24096602ab4 (patch) | |
tree | ef061c3ce83992da9beb0557dd7e4dfeedae3107 /doc/context/sources/general/manuals/musings | |
parent | bc35fdf25e8326c543ea69622d804e211232214a (diff) | |
download | context-c3ae4997f73041c6b97d8aec055ba24096602ab4.tar.gz |
2021-02-23 17:44:00
Diffstat (limited to 'doc/context/sources/general/manuals/musings')
-rw-r--r-- | doc/context/sources/general/manuals/musings/musings-style.tex | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/context/sources/general/manuals/musings/musings-style.tex b/doc/context/sources/general/manuals/musings/musings-style.tex index 5ed934f2f..a85960bdd 100644 --- a/doc/context/sources/general/manuals/musings/musings-style.tex +++ b/doc/context/sources/general/manuals/musings/musings-style.tex @@ -43,12 +43,15 @@ \hss % title #2 - \doifmode {*sectionnumber} { - % distance - \hskip10mm - % number - \struttedbox{\offset[x=-1mm,y=2.5mm]{\scale[height=2cm]{#1}}} - } + % \ifnum\getsomestructurenumber{\currentstructurelevel}{last}>\plusone + \ifnum\somenamedheadnumber{chapter}{last}>\plusone + \doifmode {*sectionnumber} { + % distance + \hskip10mm + % number + \struttedbox{\offset[x=-1mm,y=2.5mm]{\scale[height=2cm]{#1}}} + } + \fi } \stoptexdefinition |