From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/259 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Columns and different sizes Date: Tue, 17 Nov 1998 15:27:40 +0100 (W. Europe Standard Time) Sender: owner-ntg-context@let.uu.nl Message-ID: <13905.34780.780000.875925@PC709> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035391124 22501 80.91.224.250 (23 Oct 2002 16:38:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:38:44 +0000 (UTC) Original-To: Gilbert van den Dobbelsteen , Context Task Force Xref: main.gmane.org gmane.comp.tex.context:259 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:259 >>>>> "GvdD" == Gilbert van den Dobbelsteen writes: GvdD> Hi there, GvdD> I am creating a flyer with a 3 column layout. Now I need to adapt the GvdD> column-widths for the different columns. Something like this: GvdD> \setupcolumns % setup width for column 1 GvdD> [1] GvdD> [width=0.4\hsize] etc... If you don't mind calculating where the columns end yourself, you might try something like the code below. It's a really nasty hack, but it looks like what you had in mind: - the first \rightskip is needed because the intercolumn space is breaking down on this hack. - The size values may need some adjustment, since .4 + .4 + (a quarter of .4) = .9\hsize, not 1. Too lazy to redo the calcs. - \startverysmall and \stopverysmall were inserted in two iterative passes, one after the other. - This hack is basically plain text only, I think. Greetings, Taco %%%%%%%%%%%%%%%%%%%%%% begin \stelkorpsin[10pt] \stelkolommenin[n=3,balanceren=nee] \def\setcolumnhsize% change an internal {\localcolumnwidth=.4\hsize \usercolumnwidth=\localcolumnwidth \hsize=\localcolumnwidth} \def\startverysmall{% starts .1\hsize \begingroup {\parfillskip0pt\par}% this breaks the last par of column 2 \noindent \rightskip = .75\hsize \hbadness = 10000 \emergencystretch=3em} \def\stopverysmall{% stops .1\hsize {\parfillskip0pt\par}% this breaks the last par of column 3 \endgroup } \starttekst \startkolommen \rightskip=1em Hi there, I am creating a flyer with a 3 column layout. Now I need to adapt the column-widths for the different columns. Something like this: ...My fantastic flyer text... I can't find anything that looks like this. In fact I do not want 3 columns, but only 2, and a small column look-alike-thing in the right margin. So a solution could be to create a two-column layout on a page with lot's of right-margin, and provide the text in the right-margin seperatly? Don't know how to do that either, but I can find that out myself (I hope). %............... text between "I am" and "hope); repeated 5 more times, % cut out of the email message for brevity..... I am creating a flyer with a 3 column layout. Now I need to adapt the column-widths for the different columns. Something like this: ...My fantastic flyer text... I can't find anything that looks like this. In fact I do not want 3 columns,\startverysmall but only 2, and a small column look-alike-thing in the right margin. So a solution could be to create a two-column layout on a page with lot's of right-margin, and provide the text in the right-margin seperatly? Don't know how to do that either, but I can find that out myself (I hope). I am creating a flyer with a 3 column layout. Now I need to adapt the column-widths for the different columns.\stopverysmall Something like this: ...My fantastic flyer text... I can't find anything that looks like this. In fact I do not want 3 columns, but only 2, and a small column look-alike-thing in the right margin. So a solution could be to create a two-column layout on a page with lot's of right-margin, and provide the text in the right-margin seperatly? Don't know how to do that either, but I can find that out myself (I hope). Any ideas? Gilbert. \stopkolommen \stoptekst %%%%%%EOF