ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* thinrules
@ 2012-05-17 15:46 Meer, H. van der
  2012-05-17 15:50 ` thinrules Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Meer, H. van der @ 2012-05-17 15:46 UTC (permalink / raw)
  To: ConTeXt NTG


[-- Attachment #1.1: Type: text/plain, Size: 216 bytes --]

Macro \thinrules places vertical whitespace before the first of its lines. I would like to get rid of that one, but have no success in doint that.
Usage is: \par\thinrules[..]\par

Howto?

H van der Meer




[-- Attachment #1.2: Type: text/html, Size: 3880 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: thinrules
  2012-05-17 15:46 thinrules Meer, H. van der
@ 2012-05-17 15:50 ` Wolfgang Schuster
       [not found]   ` <33004B9E-6632-4BF9-BF77-FEEDFA4878E8@uva.nl>
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2012-05-17 15:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 341 bytes --]


Am 17.05.2012 um 17:46 schrieb Meer, H. van der:

> Macro \thinrules places vertical whitespace before the first of its lines. I would like to get rid of that one, but have no success in doint that.
> Usage is: \par\thinrules[..]\par
> 
> Howto?

\starttext

a
\hrule
b

\strut a
\hrule
\strut b

\stoptext

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 3086 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: thinrules
       [not found]   ` <33004B9E-6632-4BF9-BF77-FEEDFA4878E8@uva.nl>
@ 2012-05-17 17:13     ` Wolfgang Schuster
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2012-05-17 17:13 UTC (permalink / raw)
  To: Meer, H. van der; +Cc: mailing list for ConTeXt users


Am 17.05.2012 um 18:09 schrieb Meer, H. van der:

> Thanks,
> 
> From your answer I understand that collapsing the preceding vertical space is impossible with \thinrules.

\thinrule adds \strut at the begin of the rule which results in vertical space above and below.

Wolfgang

___________________________________________________________________________________
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: thinrules
  2010-04-16 20:57 thinrules Hans van der Meer
@ 2010-04-16 21:30 ` Hans Hagen
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2010-04-16 21:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 16-4-2010 10:57, Hans van der Meer wrote:
> \thinrules disappear when then are the lone item and I can make them
> appear only by typeing somthing behind/before.
> However, I would to force a thin rule anyway, even if there is no
> surrounding text.
> How?

put something invisible in front, \strut or so

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

* thinrules
@ 2010-04-16 20:57 Hans van der Meer
  2010-04-16 21:30 ` thinrules Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Hans van der Meer @ 2010-04-16 20:57 UTC (permalink / raw)
  To: NTG ConTeXt

\thinrules disappear when then are the lone item and I can make them  
appear only by typeing somthing behind/before.
However, I would to force a thin rule anyway, even if there is no  
surrounding text.
How?

Hans van der Meer




___________________________________________________________________________________
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:[~2012-05-17 17:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-17 15:46 thinrules Meer, H. van der
2012-05-17 15:50 ` thinrules Wolfgang Schuster
     [not found]   ` <33004B9E-6632-4BF9-BF77-FEEDFA4878E8@uva.nl>
2012-05-17 17:13     ` thinrules Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2010-04-16 20:57 thinrules Hans van der Meer
2010-04-16 21:30 ` thinrules 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).