2

An simple example:

\starttext
\setupframed[align=right,frame=off,offset=none]
\framed{A\hskip3em\framed{B\\ C}}
\stoptext

How can I set the framed which contains B\\ C so that the baseline of \framed{B\\ C} can have the same baseline with the first line B?

The same result can be achieved in plain TeX as follows:

\hbox{\vtop{\hbox{A}}\hskip3em\vtop{\hbox{B}\hbox{C}}}

What's the method in ConTeXt?

1 Answer 1

3

You need location=top, see Wiki - setupframed for more options.

\starttext
  \framed{A\hskip3em\framed[align=normal,location=top]{B\\ C}}
\stoptext

result

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .