\setuphead[section] who do subsection inherit and how to set something just for sections?
Hello, Sorry if you get this email twice. I tried posting while I wasn't yet member of the mailing list. I didn't find where I can get more informations about this issue: I want to change the apparance of a \section so I did: \setuphead[section][style=\bf] \starttext \section{foo} \subsection{bar} \stoptext However, subsection is also in bold. If y do textstyle instead of style, then subsection doesn't inherit the style. So I have two questions: – in which documentation is described what parameters are inherited or not? – how can I change the formating of a section without changing the subsection? Thanks a lot for your help. Regards Tristram
tristramg@gmail.com wrote:
Hello,
Sorry if you get this email twice. I tried posting while I wasn't yet member of the mailing list.
I didn't find where I can get more informations about this issue:
I want to change the apparance of a \section so I did:
\setuphead[section][style=\bf] \starttext \section{foo} \subsection{bar} \stoptext
However, subsection is also in bold. If y do textstyle instead of style, then subsection doesn't inherit the style.
So I have two questions: – in which documentation is described what parameters are inherited or not?
normally, parameters are inherited when you clone (like wide figures from figures) or when there is some parent setup command; in the case of sections, there is inheritance but some are overloaded in strc-def normnally when you set up head, you only need to set up chapter, section, subsection, subsubsection (the unnumbered variants inherit)
– how can I change the formating of a section without changing the subsection?
not, as subsection inherits, so then you need to set up the subsection too ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
tristramg@gmail.com