* \setuphead[section] who do subsection inherit and how to set something just for sections?
@ 2009-06-03 10:14 tristramg
2009-06-03 9:09 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: tristramg @ 2009-06-03 10:14 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 687 bytes --]
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
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 270 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: \setuphead[section] who do subsection inherit and how to set something just for sections?
2009-06-03 10:14 \setuphead[section] who do subsection inherit and how to set something just for sections? tristramg
@ 2009-06-03 9:09 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2009-06-03 9:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-03 10:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-03 10:14 \setuphead[section] who do subsection inherit and how to set something just for sections? tristramg
2009-06-03 9:09 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).