Difference between revisions of "Talk:Command/setupinmargin"

From Wiki
Jump to navigation Jump to search
(New)
 
(→‎Does first bracket work?: Corrected formatting.)
Line 4: Line 4:
 
The following does not work in MKII nor MKIV, i.e. the margin notes are neither on the left nor slanted.
 
The following does not work in MKII nor MKIV, i.e. the margin notes are neither on the left nor slanted.
  
 +
<texcode>
 
\setupinmargin[right][style=slanted]
 
\setupinmargin[right][style=slanted]
 
\starttext
 
\starttext
 
Hello World! \inmargin{Goodbye}
 
Hello World! \inmargin{Goodbye}
 
\stoptext
 
\stoptext
 +
</texcode>
  
 
However, the following does:
 
However, the following does:
  
 
+
<texcode>
 
\setupinmargin[location=right,style=slanted]
 
\setupinmargin[location=right,style=slanted]
 
\starttext
 
\starttext
 
Hello World! \inmargin{Goodbye}
 
Hello World! \inmargin{Goodbye}
 
\stoptext
 
\stoptext
 +
</texcode>
  
 
[[User:Richard Stephens|Richard Stephens]] 09:51, 2 June 2011 (CEST)
 
[[User:Richard Stephens|Richard Stephens]] 09:51, 2 June 2011 (CEST)

Revision as of 07:59, 2 June 2011

Does first bracket work?

Does the first bracket actually work? I assumed that it defines the location so that \setupinmargin[right] would put all notes using \inmargin into the right hand margin? The following does not work in MKII nor MKIV, i.e. the margin notes are neither on the left nor slanted.

\setupinmargin[right][style=slanted]
\starttext
Hello World! \inmargin{Goodbye}
\stoptext

However, the following does:

\setupinmargin[location=right,style=slanted]
\starttext
Hello World! \inmargin{Goodbye}
\stoptext

Richard Stephens 09:51, 2 June 2011 (CEST)