Difference between revisions of "Command/setuptype"
< Command
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|") |
BruceH2020 (talk | contribs) |
||
(11 intermediate revisions by 6 users not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>setuptype</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
<table cellspacing="4" cellpadding="2" class="cmd"> | <table cellspacing="4" cellpadding="2" class="cmd"> | ||
<tr> | <tr> | ||
− | <td colspan="2" class="cmd">\setuptype<span class="first" >[...,...=...,...]</span></td> | + | <td colspan="2" class="cmd">\setuptype<span class="first" >[...,...]</span><span class="second" >[...,...=...,...]</span></td> |
</tr> | </tr> | ||
<tr valign="top" class="first"> | <tr valign="top" class="first"> | ||
− | <td class="cmd">[ | + | <td class="cmd">[...,...]</td> |
− | <td>[[Command/value: | + | <td>[[Command/value:IDENTIFIER|IDENTIFIER]] </td> |
</tr> | </tr> | ||
− | <tr valign="top" class=" | + | <tr valign="top" class="second"> |
<td class="cmd">[[Command/keyword:option|option]]</td> | <td class="cmd">[[Command/keyword:option|option]]</td> | ||
− | <td>[[Command/value: | + | <td>[[Command/value:mp|mp]] [[Command/value:lua|lua]] [[Command/value:xml|xml]] [[Command/value:parsed-xml|parsed-xml]] [[Command/value:nested|nested]] [[Command/value:tex|tex]] [[Command/value:context|context]] [[Command/value:none|none]] [[Command/value:NAME|NAME]]</td> |
+ | </tr> | ||
+ | <tr valign="top" class="second"> | ||
+ | <td class="cmd">[[Command/keyword:command|command]]</td> | ||
+ | <td>[[Command/value:CSNAME|CSNAME]]</td> | ||
+ | </tr> | ||
+ | <tr valign="top" class="second"> | ||
+ | <td class="cmd">[[Command/keyword:left|left]]</td> | ||
+ | <td>[[Command/value:COMMAND|COMMAND]]</td> | ||
+ | </tr> | ||
+ | <tr valign="top" class="second"> | ||
+ | <td class="cmd">[[Command/keyword:right|right]]</td> | ||
+ | <td>[[Command/value:COMMAND|COMMAND]]</td> | ||
+ | </tr> | ||
+ | <tr valign="top" class="second"> | ||
+ | <td class="cmd">[[Command/keyword:tab|tab]]</td> | ||
+ | <td>[[Command/value:yes|yes]] [[Command/value:no|no]] [[Command/value:NUMBER|NUMBER]]</td> | ||
+ | </tr> | ||
+ | <tr valign="top" class="second"> | ||
+ | <td class="cmd">[[Command/keyword:compact|compact]]</td> | ||
+ | <td>[[Command/value:absolute|absolute]] [[Command/value:last|last]] [[Command/value:all|all]]</td> | ||
+ | </tr> | ||
+ | <tr valign="top" class="second"> | ||
+ | <td class="cmd">[[Command/keyword:escape|escape]]</td> | ||
+ | <td>[[Command/value:yes|yes]] [[Command/value:no|no]] [[Command/value:TEXT|TEXT]] [[Command/value:TEXT|PROCESSOR->TEXT]]</td> | ||
</tr> | </tr> | ||
− | <tr valign="top" class=" | + | <tr valign="top" class="second"> |
<td class="cmd">[[Command/keyword:style|style]]</td> | <td class="cmd">[[Command/keyword:style|style]]</td> | ||
− | <td>[[Command/value: | + | <td>[[Command/value:STYLE COMMAND|STYLE COMMAND]] </td> |
</tr> | </tr> | ||
− | <tr valign="top" class=" | + | <tr valign="top" class="second"> |
<td class="cmd">[[Command/keyword:color|color]]</td> | <td class="cmd">[[Command/keyword:color|color]]</td> | ||
− | <td>[[Command/value: | + | <td>[[Command/value:COLOR|COLOR]] </td> |
+ | </tr> | ||
+ | <tr valign="top" class="second"> | ||
+ | <td class="cmd">[[Command/keyword:lines|lines]]</td> | ||
+ | <td>[[Command/value:yes|yes]] [[Command/value:no|no]] [[Command/value:normal|normal]] [[Command/value:hyphenated|hyphenated]]</td> | ||
+ | </tr> | ||
+ | <tr valign="top" class="second"> | ||
+ | <td class="cmd">[[Command/keyword:space|space]]</td> | ||
+ | <td>[[Command/value:on|on]] [[Command/value:off|off]] [[Command/value:normal|normal]] [[Command/value:fixed|fixed]] [[Command/value:stretch|stretch]] </td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
Line 29: | Line 64: | ||
== Description == | == Description == | ||
− | + | Text can be displayed in verbatim (typed) form. For inline typed text the command {{cmd|type}} is available. | |
− | |||
== Example == | == Example == | ||
<!-- Please fill in an example if you can --> | <!-- Please fill in an example if you can --> | ||
+ | <context source="yes"> | ||
+ | For reasons of readability you can also use other characters than | ||
+ | \type!{! and \type!}! as outer parenthesis. You can choose your own | ||
+ | non||active (a non||special) character, for example: \type+like this+ | ||
+ | or \type-like that-. | ||
+ | </context> | ||
== See also == | == See also == | ||
− | + | * {{cmd|type}}, {{cmd|definetype}} | |
+ | * {{cmd|starttyping}} | ||
+ | * [[Verbatim text]] | ||
− | == ConTeXt-Forum == | + | == Help from ConTeXt-Mailinglist/Forum == |
+ | All issues with: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Verbatim|setuptype]] |
+ | [[Category:Command/Verbatim Text|setuptype]] |
Latest revision as of 16:02, 21 March 2023
\setuptype
Syntax (autogenerated)
\setuptype[...,...][...=...,...] | |
[...,...] | name |
option | mp lua xml parsed-xml nested tex context none name |
command | csname |
left | command |
right | command |
tab | yes no number |
compact | absolute last all |
escape | yes no text processor->text |
style | style command |
color | color |
lines | yes no normal hyphenated |
space | on off normal fixed stretch |
Syntax
\setuptype[...,...][...,...=...,...] | |
[...,...] | IDENTIFIER |
option | mp lua xml parsed-xml nested tex context none NAME |
command | CSNAME |
left | COMMAND |
right | COMMAND |
tab | yes no NUMBER |
compact | absolute last all |
escape | yes no TEXT PROCESSOR->TEXT |
style | STYLE COMMAND |
color | COLOR |
lines | yes no normal hyphenated |
space | on off normal fixed stretch |
Description
Text can be displayed in verbatim (typed) form. For inline typed text the command \type is available.
Example
For reasons of readability you can also use other characters than \type!{! and \type!}! as outer parenthesis. You can choose your own non||active (a non||special) character, for example: \type+like this+ or \type-like that-.
See also
Help from ConTeXt-Mailinglist/Forum
All issues with: