ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* typing midaligned
@ 2006-05-05 16:03 Peter Münster
  2006-05-06  7:42 ` Taco Hoekwater
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Münster @ 2006-05-05 16:03 UTC (permalink / raw)


Hello,
such things are really easy and straightforward with LaTeX (parbox and
minipage), but with ConTeXt I have still a lot of difficulties. This is
what I do to align some typing in the middle:

\starttext
\input tufte

\setuptyping[before=\vskip-\lineheight,after=\vskip-0.13\lineheight]
\startalignment[middle]
\dontleavehmode
\framed[align=lohi,frame=off]{%
\starttyping
bla bla bla
bla bla bla bla bla bla bla bla bla
\stoptyping
}
\stopalignment
\input tufte
\stoptext

The result is correct, but can't this be done much easier?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

end of thread, other threads:[~2006-05-09 16:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-05 16:03 typing midaligned Peter Münster
2006-05-06  7:42 ` Taco Hoekwater
2006-05-06  8:32   ` Hans Hagen
2006-05-06 13:58     ` Peter Münster
2006-05-07 18:09       ` Hans Hagen
2006-05-08  7:03         ` Peter Münster
2006-05-08 12:06           ` Hans Hagen
2006-05-08 21:32             ` Peter Münster
2006-05-09 12:37               ` Hans Hagen
2006-05-09 16:07                 ` Peter Münster

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