Difference between revisions of "Command/items"

From Wiki
Jump to navigation Jump to search
m (moved Reference/en/items to Command/items: Text replace - "Reference/en/" to "Command/")
 
(9 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>items</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 21: Line 24:
  
 
== Description ==  
 
== 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 ==
 
== Example ==
 
<!-- Please fill in an example if you can -->
 
<!-- Please fill in an example if you can -->
 +
<context mode=mkiv source=yes text="Gives:">
 +
\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}
 +
</context>
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
<!-- something like {{cmd|goto}} -->
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|items]]
+
[[Category:Command/Itemizations|items]]

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: