# [NTG-context] Margin text in doublesided documents

Henning Hraban Ramm hraban at fiee.net
Wed Apr 13 11:58:57 CEST 2011

I had a similar problem - thank you, Wolfgang!

But I need my marginals as one line, rotated in the inner margin and
aligned to the top or bottom of the text area.
I don’t know how to achieve the latter.

\setuppapersize[A6][A6]
\setupmargindata[inmargin][style={\ss\tfx},location=inner,align=outer]
\setupmarginframed[inmargin][align=outer,location=inner]
\def\Info#1{\margindata[inmargin]{\rotate{#1}}}

\starttext

\chapter{Tufte}
\Info{This is a text by Tufte 1}
\input tufte
\Info{This is a text by Tufte 2}

\chapter{Knuth}
\Info{This is a text by Knuth 1}
\input knuth
\Info{This is a text by Knuth 2}
\input knuth

\stoptext

Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)