Difference between revisions of "Command/setupinmargin"
< Command
Jump to navigation
Jump to search
m (cleanup) |
m (texcode for example) |
||
Line 70: | Line 70: | ||
== Example == | == Example == | ||
− | < | + | <texcode> |
% For example: | % For example: | ||
\setupinmargin[style=slanted] | \setupinmargin[style=slanted] | ||
Line 83: | Line 83: | ||
\stoptext | \stoptext | ||
− | + | </texcode> | |
− | |||
− | </ | ||
Revision as of 07:27, 16 April 2010
\setupinmargin
Syntax
\setupinmargin[...][...,...=...,...] | |
[...] | left right number |
location | left right 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
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