Interrupted framebox around text.
I want to set up several framed text passages in my document, where the title of the passage actually interrupts the top line of the box thus: -----My title------------------------------------------- | | | | | Blah blah. | |_________________________________ | I have seen such a configuration in books prepared using other software. Can it be done easily in Context (without involving Metapost etc.)? -- John Culleton Able Typesetters and Indexers http://wexfordpress.com
John Culleton
I have seen such a configuration in books prepared using other software. Can it be done easily in Context (without involving Metapost etc.)?
What is wrong about metapost? There is a nice example in the metafun handbook. Patrick -- You are your own rainbow!
Hi, On Tue, Oct 28, 2003 at 07:25:40AM -0500, John Culleton wrote:
I want to set up several framed text passages in my document, where the title of the passage actually interrupts the top line of the box thus:
-----My title-------------------------------------------
In cont-eni.pdf (p 249, 11.4 Lines and Frames in ConTeXt the manual) I found this command: ------------------------------------------- \textrule[.1.]{.2.} .1. top bottom .2. text An example: \textrule[top]{Instruments} Some artists mention the instruments that they use during the production of their \kap{CD}. In Peter Gabrielss \quote {Digging in the dust} he used the {\em diembe}, {\em tama} and {\em surdu}. The information on another song mentions the {\em doudouk}. Other \quote {unknown} instruments are used on his \kap{cd} \quote {Passion}. \textrule \setuptextrules[..,..=..,..] location left inmargin before command after command inbetween command width dimension distance dimension bodyfont 5pt ... 12pt small big color name style normal bold slanted boldslanted type cap small... command rulecolor name These is also a \start-\stop alternative. This one also honors the bodyfont parameter. ------------------------------------------- Tobias
participants (3)
-
John Culleton
-
Patrick Gundlach
-
Tobias Burnus