Difference between revisions of "Command/sub"

From Wiki
Jump to navigation Jump to search
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|")
 
(8 intermediate revisions by 4 users not shown)
Line 13: 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]]
  
== ConTeXt-Forum ==
+
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|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: