Difference between revisions of "Command/sub"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
 
(12 intermediate revisions by 5 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=sub
 
|name=sub
Line 15: Line 13:
 
   </tr>
 
   </tr>
 
</table>
 
</table>
 
  
 
== Description ==  
 
== Description ==  
 
+
Used in itemizations. Prints the item mark of the previous {{cmd|item}}, with a <code>+</code> in front of it to indicate a subitem/continuation.
 
 
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
<context source=yes>
 +
\startitemize[n]
 +
    \item First item
 +
    \sub continued
 +
    \sub further continued
 +
    \item Second item
 +
\stopitemize
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{cmd|startitemize}}
 +
* [[Enumerations]]
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|sub]]
+
[[Category:Command/Itemizations|sub]]

Latest revision as of 10:53, 19 November 2021

\sub

Syntax

\sub[ref,ref,...]
[ref,ref,...]

Description

Used in itemizations. Prints the item mark of the previous \item, with a + in front of it to indicate a subitem/continuation.

Example

\startitemize[n]
    \item First item
    \sub continued
    \sub further continued
    \item Second item
\stopitemize

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: