Difference between revisions of "Command/items"
< Command
Jump to navigation
Jump to search
m |
|||
Line 28: | Line 28: | ||
== 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} | \items[symbol=8,n=5,width=\hsize,alternative=bottom]{png,eps,pdf,jpg,tif} | ||
Line 36: | Line 34: | ||
\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} | ||
− | + | </context> | |
− | |||
− | </ | ||
== See also == | == See also == | ||
<!-- something like {{cmd|goto}} --> | <!-- something like {{cmd|goto}} --> |
Revision as of 08:42, 17 September 2012
\items
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: