Am 23.05.2012 um 06:43 schrieb Aditya Mahajan:
Hi,
Currently it is not possible to individually set the thickness of the different borders of a frame. A typical use-case is typesetting a table row where the top frame is double the thichness of the bottom frame. Having to resort to metapost for something as simple as this is a bit annoying.
Attached is a metapost library that defines "local" fences and allows you to set border individually. For example
\defineframed[...][frame=off, topframe=local, topframethickness=1pt, bottomframe=local, bottomframethickness=0.5pt]
sets the top frame to be 1pt and the bottomframe to be 0.5pt.
Does it make sense to include this (appropriately modified) in the core? Or is it better to distribute such enhancements as a user module.
I modified your code to bring it in the same form as meta-imp-fen.mkiv. The best form of distribution is when Hans add it to the core because you can load it then with \useMPlibrary[…] in your document. Wolfgang