From: lihb <lihb@phys.sinica.edu.tw>
Subject: some questions about logo and margin background.
Date: Thu, 19 Jun 2003 19:11:49 +0800 [thread overview]
Message-ID: <3EF19A75.7000303@phys.sinica.edu.tw> (raw)
Hi,
I have two question, I 'm not sure this is the right place to ask,
apologize for that.
1st question: I wish to put a small logo at the footer at everypage
so I try to write a tex as below:
\usemodule[pre-general]
\setuppapersize
[S6][S6]
\setuplayout
[width=fit,
height=fit,
header=32pt,
footer=32pt]
\setupfootertexts[\bf\ss{test}][\bf\ss{\date}]
\def\RedHatLogo%
{\externalfigure[shadowman-32.png][type=png]}
\definelogo
[small logo] [footer] [middle]
[command=\RedHatLogo,state=start]
\starttext
\chapter{test}
\placelogos[small logo]
\stoptext
and I found that the shadowman logo did not show up..
How do I make a .png file show up at corner or bottom of every pages?
2nd question: change the background of margin
I have a rightmargin with
\startuniqueMPgraphic{test}
picture p ; p := btex TEST etex rotated 90 ;
setbounds p to boundingbox p enlarged 1pt ;
draw p withcolor 0.8white ;
currentpicture := currentpicture
xysized (\overlaywidth,\overlayheight) ;
\stopuniqueMPgraphic
\defineoverlay[test][\uniqueMPgraphic{test}]
\setupbackgrounds
[text]
[rightmargin]
[background=test]
which is a word "TEST" with grey color and white background,
how to change the background color?
I had try 'fill p withcolor darkcyan ;'
but the background of margin is still white.
Thanks.
lihb
lihb@phys.sinica.edu.tw
next reply other threads:[~2003-06-19 11:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-19 11:11 lihb [this message]
2003-06-19 12:24 ` Willi Egger
2003-06-19 12:51 ` wmcclain
2003-06-19 12:57 ` Willi Egger
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=3EF19A75.7000303@phys.sinica.edu.tw \
--to=lihb@phys.sinica.edu.tw \
--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).