Difference between revisions of "Command/setupcomment"

From Wiki
Jump to navigation Jump to search
m (cleanup)
(remove manual syntax)
 
(12 intermediate revisions by 4 users not shown)
Line 4: Line 4:
 
}}
 
}}
  
== [[Help:Reference|Syntax]] ==
+
== [[Help:Reference|Syntax]] (autogenerated) ==
<table cellspacing="4" cellpadding="2" class="cmd">
+
<syntax>setupcomment</syntax>
  <tr>
 
    <td colspan="2" class="cmd">\setupcomment<span class="first" >[...,...=...,...]</span></td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Reference/en/keyword:state|state]]</td>
 
    <td>[[Reference/en/value:start|start]] [[Reference/en/value:stop|stop]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Reference/en/keyword:width|width]]</td>
 
    <td>[[Reference/en/value:dimension|dimension]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Reference/en/keyword:height|height]]</td>
 
    <td>[[Reference/en/value:dimension|dimension]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Reference/en/keyword:color|color]]</td>
 
    <td>[[Reference/en/value:name|name]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Reference/en/keyword:title|title]]</td>
 
    <td>[[Reference/en/value:text|text]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Reference/en/keyword:space|space]]</td>
 
    <td>[[Reference/en/value:yes|yes]] [[Reference/en/value:no|no]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Reference/en/keyword:symbol|symbol]]</td>
 
    <td>[[Reference/en/value:normal|normal]] [[Reference/en/value:New|New]] [[Reference/en/value:Balloon|Balloon]] [[Reference/en/value:Addition|Addition]] [[Reference/en/value:Help|Help]] [[Reference/en/value:Paragraph|Paragraph]] [[Reference/en/value:Key|Key]] [[Reference/en/value:name|name]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Reference/en/keyword:option|option]]</td>
 
    <td>[[Reference/en/value:max|max]] [[Reference/en/value:buffer|buffer]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Reference/en/keyword:margin|margin]]</td>
 
    <td>[[Reference/en/value:dimension|dimension]] </td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">[[Reference/en/keyword:distance|distance]]</td>
 
    <td>[[Reference/en/value:dimension|dimension]] </td>
 
  </tr>
 
</table>
 
 
 
  
 
== Description ==  
 
== Description ==  
 +
Set the default settings for comments.
  
 +
== Example ==
 +
<texcode>
 +
\setupcomment[color=blue]
  
 +
Some text to which a comment applies
  
== Example ==
+
\startcomment[symbol=Balloon]
<!-- Please fill in an example if you can -->
+
    This is my comment
 +
\stopcomment
 +
</texcode>
  
 
== See also ==
 
== See also ==
<!-- something like [[cmd:goto|\goto]] -->
+
* {{cmd|startcomment}} to create a PDF comment
 +
* {{cmd|comment}} should also create a PDF comment.
 +
 
 +
== Help from ConTeXt-Mailinglist/Forum ==
 +
All issues with:
 +
{{Forum|{{SUBPAGENAME}}}}
  
[[Category:Reference/en|setupcomment]]
+
[[Category:Command/Interaction|setupcomment]]

Latest revision as of 16:59, 21 September 2023

\setupcomment

Syntax (autogenerated)

\setupcomment[...,...][...=...,...]
[...,...]name
statestart stop none
methodnormal hidden
symbolComment Help Insert Key Newparagraph Note Paragraph Default
widthfit dimension
heightfit dimension
depthfit dimension
titletext
subtitletext
authortext
nxnumber
nynumber
colorcolor
optionxml max
textlayername
locationleftedge rightedge inmargin leftmargin rightmargin text high none
distancedimension
spaceyes
bufferbuffer


Description

Set the default settings for comments.

Example

\setupcomment[color=blue]

Some text to which a comment applies

\startcomment[symbol=Balloon]
    This is my comment
\stopcomment

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: