ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* about \framed and \inframed
@ 2011-03-04 11:28 Jeong Dalyoung
  2011-03-05 18:53 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Jeong Dalyoung @ 2011-03-04 11:28 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: about \framed and \inframed
  2011-03-04 11:28 about \framed and \inframed Jeong Dalyoung
@ 2011-03-05 18:53 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2011-03-05 18:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 04.03.2011 um 12:28 schrieb Jeong Dalyoung:

> 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.

Make a minimal example!

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-05 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-04 11:28 about \framed and \inframed Jeong Dalyoung
2011-03-05 18:53 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).