[texhax] Selecting which edge should be framed in a box

Jim Diamond Jim.Diamond at acadiau.ca
Sun May 2 18:09:47 CEST 2010


On Sun, May  2, 2010 at 13:02 (-0300), José Romildo Malaquias wrote:

> I am looking for a way of put frames around a box, but selectively. That
> is, not all four edges need frames, but only some of them. For instance,
> I may need frames on all edges but the bottom one. Or I may need frames
> only on the vertical edges.

> Any hints on how to accomplish this?

> Regards,

Romildo,

how do you want to specify which sides get an edge?

Do you want to call something like
	\framit yyny {material to be framed}
or
	\framit 13 {material to be framed}  % 8 + 4 + 0 + 1
or
	\framebottomtrue
	\framelefttrue
	\framerightfalse
	\frametoptrue
	\framit {material to be framed}
or ...
?

And do you already have a macro to draw a 4-sided frame?

And are you using plain tex, latex or context?

More details would be useful.

Cheers.
				Jim


More information about the texhax mailing list