* title settings
@ 2010-10-17 11:20 Herbert Voss
2010-10-17 11:22 ` Herbert Voss
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Herbert Voss @ 2010-10-17 11:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
If I understand the documentations correct, then
the first command should set _all_ titles to
slanted except the subsection. When I run
this example the titles are always upright.
\setupheads[textstyle=slanted]
\setuphead[part][placehead=yes,color=blue]
\setuphead[subsection][numberstyle=bold,textstyle=cap]
\starttext
\part{Teilebene}
\chapter{Kapitelebene}
\section{Abschnittsebene 1}
\subsection{Abschnittsebene 2}
\subsubsection{Abschnittsebene 3}
\stoptext
running TeXLive2010 with mkiv
Herbert
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: title settings
2010-10-17 11:20 title settings Herbert Voss
@ 2010-10-17 11:22 ` Herbert Voss
2010-10-17 12:44 ` luigi scarso
2010-10-17 13:19 ` Hans Hagen
2 siblings, 0 replies; 5+ messages in thread
From: Herbert Voss @ 2010-10-17 11:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.10.2010 13:20, schrieb Herbert Voss:
> If I understand the documentations correct, then
> the first command should set _all_ titles to
> slanted except the subsection. When I run
> this example the titles are always upright.
forget it ...
Just saw, that there are different keys for
\setupheads.
sorry for the noise ...
Herbert
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: title settings
2010-10-17 11:20 title settings Herbert Voss
2010-10-17 11:22 ` Herbert Voss
@ 2010-10-17 12:44 ` luigi scarso
2010-10-17 13:23 ` Herbert Voss
2010-10-17 13:19 ` Hans Hagen
2 siblings, 1 reply; 5+ messages in thread
From: luigi scarso @ 2010-10-17 12:44 UTC (permalink / raw)
To: mailing list for ConTeXt users
2010/10/17 Herbert Voss <Herbert.Voss@fu-berlin.de>:
> running TeXLive2010 with mkiv
There is also minimals, which usually is an update (and most of the
time better) version of that one in TeXLive .
--
luigi
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: title settings
2010-10-17 11:20 title settings Herbert Voss
2010-10-17 11:22 ` Herbert Voss
2010-10-17 12:44 ` luigi scarso
@ 2010-10-17 13:19 ` Hans Hagen
2 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2010-10-17 13:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 17-10-2010 1:20, Herbert Voss wrote:
> If I understand the documentations correct, then
> the first command should set _all_ titles to
> slanted except the subsection. When I run
> this example the titles are always upright.
>
>
> \setupheads[textstyle=slanted]
> \setuphead[part][placehead=yes,color=blue]
> \setuphead[subsection][numberstyle=bold,textstyle=cap]
>
> \starttext
> \part{Teilebene}
> \chapter{Kapitelebene}
> \section{Abschnittsebene 1}
> \subsection{Abschnittsebene 2}
> \subsubsection{Abschnittsebene 3}
> \stoptext
>
> running TeXLive2010 with mkiv
Heads indeed inherit from parents with the root being \setupheads, but
with a few exeptions. The definition deep down is:
\unexpanded\def\definestructuresection[#1]%
{....
\getparameters[\??nh#1]
[ \c!textstyle=\structureheadparameterstrict\c!style,
\c!textcolor=\structureheadparameterstrict\c!color,
\c!numberstyle=\structureheadparameterstrict\c!style,
\c!numbercolor=\structureheadparameterstrict\c!color]%
....}
So, the explicit style and color variables have a more resticted
inheritance, that does not backtrack.
The reasons for this are a bit fuzzy and lays in the fact that we also
have style and color keys and if we would inherit this would mean that
one should nil the explicit text and number ones quite often.
So, text* and number* are bound to the current section level which means
that you can set up all (cloned) sections, subsections etc at once but
the setting does not bleed to other levels unless of course that is
somehow configured.
In practice, I often use style and color for setting both and then
textstyle and numberstyle if there is an exception. This permits things
like:
style={\switchtobodyfont[10pt]},textstyle=bold,numberstyle=slanted
In such cases the spacing is style driven which makes sense (I hope).
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: title settings
2010-10-17 12:44 ` luigi scarso
@ 2010-10-17 13:23 ` Herbert Voss
0 siblings, 0 replies; 5+ messages in thread
From: Herbert Voss @ 2010-10-17 13:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.10.2010 14:44, schrieb luigi scarso:
> 2010/10/17 Herbert Voss <Herbert.Voss@fu-berlin.de>:
>> running TeXLive2010 with mkiv
> There is also minimals, which usually is an update (and most of the
> time better) version of that one in TeXLive .
I know, but I want to use TeXLive
Herbert
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-10-17 13:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-17 11:20 title settings Herbert Voss
2010-10-17 11:22 ` Herbert Voss
2010-10-17 12:44 ` luigi scarso
2010-10-17 13:23 ` Herbert Voss
2010-10-17 13:19 ` 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).