ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* indent a block of text
@ 2012-07-15 19:02 Peter Münster
  0 siblings, 0 replies; only message in thread
From: Peter Münster @ 2012-07-15 19:02 UTC (permalink / raw)
  To: ConTeXt users

Hi,

I want to indent a block of text to the right by the width of some other
short text:

--8<---------------cut here---------------start------------->8---
\starttext
\framed[height=5cm, offset=0pt, strut=no, frame=off]{%
  Bla:~\framed[location=top, align=flushleft, height=max, offset=pt,
    frame=off]{%
    This text is indented to the right by the amount of the width of
    \quote{Bla:~}. Can this be done better?
    \vfill
    \rightaligned{At the bottom of the outer box.}}}
\stoptext
--8<---------------cut here---------------end--------------->8---

Any hints, how to do this in a cleaner way?

TIA,
-- 
           Peter
___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2012-07-15 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-15 19:02 indent a block of text 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).