ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Margin text in doublesided documents
Date: Wed, 13 Apr 2011 11:58:57 +0200	[thread overview]
Message-ID: <0490B7B7-D569-4058-9CA2-01126610C02F@fiee.net> (raw)
In-Reply-To: <0F056309-CF07-479B-8872-F8F121B6885D@googlemail.com>

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)

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2011-04-13  9:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 21:56 C.
2011-04-05  6:28 ` Wolfgang Schuster
2011-04-05 11:23   ` C.
2011-04-05 11:35     ` Wolfgang Schuster
2011-04-05 15:08       ` C.
2011-04-05 15:09       ` C.
2011-04-05 15:25         ` Wolfgang Schuster
2011-04-05 16:56           ` C.
2011-04-05 17:00             ` Wolfgang Schuster
2011-04-05 19:19               ` C.
2011-04-07 12:15 ` Wolfgang Schuster
2011-04-13  9:58   ` Henning Hraban Ramm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0490B7B7-D569-4058-9CA2-01126610C02F@fiee.net \
    --to=hraban@fiee.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).