[NTG-context] about \framed and \inframed

Jeong Dalyoung haksan at me.com
Fri Mar 4 12:28:29 CET 2011


Dear all,

I defined "Example" as following:

\defineenumeration[Example]
  [location=serried,
   headstyle=bold,
   command={\framed[height=1.3em]},
   text={\ss \white 예제},
   prefix=yes,
   prefixsegments=chapter,
   way=bychapter,
   width=broad,
   number=yes,
   before={\blank[big]},
   after=\blank]

The problem is that the bottom of the framed text is aligned just below the center of the following text lines. The vertical center is a little bit higher than that of the following lines. If I use "\inframed", then the top line of the frame is a little bit higher than the center of the following sentence, so there is almost no space between the frame and the texts in the next line.
In the manual \inframed makes vertical center alignment, but I can't make it.

I'd like to make vertical center alignment framed word and the normal text line which follows.

How can I do it?

Thank you for reading.

Best regards,

Dalyoung


More information about the ntg-context mailing list