ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* vertical space between \framed’s
@ 2010-10-13  8:54 Philipp Gesang
  2010-10-13  8:58 ` Andreas Harder
  0 siblings, 1 reply; 5+ messages in thread
From: Philipp Gesang @ 2010-10-13  8:54 UTC (permalink / raw)
  To: ntg-context


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

Hi,


how do I get rid of the space between two consecutive framed
texts? In the following example:

···8<····························································

\def\testbox{\framed[frame=on,width=2em,height=2em]{A\par}}
\setupinterlinespace[0pt]
\starttext

\testbox\testbox
\stoptext

···8<····························································

there’s still a vertical gap that I thought I eliminated by
switching off the interlinespace.

Thanks for any recommendations,


Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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:  vertical space between \framed’s
  2010-10-13  8:54 vertical space between \framed’s Philipp Gesang
@ 2010-10-13  8:58 ` Andreas Harder
  2010-10-13  9:25   ` Philipp Gesang
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Harder @ 2010-10-13  8:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 13.10.2010 um 10:54 schrieb Philipp Gesang:

> Hi,
> 
> 
> how do I get rid of the space between two consecutive framed
> texts? In the following example:
> 
> ···8<····························································
> 
> \def\testbox{\framed[frame=on,width=2em,height=2em]{A\par}}
> \setupinterlinespace[0pt]
> \starttext
> 
> \testbox\testbox
> \stoptext
> 
> ···8<····························································
> 
> there’s still a vertical gap that I thought I eliminated by
> switching off the interlinespace.
> 
> Thanks for any recommendations,

I think its \interlineskip:

\testbox\nointerlineskip\testbox

Greeting
	Andreas
___________________________________________________________________________________
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:  vertical space between \framed’s
  2010-10-13  8:58 ` Andreas Harder
@ 2010-10-13  9:25   ` Philipp Gesang
  2010-10-13  9:33     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Philipp Gesang @ 2010-10-13  9:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On 2010-10-13 <10:58:51>, Andreas Harder wrote:
> 
> Am 13.10.2010 um 10:54 schrieb Philipp Gesang:
> 
> > Hi,
> > 
> > 
> > how do I get rid of the space between two consecutive framed
> > texts? In the following example:
> 
> I think its \interlineskip:
> 
> \testbox\nointerlineskip\testbox

Thanks, that does it. Is there, perhaps, an ‘official’ setup for this?

Philipp

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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:  vertical space between \framed’s
  2010-10-13  9:25   ` Philipp Gesang
@ 2010-10-13  9:33     ` Wolfgang Schuster
  2010-10-13 10:03       ` Philipp Gesang
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2010-10-13  9:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 13.10.2010 um 11:25 schrieb Philipp Gesang:

>> \testbox\nointerlineskip\testbox
> 
> Thanks, that does it. Is there, perhaps, an ‘official’ setup for this?

The small space is inserted by *TeX* and you shouldn’t change this
at the global level. To disable \interlineskip at a local range you
can write

\bgroup\offinterlineskip
\testbox
\testbox
\testbox
...
\egroup

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:  vertical space between \framed’s
  2010-10-13  9:33     ` Wolfgang Schuster
@ 2010-10-13 10:03       ` Philipp Gesang
  0 siblings, 0 replies; 5+ messages in thread
From: Philipp Gesang @ 2010-10-13 10:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

On 2010-10-13 <11:33:24>, Wolfgang Schuster wrote:
> 
> Am 13.10.2010 um 11:25 schrieb Philipp Gesang:
> 
> >> \testbox\nointerlineskip\testbox
> > 
> > Thanks, that does it. Is there, perhaps, an ‘official’ setup for this?
> 
> The small space is inserted by *TeX* and you shouldn’t change this
> at the global level. To disable \interlineskip at a local range you
> can write
> 
> \bgroup\offinterlineskip
> \testbox
> \testbox
> \testbox
> ...
> \egroup

OK, thanks, I’ll be careful! Philipp

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

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 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

end of thread, other threads:[~2010-10-13 10:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13  8:54 vertical space between \framed’s Philipp Gesang
2010-10-13  8:58 ` Andreas Harder
2010-10-13  9:25   ` Philipp Gesang
2010-10-13  9:33     ` Wolfgang Schuster
2010-10-13 10:03       ` Philipp Gesang

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