Hi all, Two questions concerning heading styles: 1) How can I control vertical spacing of section headings. I'm doing it now with: \setuphead [subsection] [before=\vskip -7pt, after=\vskip -20pt] But I think this is quite clumsy, because I'm adding a negative spacing. I only want to remove the "default" spacing... 2) I want to use a complete different font for headings. My mainface family is iwona but I want subsection titles in Palatino. How can I make this? Thanks, Zeus.
2007/12/12, Zeus Gómez Marmolejo
Hi all,
Two questions concerning heading styles:
1) How can I control vertical spacing of section headings. I'm doing it now with:
\setuphead [subsection] [before=\vskip -7pt, after=\vskip -20pt]
But I think this is quite clumsy, because I'm adding a negative spacing. I only want to remove the "default" spacing...
2) I want to use a complete different font for headings. My mainface family is iwona but I want subsection titles in Palatino. How can I make this?
Thanks,
Zeus.
\usetypescript[palatino,iwona] \setupbodyfont[iwona] \starttext \setuphead[section,subsection][style={\switchtotypeface[palatino]}] \setuphead[subsection][before=,after=] %\setuphead[subsection][before=\nowhitespace,after=\nowhitespace] \section{Knuth} \input knuth \subsection{Zapf} \input zapf \stoptext Wolfgang
participants (2)
-
Wolfgang Schuster
-
Zeus Gómez Marmolejo