ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Can Layers be combined with \startitemize
@ 2011-03-07 22:09 Curiouslearn
  2011-03-07 22:14 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Curiouslearn @ 2011-03-07 22:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

The following does not work as expected. All the items are on the same
line and they overlap each other.

Can someone please let me know if Layers can be combined with
\startitemize...\stopitemize and if so, how to do it.

Thanks,
Bharat

\setupcolors[state=start]
\setupcolor[xwi]

\setupbackgrounds[page][background=color, backgroundcolor=linen]
\starttext

\definelayer [windows] [x=3in, y=3in, width=3in, height=4in]
\definelayer [apple] [x=0.5in, y=0.5in, width=2in, height=2in]

\setlayer [windows] [hoffset=1cm, voffset=1cm]
{Windows 7
        \startitemize[n]
          \item
            Starter
          \item
            Home Premium
          \item
            Professional
          \item
            Ultimate
        \stopitemize }

\setlayer [apple][background=color, backgroundcolor=gray]{Apple}

\setupbackgrounds[page][background=windows]

\page[empty]

\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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


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

* Re: Can Layers be combined with \startitemize
  2011-03-07 22:09 Can Layers be combined with \startitemize Curiouslearn
@ 2011-03-07 22:14 ` Wolfgang Schuster
  2011-03-07 23:58   ` Curiouslearn
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2011-03-07 22:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.03.2011 um 23:09 schrieb Curiouslearn:

> The following does not work as expected. All the items are on the same
> line and they overlap each other.
> 
> Can someone please let me know if Layers can be combined with
> \startitemize...\stopitemize and if so, how to do it.
> 
> \setlayer [windows] [hoffset=1cm, voffset=1cm]
> {Windows 7
>        \startitemize[n]
>          \item
>            Starter
>          \item
>            Home Premium
>          \item
>            Professional
>          \item
>            Ultimate
>        \stopitemize }
> 
> \setlayer [apple][background=color, backgroundcolor=gray]{Apple}

\setlayerframed
  [<name>]
  [background=color,
   backgroundcolor=<color>,
   align=right,
   ...]
  {\startitemize ... \stopitemize}

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

* Re: Can Layers be combined with \startitemize
  2011-03-07 22:14 ` Wolfgang Schuster
@ 2011-03-07 23:58   ` Curiouslearn
  0 siblings, 0 replies; 3+ messages in thread
From: Curiouslearn @ 2011-03-07 23:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks very much Wolfgang. This is very helpful.

Regards,
Bharat

On Mon, Mar 7, 2011 at 5:14 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> Am 07.03.2011 um 23:09 schrieb Curiouslearn:
>
>> The following does not work as expected. All the items are on the same
>> line and they overlap each other.
>>
>> Can someone please let me know if Layers can be combined with
>> \startitemize...\stopitemize and if so, how to do it.
>>
>> \setlayer [windows] [hoffset=1cm, voffset=1cm]
>> {Windows 7
>>        \startitemize[n]
>>          \item
>>            Starter
>>          \item
>>            Home Premium
>>          \item
>>            Professional
>>          \item
>>            Ultimate
>>        \stopitemize }
>>
>> \setlayer [apple][background=color, backgroundcolor=gray]{Apple}
>
> \setlayerframed
>  [<name>]
>  [background=color,
>   backgroundcolor=<color>,
>   align=right,
>   ...]
>  {\startitemize ... \stopitemize}
>
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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:[~2011-03-07 23:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-07 22:09 Can Layers be combined with \startitemize Curiouslearn
2011-03-07 22:14 ` Wolfgang Schuster
2011-03-07 23:58   ` Curiouslearn

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