ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Combination: no gap between cells?
@ 2012-03-08  9:40 Procházka Lukáš Ing. - Pontex s. r. o.
  2012-03-08  9:42 ` Pavel Dohnal
  0 siblings, 1 reply; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-03-08  9:40 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]

Hello,

I'd like to print several frames of a precise size, one after other, e.g. 2 per row, 2 rows.

I'm trying to use combination for this purpose - but I'd need to suppress any horizontal and vertical gap between cells.

Is there any option which would cause this?

My code so far:

---- t-Prn.mkiv
\starttext
   \startcombination[2*2]
     {\framed[width=5cm,height=4cm,align=flushleft,offset=0.5cm]{AAA\par Bb\par c}}
     {\framed[width=5cm,height=4cm,align=flushleft,offset=0.5cm]{AAA\par Bb\par c}}
     {\framed[width=5cm,height=4cm,align=flushleft,offset=0.5cm]{AAA\par Bb\par c}}
     {\framed[width=5cm,height=4cm,align=flushleft,offset=0.5cm]{AAA\par Bb\par c}}
   \stopcombination
\stoptext
----

Something like "\startcombination[space=none][2*2]"...

I've overlooked wiki (http://wiki.contextgarden.net/Combinations) but no such an option...

TIA.

Best regards,

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

[-- Attachment #2: t-Prn.mkiv --]
[-- Type: application/octet-stream, Size: 405 bytes --]

\starttext
  \startcombination[2*2]
    {\framed[width=5cm,height=4cm,align=flushleft,offset=0.5cm]{AAA\par Bb\par c}}
    {\framed[width=5cm,height=4cm,align=flushleft,offset=0.5cm]{AAA\par Bb\par c}}
    {\framed[width=5cm,height=4cm,align=flushleft,offset=0.5cm]{AAA\par Bb\par c}}
    {\framed[width=5cm,height=4cm,align=flushleft,offset=0.5cm]{AAA\par Bb\par c}}
  \stopcombination
\stoptext

[-- Attachment #3: t-Prn.pdf --]
[-- Type: application/pdf, Size: 5298 bytes --]

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

* Re: Combination: no gap between cells?
  2012-03-08  9:40 Combination: no gap between cells? Procházka Lukáš Ing. - Pontex s. r. o.
@ 2012-03-08  9:42 ` Pavel Dohnal
  2012-03-08  9:54   ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Dohnal @ 2012-03-08  9:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

This should work:
\setupcombinations[distance=0mm]
Pavel Dohnal

2012/3/8 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>

> Hello,
>
> I'd like to print several frames of a precise size, one after other, e.g.
> 2 per row, 2 rows.
>
> I'm trying to use combination for this purpose - but I'd need to suppress
> any horizontal and vertical gap between cells.
>
> Is there any option which would cause this?
>
> My code so far:
>
> ---- t-Prn.mkiv
> \starttext
>  \startcombination[2*2]
>    {\framed[width=5cm,height=4cm,**align=flushleft,offset=0.5cm]{**AAA\par
> Bb\par c}}
>    {\framed[width=5cm,height=4cm,**align=flushleft,offset=0.5cm]{**AAA\par
> Bb\par c}}
>    {\framed[width=5cm,height=4cm,**align=flushleft,offset=0.5cm]{**AAA\par
> Bb\par c}}
>    {\framed[width=5cm,height=4cm,**align=flushleft,offset=0.5cm]{**AAA\par
> Bb\par c}}
>  \stopcombination
> \stoptext
> ----
>
> Something like "\startcombination[space=none]**[2*2]"...
>
> I've overlooked wiki (http://wiki.contextgarden.**net/Combinations<http://wiki.contextgarden.net/Combinations>)
> but no such an option...
>
> TIA.
>
> Best regards,
>
> Lukas
>
>
> --
> Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
> Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
> Bezová 1658
> 147 14 Praha 4
>
> Tel: +420 244 062 238
> Fax: +420 244 461 038
>
> ___________________________________________________________________________________
> 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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3096 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] 3+ messages in thread

* Re: Combination: no gap between cells?
  2012-03-08  9:42 ` Pavel Dohnal
@ 2012-03-08  9:54   ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 0 replies; 3+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2012-03-08  9:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

... Thanks for the hint (http://wiki.contextgarden.net/Reference/en/setupcombinations).

The "\setupcombinations[distance=0mm,inbetween=]" suppresses both the horizontal and vertical gap.

Best regards,

Lukas


On Thu, 08 Mar 2012 10:42:53 +0100, Pavel Dohnal <pavel.dohnal@twobits.cz> wrote:

> This should work:
> \setupcombinations[distance=0mm]
> Pavel Dohnal
>
> 2012/3/8 Procházka Lukáš Ing. - Pontex s. r. o. <LPr@pontex.cz>
>
>> Hello,
>>
>> I'd like to print several frames of a precise size, one after other, e.g.
>> 2 per row, 2 rows.
>>
>> I'm trying to use combination for this purpose - but I'd need to suppress
>> any horizontal and vertical gap between cells.
>>
>> Is there any option which would cause this?
>>
>> My code so far:
>>
>> ---- t-Prn.mkiv
>> \starttext
>>  \startcombination[2*2]
>>    {\framed[width=5cm,height=4cm,**align=flushleft,offset=0.5cm]{**AAA\par
>> Bb\par c}}
>>    {\framed[width=5cm,height=4cm,**align=flushleft,offset=0.5cm]{**AAA\par
>> Bb\par c}}
>>    {\framed[width=5cm,height=4cm,**align=flushleft,offset=0.5cm]{**AAA\par
>> Bb\par c}}
>>    {\framed[width=5cm,height=4cm,**align=flushleft,offset=0.5cm]{**AAA\par
>> Bb\par c}}
>>  \stopcombination
>> \stoptext
>> ----
>>
>> Something like "\startcombination[space=none]**[2*2]"...
>>
>> I've overlooked wiki (http://wiki.contextgarden.**net/Combinations<http://wiki.contextgarden.net/Combinations>)
>> but no such an option...
>>
>> TIA.
>>
>> Best regards,
>>
>> Lukas
>>
>>
>> --
>> Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
>> Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
>> Bezová 1658
>> 147 14 Praha 4
>>
>> Tel: +420 244 062 238
>> Fax: +420 244 461 038
>>
>> ___________________________________________________________________________________
>> 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
>>
>> ___________________________________________________________________________________
>>
>


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___________________________________________________________________________________
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:[~2012-03-08  9:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-08  9:40 Combination: no gap between cells? Procházka Lukáš Ing. - Pontex s. r. o.
2012-03-08  9:42 ` Pavel Dohnal
2012-03-08  9:54   ` Procházka Lukáš Ing. - Pontex s. r. o.

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