ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Combinations without any vertical space
@ 2011-11-23 23:29 Aditya Mahajan
  2011-11-24  5:21 ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2011-11-23 23:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 473 bytes --]

How do I create combinations without any vertical space?

The following test file

\definecombination
     [overviewpage]
     [distance=\zeropoint,
      inbetween=,
     ]

\starttext
\startcombination[overviewpage][2*2]
   {\framed{Hello}}{}%
   {\framed{Hello}}{}%
   {\framed{Hello}}{}%
   {\framed{Hello}}{}%
\stopcombination
\stoptext

gives the attached result. Note that there is still vertical space between 
the two rows. How can I get rid of this space?

Aditya

[-- Attachment #2: Type: APPLICATION/pdf, Size: 5100 bytes --]

[-- Attachment #3: 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] 4+ messages in thread

* Re: Combinations without any vertical space
  2011-11-23 23:29 Combinations without any vertical space Aditya Mahajan
@ 2011-11-24  5:21 ` Wolfgang Schuster
  2011-11-24  6:25   ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2011-11-24  5:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 24.11.2011 um 00:29 schrieb Aditya Mahajan:

> How do I create combinations without any vertical space?
> 
> The following test file
> 
> \definecombination
>    [overviewpage]
>    [distance=\zeropoint,
>     inbetween=,
>    ]
> 
> \starttext
> \startcombination[overviewpage][2*2]
>  {\framed{Hello}}{}%
>  {\framed{Hello}}{}%
>  {\framed{Hello}}{}%
>  {\framed{Hello}}{}%
> \stopcombination

\startcombination[overviewpage][2*1]
 {\framed{Hello}}{\framed{Hello}}
 {\framed{Hello}}{\framed{Hello}}
\stopcombination

or use a natural table.

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] 4+ messages in thread

* Re: Combinations without any vertical space
  2011-11-24  5:21 ` Wolfgang Schuster
@ 2011-11-24  6:25   ` Aditya Mahajan
  2011-11-24  7:49     ` Jaroslav Hajtmar
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan @ 2011-11-24  6:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 24 Nov 2011, Wolfgang Schuster wrote:

> Am 24.11.2011 um 00:29 schrieb Aditya Mahajan:
>
>> How do I create combinations without any vertical space?
>>
>> The following test file
>>
>> \definecombination
>>    [overviewpage]
>>    [distance=\zeropoint,
>>     inbetween=,
>>    ]
>>
>> \starttext
>> \startcombination[overviewpage][2*2]
>>  {\framed{Hello}}{}%
>>  {\framed{Hello}}{}%
>>  {\framed{Hello}}{}%
>>  {\framed{Hello}}{}%
>> \stopcombination
>
> \startcombination[overviewpage][2*1]
> {\framed{Hello}}{\framed{Hello}}
> {\framed{Hello}}{\framed{Hello}}
> \stopcombination

Well, the example was too simplistic. After a bit of trial and error, the 
following gives the desired effect.

\setupcombinations[...][before=,after=]

Thanks,
Aditya
___________________________________________________________________________________
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] 4+ messages in thread

* Re: Combinations without any vertical space
  2011-11-24  6:25   ` Aditya Mahajan
@ 2011-11-24  7:49     ` Jaroslav Hajtmar
  0 siblings, 0 replies; 4+ messages in thread
From: Jaroslav Hajtmar @ 2011-11-24  7:49 UTC (permalink / raw)
  To: ntg-context

Hello ConTeXist.

The thing I'm interested.
It is possible to achieve that arose at the bottom of an emptyspace and 
was fully utilized the entire page?
Here is an minimal example:

\definecombination
     [overviewpage]
     [distance=\zeropoint,
      inbetween=,
     ]
\setuplayout[page]
\startTEXpage
\startcombination[overviewpage][2*1]
{\framed{Hello}}{\framed{Hello}}
{\framed{Hello}}{\framed{Hello}}
\stopcombination
\stopTEXpage


Thanx Jaroslav

Dne 24.11.2011 7:25, Aditya Mahajan napsal(a):
> On Thu, 24 Nov 2011, Wolfgang Schuster wrote:
>
>> Am 24.11.2011 um 00:29 schrieb Aditya Mahajan:
>>
>>> How do I create combinations without any vertical space?
>>>
>>> The following test file
>>>
>>> \definecombination
>>>    [overviewpage]
>>>    [distance=\zeropoint,
>>>     inbetween=,
>>>    ]
>>>
>>> \starttext
>>> \startcombination[overviewpage][2*2]
>>>  {\framed{Hello}}{}%
>>>  {\framed{Hello}}{}%
>>>  {\framed{Hello}}{}%
>>>  {\framed{Hello}}{}%
>>> \stopcombination
>>
>> \startcombination[overviewpage][2*1]
>> {\framed{Hello}}{\framed{Hello}}
>> {\framed{Hello}}{\framed{Hello}}
>> \stopcombination
>
> Well, the example was too simplistic. After a bit of trial and error, 
> the following gives the desired effect.
>
> \setupcombinations[...][before=,after=]
>
> Thanks,
> Aditya
> ___________________________________________________________________________________ 
>
> 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
> ___________________________________________________________________________________ 
>
>

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

end of thread, other threads:[~2011-11-24  7:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-23 23:29 Combinations without any vertical space Aditya Mahajan
2011-11-24  5:21 ` Wolfgang Schuster
2011-11-24  6:25   ` Aditya Mahajan
2011-11-24  7:49     ` Jaroslav Hajtmar

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