ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Move textrule closer to head
@ 2016-04-13 16:10 Tom Harrop
  2016-04-13 16:47 ` Pablo Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Tom Harrop @ 2016-04-13 16:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

I'm a ConTeXt beginner. I'm working on a document where I would like a 
textrule under my subsubsection headings. If I use after=\textrule, the 
placement of the textrule is too far from the heading, and I haven't 
found a way to move it closer to the heading either with \setuphead or 
\setuptextrules.

Here is an example:

> \setuphead[subsubsection]
>           [after=\textrule]
>
> \starttext
>
> \subsubsection{I would like less space between this heading and its 
> textrule}
>
> Here is some text.
>
> \stoptext
>

I realise that the spacing looks pretty good in the PDF produced by this 
example, so you'll just have to believe me that it needs to be closer to 
the headings in my document.

I'd appreciate any help on this, including suggestions of 
alternative/better methods to do this.

Thanks for reading,

Tom
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Move textrule closer to head
  2016-04-13 16:10 Move textrule closer to head Tom Harrop
@ 2016-04-13 16:47 ` Pablo Rodriguez
  2016-04-13 17:33   ` Tom Harrop
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Rodriguez @ 2016-04-13 16:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 04/13/2016 06:10 PM, Tom Harrop wrote:
> Hello,
> 
> I'm a ConTeXt beginner. I'm working on a document where I would like a 
> textrule under my subsubsection headings. If I use after=\textrule, the 
> placement of the textrule is too far from the heading, and I haven't 
> found a way to move it closer to the heading either with \setuphead or 
> \setuptextrules.

Hi Tom,

how about another rule? (From
http://wiki.contextgarden.net/Titles#Titling_Style.)

   \setuphead[subsubsection]
             [after=\hrule\blank]

I hope it helps,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Move textrule closer to head
  2016-04-13 16:47 ` Pablo Rodriguez
@ 2016-04-13 17:33   ` Tom Harrop
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Harrop @ 2016-04-13 17:33 UTC (permalink / raw)
  To: ntg-context

On 13/04/16 18:47, Pablo Rodriguez wrote:
> Hi Tom, how about another rule? (From 
> http://wiki.contextgarden.net/Titles#Titling_Style.) 
> \setuphead[subsubsection] [after=\hrule\blank] I hope it helps, Pablo 

Ahh, it's perfect. I missed that page of the wiki! Thank you.
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2016-04-13 17:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-13 16:10 Move textrule closer to head Tom Harrop
2016-04-13 16:47 ` Pablo Rodriguez
2016-04-13 17:33   ` Tom Harrop

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).