ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* two framed item lists side by side
@ 2017-02-09 17:21 Csikos Bela
  2017-03-01 19:14 ` Pablo Rodriguez
  0 siblings, 1 reply; 2+ messages in thread
From: Csikos Bela @ 2017-02-09 17:21 UTC (permalink / raw)
  To: ntg-context

Dear context user:

I would like to put two itemized lists side by side (1cm between them), top aligned.
I inserted each lists in framedtext and tried to use combinations but the distance
between the two frames is too big, and the list are not top aligned.
What would be a correct solution? I don't need the frame to be drawn.
Why distance=1cm and width=12cm have no effect in my code?

Thanks,

bcsikos

code:

\setupitemize[each][packed,joinedup,n][stopper=.~,itemalign=flushright]
\setupframedtext[width=5.5cm,frame=off,offset=0pt]
\setupcombinations[width=12cm,distance=1cm]
\starttext
\startcombination[2]
{\startframedtext
\startitemize
\item In The Flesh?	3:19
\item The Thin Ice	2:29
\item Another Brick In The Wall (Part 1)	3:09
\item The Happiest Days Of Our Lives	1:50
\stopitemize
\stopframedtext
}{}{
\startframedtext
\startitemize
\item Hey You	4:41
\item Is There Anybody Out There?	2:40
\stopitemize
\stopframedtext
}{}
\stopcombination
\stoptext
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: two framed item lists side by side
  2017-02-09 17:21 two framed item lists side by side Csikos Bela
@ 2017-03-01 19:14 ` Pablo Rodriguez
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Rodriguez @ 2017-03-01 19:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 02/09/2017 06:21 PM, Csikos Bela wrote:
> Dear context user:
> 
> I would like to put two itemized lists side by side (1cm between them), top aligned.
> I inserted each lists in framedtext and tried to use combinations but the distance
> between the two frames is too big, and the list are not top aligned.
> What would be a correct solution? I don't need the frame to be drawn.
> Why distance=1cm and width=12cm have no effect in my code?

Hi Csikos,

I guess another approach (not ideal,  but it works) would be to use an
xtable:

    \showframe
    \setupitemize[each][packed,joinedup,n]
        [stopper=.~,itemalign=flushright]
    \starttext
    \startxtable[split=yes, option=stretch]
    \startxrow
    \startxcell
    \startitemize
    \item In The Flesh? 3:19
    \item The Thin Ice  2:29
    \item Another Brick In The Wall (Part 1)    3:09
    \item The Happiest Days Of Our Lives    1:50
    \stopitemize
    \stopxcell
    \startxcell
    \startitemize
    \item Hey You   4:41
    \item Is There Anybody Out There?   2:40
    \stopitemize
    \stopxcell
    \stopxrow
    \stopxtable
    \stoptext

Font size must be smaller, otherwise it won’t fit in page margins.

Just in case it might help,

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2017-03-01 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09 17:21 two framed item lists side by side Csikos Bela
2017-03-01 19:14 ` Pablo Rodriguez

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