From: Eros Albertazzi <phyche1@bo.imm.cnr.it>
Subject: Re: Re: howto overlayers on section head
Date: Wed, 11 Aug 2004 11:53:02 +0200 [thread overview]
Message-ID: <4119EC7E.9050406@bo.imm.cnr.it> (raw)
In-Reply-To: <m2zn52wrf0.fsf@levana.de>
thanks again for the summary.
hope this back and forth will not be just a waste, but something out of
which we can both/all learned to improuve.
Patrick Gundlach wrote:
> This is partly high level ConTeXt (\framed, background) and low level
> TeX (hfill,...).
"partially high and low"... Here laid my question not easy to untungle
for a beginner (and believe me I have read the docs, although I do not
claim to remember or understand all)
>
> Summary: define a metapost graphic, use \defineoverlay to access
> the mp graphic and use \framed{} to access the overlay
> (background=...) and use \setuphead (command=somecommand) to define
> your own command that acesses the \framed[background=...].
"define your own command" , but you have to know THE (default) command
fist, otherwise it is hard to obtain a result (.pdf) from something that
is not just a copy of someonelse .tex
let me start basic, ex-1
\starttext
\chapter{ciao}
\stoptext
let me remove \framed from your command, ex-2
\def\HeadTitle#1#2{\hbox to \hsize%
{\hfil%
{#1#2}\hfil}}
\setuphead [chapter]
[command=\HeadTitle]
\starttext
\chapter{ciao}
\stoptext
the two ex-s are not the same , because spacing between the number and
the title and allignment, why?
Moving your howto overlay example, indeed very useful, from subject to
chapter seems to me more subtle than just changing section names
next prev parent reply other threads:[~2004-08-11 9:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 8:41 Eros Albertazzi
2004-08-10 9:43 ` Patrick Gundlach
2004-08-10 11:54 ` Eros Albertazzi
2004-08-10 22:37 ` Patrick Gundlach
2004-08-11 9:53 ` Eros Albertazzi [this message]
2004-08-11 10:36 ` Patrick Gundlach
2004-08-11 10:38 ` Patrick Gundlach
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=4119EC7E.9050406@bo.imm.cnr.it \
--to=phyche1@bo.imm.cnr.it \
--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).