* Killing the space after a section.
@ 2007-04-12 16:18 John R. Culleton
2007-04-12 21:35 ` luigi scarso
2007-04-12 22:23 ` luigi scarso
0 siblings, 2 replies; 4+ messages in thread
From: John R. Culleton @ 2007-04-12 16:18 UTC (permalink / raw)
To: ntg-context
I have the file set up with no parindent and one blank line between
paragraphs. but I want to kill the extra space after \section
headers. The current definition is:
\setuphead[section][number=no,style=\SectSans,page=no,after={\vskip
2sp}]
...but the blank line remains. Do I need to use a negative \vskip?
\SectSans is a font I set up (bold, sans serif and slightly larger. )
If there is a way to specify both bold and sans serif at a larger
(e.g. \tfb) size I would be happy to use that instead.
--
John Culleton
Able Indexing and Typesetting
Precision typesetting (tm) at reasonable cost.
Satisfaction guaranteed.
http://wexfordpress.com
_________________________________________________________________
Need personalized email and website? Look no further. It's easy
with Doteasy $0 Web Hosting! Learn more at www.doteasy.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Killing the space after a section.
2007-04-12 16:18 Killing the space after a section John R. Culleton
@ 2007-04-12 21:35 ` luigi scarso
2007-04-12 22:23 ` luigi scarso
1 sibling, 0 replies; 4+ messages in thread
From: luigi scarso @ 2007-04-12 21:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
> \SectSans is a font I set up (bold, sans serif and slightly larger. )
> If there is a way to specify both bold and sans serif at a larger
> (e.g. \tfb) size I would be happy to use that instead.
hmm, maybe
\ssbfb
luigi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Killing the space after a section.
2007-04-12 16:18 Killing the space after a section John R. Culleton
2007-04-12 21:35 ` luigi scarso
@ 2007-04-12 22:23 ` luigi scarso
2007-04-13 7:55 ` Hans Hagen
1 sibling, 1 reply; 4+ messages in thread
From: luigi scarso @ 2007-04-12 22:23 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 4/12/07, John R. Culleton <john@wexfordpress.com> wrote:
> I have the file set up with no parindent and one blank line between
> paragraphs. but I want to kill the extra space after \section
> headers. The current definition is:
> \setuphead[section][number=no,style=\SectSans,page=no,after={\vskip
> 2sp}]
>
> ...but the blank line remains. Do I need to use a negative \vskip?
not an answer (sorry). But try this
\setuphead[section][style={\ssbfb},
before={\begingroup\ruledvbox\bgroup},
after={\egroup\endgroup}]
\starttext
\section{Foo} foo baa
\section{gMoo()} gMoo
\stoptext
luigi
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Killing the space after a section.
2007-04-12 22:23 ` luigi scarso
@ 2007-04-13 7:55 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2007-04-13 7:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
luigi scarso wrote:
> On 4/12/07, John R. Culleton <john@wexfordpress.com> wrote:
>
>> I have the file set up with no parindent and one blank line between
>> paragraphs. but I want to kill the extra space after \section
>> headers. The current definition is:
>> \setuphead[section][number=no,style=\SectSans,page=no,after={\vskip
>> 2sp}]
>>
>> ...but the blank line remains. Do I need to use a negative \vskip?
>>
> not an answer (sorry). But try this
>
> \setuphead[section][style={\ssbfb},
> before={\begingroup\ruledvbox\bgroup},
> after={\egroup\endgroup}]
> \starttext
> \section{Foo} foo baa
> \section{gMoo()} gMoo
> \stoptext
>
>
> luigi
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
after=\nowhitespace
--
-----------------------------------------------------------------
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
-----------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-13 7:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-12 16:18 Killing the space after a section John R. Culleton
2007-04-12 21:35 ` luigi scarso
2007-04-12 22:23 ` luigi scarso
2007-04-13 7:55 ` 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).