Difference between revisions of "Command/mar"

From Wiki
Jump to navigation Jump to search
(Create reference page)
 
 
(11 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=mar
 
|name=mar
 
|attributes=
 
|attributes=
 
}}
 
}}
 +
 +
== [[Help:Reference|Syntax]] (autogenerated) ==
 +
<syntax>mar</syntax>
  
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
Line 20: Line 21:
 
   </tr>
 
   </tr>
 
</table>
 
</table>
 
  
 
== 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>
 +
Up came the troopers,
 +
\startitemize[marstyle=italic]
 +
    \item One,
 +
    \mar{(rit.)} Two,
 +
    \item and Three.
 +
\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|mar]]
+
[[Category:Command/Itemizations|mar]]

Latest 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: