ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Richard Sherman <rss.pdx@gmail.com>
To: ntg-context@ntg.nl
Subject: Re:  setupinmargin, setupmargindata ; page numbers ;	fonts
Date: Tue, 25 Nov 2014 09:14:28 +0000 (UTC)	[thread overview]
Message-ID: <loom.20141125T093102-950@post.gmane.org> (raw)
In-Reply-To: <31883BBF-78F7-4ECD-AAC2-F59A44EDD910@gmail.com>

Wolfgang Schuster <schuster.wolfgang <at> gmail.com> writes:

...
> \setuppagenumbering[style=\ttc]
> 
> \setuplayout[backspace=4cm]
> 
> \showframe
> 
> \setupmarginframed[inmargin][align=flushleft]
> \setupmargindata  [inmargin][style={\switchtobodyfont[ss,18]}]
> 
> % Faster method to switch the font for \inmargin
> %\definefont[InmarginStyle][Sans at 18pt]
> %\setupmargindata[inmargin][style=InmarginStyle]
> 
> \starttext
> 
> \dorecurse{10}
>   {\inmargin{Ward}
>    \input ward\par
>    \inmargin[][align=flushleft]{Knuth}
>    \input knuth\par
>    \inmargin[][align=flushright]{Tufte}
>    \input tufte\par
>    \inmargin[][align=middle]{Zapf}
>    \input zapf\par}
> 
> \stoptext

---

Thank you, this is beginning to look good. 

Your first method, uncommented, does not work for me. I get an error at 
the first occurrence of \inmargin.

Using the method you commented out, I get what I want. I'm a little 
perplexed at why I can't include align=flushleft as in \setupmargindata[inmargin]
[style=InMarginStyle, align=flushleft]. I'm unable to find any reference 
to \setupmarginframed via Google. 

Using \setuppagenumbering[style=\rmx, location={header, inmargin}, align=right], 
I'm able to get close to what I want, though 'align=right' has no effect.

Oddly (?), my system knows no Ward, nor Tufte, nor Zapf, nor any 
of the rest of them. :)

Thanks, -Richard


___________________________________________________________________________________
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:[~2014-11-25  9:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-25  2:47 Richard Sherman
2014-11-25  5:35 ` Wolfgang Schuster
2014-11-25  9:14   ` Richard Sherman [this message]
2014-11-25 16:00     ` Wolfgang Schuster
2014-11-26  1:39       ` Richard Sherman
2014-11-26  6:01         ` Wolfgang Schuster

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=loom.20141125T093102-950@post.gmane.org \
    --to=rss.pdx@gmail.com \
    --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).