Difference between revisions of "Command/mar"

From Wiki
Jump to navigation Jump to search
(Fill in entire page)
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>mar</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 18: Line 21:
 
   </tr>
 
   </tr>
 
</table>
 
</table>
 
  
 
== Description ==  
 
== Description ==  
Line 25: Line 27:
 
== Example ==
 
== Example ==
 
<context source=yes>
 
<context source=yes>
Observe the following list.
+
Up came the troopers,
\startitemize
+
\startitemize[marstyle=italic]
     \item One
+
     \item One,
     \mar{(Optional)} Two
+
     \mar{(rit.)} Two,
     \item Three
+
     \item and Three.
 
\stopitemize
 
\stopitemize
 
</context>
 
</context>
Line 43: Line 45:
 
* {{cmd|head}} to print a head within the list
 
* {{cmd|head}} to print a head within the list
 
* {{cmd|but}} to print an item whose mark is an interactive button
 
* {{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:

Revision as of 16:34, 11 November 2019

\mar

Syntax (autogenerated)


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

Up came the troopers,
\startitemize[marstyle=italic]
    \item One,
    \mar{(rit.)} Two,
    \item and 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: