Difference between revisions of "Command/arg"

From ConTeXt wiki
Jump to navigationJump to search
m (Text replace - "\[\[cmd:(.*)\|(.*)\]\]" to "{{cmd|$1}}")
(Describe and categorize)
Line 17: Line 17:
  
 
== Description ==  
 
== Description ==  
 
+
Print text verbatim, surrounded by <code>{</code>braces<code>}</code>. Useful when writing a manual.
This command is currently broken, See http://tracker.luatex.org/view.php?id=378
 
  
 
== Example ==
 
== Example ==
<!-- Please fill in an example if you can -->
+
<context source="yes" text="gives">
 +
\tex{type}\arg{...}
 +
</context>
  
 
== See also ==
 
== See also ==
<!-- something like {{cmd|goto}} -->
+
* {{cmd|tex}} Write a TeX command
 +
* {{cmd|type}} Inline verbatim text
  
 
== Help from ConTeXt-Mailinglist/Forum ==
 
== Help from ConTeXt-Mailinglist/Forum ==
Line 30: Line 32:
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Commands|arg]]
+
[[Category:Command/Verbatim Text|arg]]

Revision as of 12:56, 23 April 2012

\arg

Syntax

\arg{...}
{...} text


Description

Print text verbatim, surrounded by {braces}. Useful when writing a manual.

Example

\tex{type}\arg{...}

gives

See also

  • \tex Write a TeX command
  • \type Inline verbatim text

Help from ConTeXt-Mailinglist/Forum

All issues with: