Difference between revisions of "Command/items"

From Wiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>items</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 28: Line 31:
 
== Example ==
 
== Example ==
 
<!-- Please fill in an example if you can -->
 
<!-- Please fill in an example if you can -->
<texcode>
+
<context mode=mkiv source=yes text="Gives:">
\starttext
 
 
 
 
\items[symbol=8,n=5,width=\hsize,alternative=bottom]{png,eps,pdf,jpg,tif}
 
\items[symbol=8,n=5,width=\hsize,alternative=bottom]{png,eps,pdf,jpg,tif}
  
Line 36: Line 37:
  
 
\items[symbol=8,n=3,alternative=left]{Yes,No,I don't know}
 
\items[symbol=8,n=3,alternative=left]{Yes,No,I don't know}
\stoptext
+
</context>
 
 
</texcode>
 
 
== See also ==
 
== See also ==
 
<!-- something like {{cmd|goto}} -->
 
<!-- something like {{cmd|goto}} -->

Latest revision as of 16:34, 11 November 2019

\items

Syntax (autogenerated)

\items[...=...,...]{...}
...=...,...inherits from \setupitems
{...}text


Syntax

\items[...,...=...,...]{...,...,...}
[...,...=...,...] see \setupitems
{...,...,...} text


Description

This command gives a list of items with a symbol next to each one (actually the symbol it can be to the left, on top or below each item).

In mkiv one has to use the keyword "alternative=" instead of "location=" in mkii.


Example

\items[symbol=8,n=5,width=\hsize,alternative=bottom]{png,eps,pdf,jpg,tif}

\blank

\items[symbol=8,n=3,alternative=left]{Yes,No,I don't know}

Gives:

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: