Difference between revisions of "Command/its"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=its
 
|name=its
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>its</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 15: Line 16:
 
   </tr>
 
   </tr>
 
</table>
 
</table>
 
  
 
== Description ==  
 
== Description ==  
 
+
In an itemization, place an item together with a row of bullets &mdash; think questionnaires with five-point scales. Usually used with {{cmd|startitemize}}<code>[5]</code> to have the bullet points be open circles. The number of points in the row is specified with <code>items=''n''</code>.
 
+
The references are for interactive documents: clicking an item in the scale will then trigger the corresponding reference/action.
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
<context>
 +
A short questionnaire about the books of Dorothy L. Sayers.
 +
\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
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{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|ran}} to print a range for the {{cmd|its}} row
 +
* {{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 ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|its]]
+
[[Category:Command/Itemizations|its]]

Revision as of 16:34, 11 November 2019

\its

Syntax (autogenerated)


Syntax

\its[ref,ref,...]
[ref,ref,...]

Description

In an itemization, place an item together with a row of bullets — think questionnaires with five-point scales. Usually used with \startitemize[5] to have the bullet points be open circles. The number of points in the row is specified with items=n. The references are for interactive documents: clicking an item in the scale will then trigger the corresponding reference/action.

Example

See also

  • \startitemize
  • \item to print ordinary items
  • \sym to print an item with a custom symbol
  • \mar to print an item with margin text
  • \sub to print an item with a continuation mark
  • \its to print an item with a row of marks (for response ranges)
  • \ran to print a range for the \its row
  • \head to print a head within the list
  • \but to print an item whose mark is an interactive button

Help from ConTeXt-Mailinglist/Forum

All issues with: