Difference between revisions of "Command/ran"

From Wiki
Jump to navigation Jump to search
Line 45: Line 45:
 
== See also ==
 
== See also ==
 
* {{cmd|startitemize}}
 
* {{cmd|startitemize}}
* {{cmd|item}} to print ordinary items
 
* {{cmd|sym}} to print an item with a custom symbol
 
* {{cmd|mar}} to print an item with margin text
 
* {{cmd|sub}} to print an item with a continuation mark
 
 
* {{cmd|its}} to print an item with a row of marks (for response ranges)
 
* {{cmd|its}} to print an item with a row of marks (for response ranges)
* {{cmd|ran}} to print a range for the {{cmd|its}} row
+
* [[Enumerations]]
* {{cmd|head}} to print a head within the list
 
* {{cmd|but}} to print an item whose mark is an interactive button
 
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==

Revision as of 10:43, 19 November 2021

\ran

Syntax (autogenerated)


Syntax

\ran{...}{...}
{...} text
{...} text

Description

Used in itemizations. Calls \sym internally, but using the \ran form clarifies that this line specifies a range for the multi-point scale used by the \its items.

Example

\startitemize
   [5,             % open circles
    packed]        % no blank lines between items (counteracts \setupwhitespace[big])
   [width=6em,     % width of area in which bullets/numbers/scales are placed
    distance=2em,  % distance between last scale point and item
    items=4]       % number of points in scale
   % First we print a range key
   \ran{yes \hss no} % \hss produces an infinitely stretchable (and squashable) space
   \its I think Lord Peter Wimsey is the bee's knees.
   \its I think Bunter is the caterpillar's waistcoat.
\stopitemize

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: