Difference between revisions of "Command/setupinmargin"
< Command
Jump to navigation
Jump to search
(→Syntax: left->flushleft, right -> flushright) |
Yatskovsky (talk | contribs) (→Description: stack option explained) |
||
Line 63: | Line 63: | ||
</table> | </table> | ||
− | == Description == | + | == Description == |
− | |||
+ | Stack option is used to emulate LaTeX's marginpars (they're considered floats, hence the resulting margin notes do not overlap). | ||
== Example == | == Example == |
Revision as of 22:11, 28 May 2010
\setupinmargin
Syntax
\setupinmargin[...][...,...=...,...] | |
[...] | left right number |
location | flushleft flushright both |
style | normal bold slanted boldslanted type cap small... command |
before | command |
after | command |
align | inner outer left right middle normal no yes |
line | number |
distance | dimension |
separator | text |
width | dimension |
distance | dimension |
stack | yes no |
[...,...=...,...] | see \setupframed |
Description
Stack option is used to emulate LaTeX's marginpars (they're considered floats, hence the resulting margin notes do not overlap).
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