[NTG-context] Keep framed on the baseline

David Arnold dwarnold45 at cox.net
Sat Jan 14 21:44:19 CET 2006


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 at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context



More information about the ntg-context mailing list