|
|
(19 intermediate revisions by 7 users not shown) |
Line 1: |
Line 1: |
− | <!-- please remove this and the following line if you have checked this page -->
| + | The {{cmd|setupinmargin}} command has been renamed to {{cmd|setupmargindata}}. |
− | {{Reference_Cleanup}} | |
− | {{Reference
| |
− | |name=setupinmargin | |
− | |attributes=
| |
− | }} | |
− | | |
− | == [[Help:Reference|Syntax]] ==
| |
− | <table cellspacing="4" cellpadding="2" class="cmd">
| |
− | <tr>
| |
− | <td colspan="2" class="cmd">\setupinmargin<span class="first" style="color:red;">[...]</span><span class="second" >[...,...=...,...]</span></td>
| |
− | </tr>
| |
− | <tr valign="top" class="first">
| |
− | <td class="cmd">[...]</td>
| |
− | <td>left right number </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:location|location]]</td>
| |
− | <td>[[Reference/en/value:left|left]] [[Reference/en/value:right|right]] [[Reference/en/value:both|both]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:style|style]]</td>
| |
− | <td>[[Reference/en/value:normal|normal]] [[Reference/en/value:bold|bold]] [[Reference/en/value:slanted|slanted]] [[Reference/en/value:boldslanted|boldslanted]] [[Reference/en/value:type|type]] [[Reference/en/value:cap|cap]] [[Reference/en/value:small...|small...]] [[Reference/en/value:command|command]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:before|before]]</td>
| |
− | <td>[[Reference/en/value:command|command]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:after|after]]</td>
| |
− | <td>[[Reference/en/value:command|command]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:align|align]]</td>
| |
− | <td>[[Reference/en/value:inner|inner]] [[Reference/en/value:outer|outer]] [[Reference/en/value:left|left]] [[Reference/en/value:right|right]] [[Reference/en/value:middle|middle]] [[Reference/en/value:normal|normal]] [[Reference/en/value:no|no]] [[Reference/en/value:yes|yes]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:line|line]]</td>
| |
− | <td>[[Reference/en/value:number|number]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:distance|distance]]</td>
| |
− | <td>[[Reference/en/value:dimension|dimension]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:separator|separator]]</td>
| |
− | <td>[[Reference/en/value:text|text]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:width|width]]</td>
| |
− | <td>[[Reference/en/value:dimension|dimension]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:distance|distance]]</td>
| |
− | <td>[[Reference/en/value:dimension|dimension]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[[Reference/en/keyword:stack|stack]]</td>
| |
− | <td>[[Reference/en/value:yes|yes]] [[Reference/en/value:no|no]] </td>
| |
− | </tr>
| |
− | <tr valign="top" class="second">
| |
− | <td class="cmd">[...,...=...,...]</td>
| |
− | <td>see [[Reference/en/setupframed|\setupframed]] </td>
| |
− | </tr>
| |
− | </table>
| |
− | | |
− | | |
− | == Description ==
| |
− | | |
− | | |
− | | |
− | == Example ==
| |
− | | |
− | <pre class="example">
| |
− | % For example:
| |
− | \setupinmargin[style=slanted]
| |
− | | |
− | \starttext
| |
− | | |
− | This is an example of a simple margin note set in the slanted font
| |
− | of the document. If used correctly, the note \inmargin{Here is a
| |
− | simple margin note.} should print on the side with the command
| |
− | \type {\inmargin} placed in the text. You will of course want to
| |
− | adjust your margins to accommodate the type.
| |
− | | |
− | \stoptext
| |
− | | |
− |
| |
− | </pre>
| |
− | | |
− | | |
− | == See also ==
| |
− | <!-- something like [[cmd:goto|\goto]] -->
| |
− | | |
− | [[Category:Reference/en|setupinmargin]]
| |