I have a single page layout as follows: * Landscape + letter page * Block of multi-line text (variable number of lines) which occupies the left third of the page * Table with variable number of rows which occupies the right two-thirds of the page I'm using \framed for the left text block and \placetable for the table. Is their a way to vertically place the table such that one-third of the vertical whitespace (above and below the table) is placed above the table, two-thirds below the table? The number of rows in the table varies enough that a fixed top position looks sub-optimal. Is it possible to do something similar with the block of text, perhaps using a different top/bottom split for the vertical whitespace? Are \framed and \placetable the best way to do this? david
Am 30.01.10 05:29, schrieb Design Department:
I have a single page layout as follows:
* Landscape + letter page * Block of multi-line text (variable number of lines) which occupies the left third of the page * Table with variable number of rows which occupies the right two-thirds of the page
I'm using \framed for the left text block and \placetable for the table. Is their a way to vertically place the table such that one-third of the vertical whitespace (above and below the table) is placed above the table, two-thirds below the table? The number of rows in the table varies enough that a fixed top position looks sub-optimal.
Is it possible to do something similar with the block of text, perhaps using a different top/bottom split for the vertical whitespace?
Are \framed and \placetable the best way to do this?
Is the content for each element short enough to fit on one page or do you have content which needs more pages? Wolfgang
I have a single page layout as follows:
* Landscape + letter page * Block of multi-line text (variable number of lines) which occupies the left third of the page * Table with variable number of rows which occupies the right two-thirds of the page
I'm using \framed for the left text block and \placetable for the table. Is their a way to vertically place the table such that one-third of the vertical whitespace (above and below the table) is placed above the table, two-thirds below the table? The number of rows in the table varies enough that a fixed top position looks sub-optimal.
Is it possible to do something similar with the block of text, perhaps using a different top/bottom split for the vertical whitespace?
Are \framed and \placetable the best way to do this?
Is the content for each element short enough to fit on one page or do you have content which needs more pages?
The content always fits on a single page.
Am 31.01.10 16:50, schrieb Design Department:
Is the content for each element short enough to fit on one page or do you have content which needs more pages?
The content always fits on a single page.
Here is a goodie which is only documented in the ConTeXt source. \setupheadertexts[the header text] \setupfootertexts[a pretty long left footer text][something right] \setupbottomtexts[a not so long bottom text][another right thing] \setuptexttexts [margin][something marginal][indeed] \startpagelayout[leftpage] \setupTABLE[offset=overlay] \setupTABLE[c][1][width=\leftmarginwidth] \bTABLE \bTR \bTD[nx=3,background=color,backgroundcolor=green] \pagearea[header][text][middle] \eTD \eTR \bTR \bTD \pagearea[text][margin][left] \eTD \bTD[nx=2] \pagearea[text] \eTD \eTR \bTR \bTD[nx=3,offset=overlay] {\bTABLE[width=.5\hsize] \bTR \bTD \pagearea[footer][text][left] \eTD \bTD \pagearea[bottom][text][left] \eTD \eTR \eTABLE} \eTD \eTR \eTABLE \stoppagelayout \startpagelayout[rightpage] \setupTABLE[offset=overlay] \setupTABLE[c][1][width=\rightmarginwidth] \bTABLE \bTR \bTD[nx=3] \pagearea[header][text][middle] \eTD \eTR \bTR \bTD \pagearea[text][margin][left] \eTD \bTD[nx=2] \pagearea[text] \eTD \eTR \bTR \bTD[nx=3,offset=overlay] {\bTABLE[width=.5\hsize] \bTR \bTD \pagearea[bottom][text][right] \eTD \bTD \pagearea[footer][text][right] \eTD \eTR \eTABLE} \eTD \eTR \eTABLE \stoppagelayout \setupcolors[state=start] \setupbackgrounds[text][background=color,backgroundcolor=blue] \setupbackgrounds[header][text][background=color,backgroundcolor=red] \setuppagenumbering[alternative=doublesided,location=] \setuplayout[method=makeup] \definetextbackground [test] [state=start, background=color, backgroundcolor=yellow] \starttext \dorecurse{10}{\input tufte \par} \input tufte \starttest \input tufte \stoptest \input tufte \starttabulate \NC test \NC \starttest \input tufte \stoptest \NC \NR \stoptabulate \dorecurse{10}{\input tufte \par} \stoptext Regards, Wolfgang
Am 31.01.10 16:58, schrieb Wolfgang Schuster:
or do you have content which needs more pages?
The content always fits on a single page. Is the content for each element short enough to fit on one page
Here is a goodie which is only documented in the ConTeXt source.
[...] There are other ways to achive the same result but without a example (could be a picture) a better answer is hardly possible. Wolfgang
On 2010-01-31, at 8:58 AM, Wolfgang Schuster wrote:
Am 31.01.10 16:50, schrieb Design Department:
Is the content for each element short enough to fit on one page or do you have content which needs more pages?
The content always fits on a single page.
Here is a goodie which is only documented in the ConTeXt source.
Thank-you Wolfgang. As always, I'm indebted. David
participants (2)
-
Design Department
-
Wolfgang Schuster