Difference between revisions of "Command/mar"

From Wiki
Jump to navigation Jump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
(Fill in entire page)
Line 21: Line 21:
  
 
== Description ==  
 
== Description ==  
 
+
Used in itemizations. Prints an item with a remark in the margin. By default the margin text is set in typewriter font.
 
 
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
<context source=yes>
 +
Observe the following list.
 +
\startitemize
 +
    \item One
 +
    \mar{(Optional)} Two
 +
    \item Three
 +
\stopitemize
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like {{cmd|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 ==
 
== Help from ConTeXt-Mailinglist/Forum ==
 
All issues with:
 
All issues with:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|mar]]
+
[[Category:Command/Itemizations|mar]]

Revision as of 13:32, 28 May 2012

\mar

Syntax

\mar[ref,ref,...]{...}
[ref,ref,...]
{...} text


Description

Used in itemizations. Prints an item with a remark in the margin. By default the margin text is set in typewriter font.

Example

Observe the following list.
\startitemize
    \item One
    \mar{(Optional)} Two
    \item Three
\stopitemize

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: