Brian R. Landy wrote:
One more interesting point, in case this helps anyone out, is I find that the behavior also changes if \framed has an offset vs. offset=overlay or offset=none. To get the proper line spacing when there is an offset you need to \switchtobodyfont both inside and before \framed. With offset=overlay or offset=none, it is only necessary to \switchtobodyfont inside \framed.
spacing inside framed is also determined by the strut (use \showstruts to see what happens) and when you use the foregroundstyle or setup keys the strut will adapt itself to the bodyfont, contrary to when you pass it as content (it then depends on things like grouping and so) so: whenever you want the spacing in a framed to adapt to the font, use the foregroundstyle key ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------