* Keep framed on the baseline
@ 2006-01-14 6:04 David Arnold
2006-01-14 12:32 ` Johan Sandblom
2006-01-14 20:10 ` Mojca Miklavec
0 siblings, 2 replies; 4+ messages in thread
From: David Arnold @ 2006-01-14 6:04 UTC (permalink / raw)
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Keep framed on the baseline
2006-01-14 6:04 Keep framed on the baseline David Arnold
@ 2006-01-14 12:32 ` Johan Sandblom
2006-01-14 20:10 ` Mojca Miklavec
1 sibling, 0 replies; 4+ messages in thread
From: Johan Sandblom @ 2006-01-14 12:32 UTC (permalink / raw)
Outside math I think the solution is \inframed, but I don't know if
that works here.
Johan
2006/1/14, David Arnold <dwarnold45@cox.net>:
> 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.
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
--
Johan Sandblom N8, MRC, Karolinska sjh
t +46851776108 17176 Stockholm
m +46735521477 Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Keep framed on the baseline
2006-01-14 6:04 Keep framed on the baseline David Arnold
2006-01-14 12:32 ` Johan Sandblom
@ 2006-01-14 20:10 ` Mojca Miklavec
2006-01-14 20:44 ` David Arnold
1 sibling, 1 reply; 4+ messages in thread
From: Mojca Miklavec @ 2006-01-14 20:10 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Keep framed on the baseline
2006-01-14 20:10 ` Mojca Miklavec
@ 2006-01-14 20:44 ` David Arnold
0 siblings, 0 replies; 4+ messages in thread
From: David Arnold @ 2006-01-14 20:44 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-14 20:44 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-14 6:04 Keep framed on the baseline David Arnold
2006-01-14 12:32 ` Johan Sandblom
2006-01-14 20:10 ` Mojca Miklavec
2006-01-14 20:44 ` David Arnold
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).