Mats Andrén wrote:

I wonder if it is somehow possible to create a text box in LyX that has a "heading" in the border line of the box? What I am looking for is possible in html/ccs, and you can see one example here at the bottom of the page where it says "Membership blah blah":

http://www.salc-sssk.org/?p=join


Depending on what output format you need, you can at least come close. You'll need the fancybox and pstricks packages. I'm attaching a small example, using code I shamelessly cribbed from the fancybox documentation (ca. page 16). View > Postscript and View > PDF (ps2pdf) produce something plausible. View > DVI and View PDF (dvipdfm) produce everything except the box border. View > PDF (pdflatex) causes dogs to howl.

/Paul

Attachment: titledbox.lyx
Description: application/lyx

Reply via email to