ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Subject: Re: Keep framed on the baseline
Date: Sat, 14 Jan 2006 12:44:19 -0800	[thread overview]
Message-ID: <DB794283-CA5B-4535-BF63-D5B58D1F9A47@cox.net> (raw)
In-Reply-To: <6faad9f00601141210t7efedfe7t718a88e3ee5302e7@mail.gmail.com>

Mojca et al,

This seems to do what I want. I wanted the strikeout just a bit longer.

\startuniqueMPgraphic{strikeme}
	draw (-1,-1)--(OverlayWidth+1,OverlayHeight+1) withpen pencircle  
scaled 1pt
withcolor red;
\stopuniqueMPgraphic

\defineoverlay[strikeme][\uniqueMPgraphic{strikeme}]
\def\strikeout#1{\mframed[frame=off,background=strikeme]{#1}}

I tried working with offset (instead of attacking the graphic as I  
did), but that raised the numbers.

This look OK to folks, or should I be doing something with enlarged  
1pt or some such thing?

On Jan 14, 2006, at 12:10 PM, Mojca Miklavec wrote:

> David Arnold wrote:
>> All,
>>
>> I have:
>>
>> \placeformula[-]
>> \startformula
>>    \eqalign{
>>    &\text{Divisors of 12}: \framed{1},\ \framed{2},\ \framed{3},\ 4,\
>> \framed{6},\ 12\cr
>>    &\text{Divisors of 18}: \framed{1},\ \framed{2},\ \framed{3},\
>> \framed{6},\ 9,\ 18}
>> \stopformula
>>
>> But I'd like to keep the numbers on the same baseline and let the
>> frame dip below the baseline.
>
> What about \mframed? (Probably already evident from the other mail.)
>
> Mojca
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

      reply	other threads:[~2006-01-14 20:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-14  6:04 David Arnold
2006-01-14 12:32 ` Johan Sandblom
2006-01-14 20:10 ` Mojca Miklavec
2006-01-14 20:44   ` David Arnold [this message]

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=DB794283-CA5B-4535-BF63-D5B58D1F9A47@cox.net \
    --to=dwarnold45@cox.net \
    --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).