From: "C." <metan0r@gmx.de>
To: "Context-Mailinglist" <ntg-context@ntg.nl>
Subject: chapter and section titles in margin of each page
Date: Thu, 31 Mar 2011 19:17:30 +0200 [thread overview]
Message-ID: <006801cbefc7$8a77d2b0$9f677810$@gmx.de> (raw)
Hello,
this is nice:
http://wiki.contextgarden.net/Headers_and_Footers#Marginal_headings_and_cent
ered_headings
However, the text in the margin has not the same interlinespace as the main
text and that looks weird.
See http://i52.tinypic.com/91rc.png
The only solution I came up with is using \framed:
\startsetups[text a]
\framed[align=flushleft,
height=24\lineheight,
width=\rightmarginwidth,
frame=off
]
{\getmarking[section]}
\stopsetups
The drawback seems to be that with this, I can not use \raised , so I have
to enlarge the frame (It says "A box is expected here" when I try to raise
the frame).
Is there a better solution?
P.S: Bonus points: Align baselines of margin text and main text.
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2011-03-31 17:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-31 17:17 C. [this message]
2011-03-31 21:17 ` Wolfgang Schuster
2011-04-01 22:02 ` C.
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='006801cbefc7$8a77d2b0$9f677810$@gmx.de' \
--to=metan0r@gmx.de \
--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).