From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Multipages registers
Date: Mon, 19 Sep 2011 10:04:41 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.02.1109190959130.27339@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <13AE3EB1-4F5A-4BF8-B261-3C9B83414535@unilim.fr>
> I want to use the following macro taken from the ConTeXt garden :
> \define[1]\SlideTitle{\framed[height=1.5\lineheight,frame=off,
> bottomframe=on, topframe=on, width=broad]{\leftaligned{\tfb \chapter
> {#1}}\pagenumber}}
Ouch. There is no need to resort to such macros. A nicer definition will
be something like (untested)
\definehead[SlideTitle][section-1]
\setuphead[SlideTitle][style=\tfb, command=\SlideTitleCommand]
\defineframed[SlideTitleFrame][height=....,align=right]
\def\SlideTitleCommand#1#2{\SlideTitleFrame{#1 \pagenumber}}
Where is such a macro given in the garden. A quick search did not show it.
Aditya
___________________________________________________________________________________
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 prev parent reply other threads:[~2011-09-19 14:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-14 9:54 Pierre-François Bonnefoi
2011-09-18 18:23 ` Wolfgang Schuster
2011-09-18 18:29 ` Pierre-François Bonnefoi
2011-09-18 18:34 ` Wolfgang Schuster
2011-09-18 18:41 ` Pierre-François Bonnefoi
2011-09-19 14:04 ` Aditya Mahajan [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-09-25 18:41 Pierre-François Bonnefoi
2011-09-01 16:54 Pierre-François Bonnefoi
2011-09-01 18:20 ` 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=alpine.LNX.2.02.1109190959130.27339@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).