Difference between revisions of "Command/setupinmargin"

From ConTeXt wiki
(Create reference page)
 
m (cleanup)
Line 1: Line 1:
<!-- please remove this and the following line if you have checked this page -->
 
{{Reference_Cleanup}}
 
 
{{Reference
 
{{Reference
 
|name=setupinmargin
 
|name=setupinmargin

Revision as of 07:26, 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 

 


See also