ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Frans Goddijn" <frans@goddijn.com>
Subject: Re: one answered
Date: Thu, 6 Sep 2001 22:35:12 +0200	[thread overview]
Message-ID: <000701c13714$75a97d00$15a7fea9@lap> (raw)
In-Reply-To: <003201c13710$891f5160$cf29a33e@arnhem.chello.nl>

This stuff is really powerful, and educative in that there's always a new
riddle around the corner.

> first of all, for inline usage, you should
> use \inframed (\inlijnd)

Sorry, I don't understand your remark here. I looked up \inlijnd in the
manual but \inlijnd does nopt seem to be involved here:

this is the MP command at present, giving me the circle around the P (but
the top and left side of the circle are cut off, as of something white is
overlapping it there. This maybe the white of the box around the P... just a
guess.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\startreusableMPgraphic{omcirkeld}
  draw fullcircle xyscaled (OverlayWidth)
     withpen pencircle scaled OverlayLineWidth
     withcolor OverlayLineColor ;
 path b ; b := boundingbox currentpicture ;
 currentpicture := currentpicture shifted (-1pt,+3pt) ;
 setbounds currentpicture to b ;
\stopreusableMPgraphic
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\defineoverlay[omcirkeld][\reuseMPgraphic{omcirkeld}]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Now I wonder, should I make the c!voorgrond something like c!achtergrond
(which didn't work when I tried of course ;=}}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\unprotected \defineframedtext
   [omcirkeld]
   [\c!kader=\v!uit,
    \c!voorgrond=omcirkeld,
    \c!breedte=\v!passend,
    \c!offset=1ex]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setupcolors[state=start]
% usage: \omcirkeld [framecolor=green] {Frans}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\stkoplogo%
   {\vbox{%
           \font\stpee=pplr8r at 22pt
      \regelmidden{\omcirkeld{\stpee P}}
    \crlf
....}}

Groet!

frans


       reply	other threads:[~2001-09-06 20:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <003201c13710$891f5160$cf29a33e@arnhem.chello.nl>
2001-09-06 20:35 ` Frans Goddijn [this message]
2001-09-07  7:11   ` Hans Hagen
2001-09-07 11:11     ` Frans Goddijn
2001-09-07 15:23       ` Hans Hagen
2001-09-04  9:34 Frans Goddijn
2001-09-04 10:29 ` Hans Hagen
2001-09-04 11:17   ` Frans Goddijn
2001-09-04 12:38     ` Hans Hagen
2001-09-04 20:47       ` Frans Goddijn
2001-09-05  5:12         ` Johannes Huesing
2001-09-05  7:13         ` Hans Hagen
2001-09-05  8:58           ` Frans Goddijn
2001-09-05 10:36             ` Hans Hagen
2001-09-05 19:02               ` Frans Goddijn
2001-09-06  6:48                 ` Hans Hagen

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='000701c13714$75a97d00$15a7fea9@lap' \
    --to=frans@goddijn.com \
    /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).