ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* simple layout
@ 2010-01-12 23:25 Wolfgang Werners-Lucchini
  2010-01-12 23:38 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Werners-Lucchini @ 2010-01-12 23:25 UTC (permalink / raw)
  To: ntg-context

Hallo,

I need a little help for this simple layout. I am looking for a 
solution for hours now, but I can not get it work:
----------------------------------------------------------------
\setupcolors[state=start]

\starttext
\framed[background=color, backgroundcolor=gray]{%
\starttable[|lp(.1\textwidth)|lp(.9\textwidth)|]
\NC \placefigure[left,high]{none}{\framed[height=1cm]{graphic}}
\NC Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text 
rechts!\crlf Text rechts!\crlf Text rechts!\crlf Text rechts!\crlf 
Text rechts!\crlf Text rechts!  \NC\AR
% \NC Text rechts!  \NC\AR
\stoptable}

Mehr Text \ldots
\stoptext
-----------------------------------------------------------------
left: picture (not always the same height)
right: text (variable height, sometimes more, sometimes less than on 
the left)
left and right framed (height should be the maximum of left and right 
height)
after that: normal text.

Problems:
If height(left)>height(right) than height(framed) is not height(left)

'Mehr Text' is not left aligned

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] 3+ messages in thread

* Re: simple layout
  2010-01-12 23:25 simple layout Wolfgang Werners-Lucchini
@ 2010-01-12 23:38 ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2010-01-12 23:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 13.01.2010 um 00:25 schrieb Wolfgang Werners-Lucchini:

> Hallo,
> 
> I need a little help for this simple layout. I am looking for a 
> solution for hours now, but I can not get it work:
> ----------------------------------------------------------------
> \setupcolors[state=start]
> 
> \starttext
> \framed[background=color, backgroundcolor=gray]{%
> \starttable[|lp(.1\textwidth)|lp(.9\textwidth)|]
> \NC \placefigure[left,high]{none}{\framed[height=1cm]{graphic}}

\NC \tbox{\externalfigure[...]} \NC ... \NC\AR

You can find more box type in supp-box.tex

Kind regards,
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] 3+ messages in thread

* Re: simple layout
       [not found] <mailman.1.1263380402.31625.ntg-context@ntg.nl>
@ 2010-01-14 11:47 ` Wolfgang Werners-Lucchini
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Werners-Lucchini @ 2010-01-14 11:47 UTC (permalink / raw)
  To: ntg-context

    > \NC \tbox{\externalfigure[...]} \NC ... \NC\AR
    > 
    > You can find more box type in supp-box.tex
    Yes! I have never heared about this.
    Thank you very much!
    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] 3+ messages in thread

end of thread, other threads:[~2010-01-14 11:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-12 23:25 simple layout Wolfgang Werners-Lucchini
2010-01-12 23:38 ` Wolfgang Schuster
     [not found] <mailman.1.1263380402.31625.ntg-context@ntg.nl>
2010-01-14 11:47 ` Wolfgang Werners-Lucchini

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