Am 2011-07-01 um 15:31 schrieb Bernd Kosubek:
Hi,
is it possible to change the number of columns on the same page?
small example:
a) text text text text
\startcolumnset[n=2]
Please read http://wiki.contextgarden.net/Columns
It’s either \startcolumns[n=2] or \startcolumnset
}
\startcolumnset[Doublecoltext]
This is a short paragraph. I think it should have a
footnote.\footnote{And so it shall! Unfortunately you won't be able
to see it because it is covered up with the text in the
columnsets.}
\input knuth
%\startpostponing
\placefigure
[btlr
:
a) text text text text
\startcolumnset[n=2]
Please read http://wiki.contextgarden.net/Columns
Thanks for your quickly answer.
I have read it, but there is no answer of my question.
I know, that I can use columns instead of columnset.
It is not in my interest to find other solutions
Columnsets provide you the possibility to place column spanning pictures:
Willi
\definecolumnset[Doublecoltext][n=2,balance=no]
\setupcolumnset[Doublecoltext][2][distance=5mm]
\starttext
\startcolumnset[Doublecoltext]
\chapter[chap:testing]{Testing}
\input knuth
%\startpostponing
\startcolumnset[columntest]
\startcolumnsetspan[wide]
\dorecurse{3}{\input knuth\par}
\stopcolumnsetspan
\dorecurse{10}{\input knuth\par}
\stopcolumnset
\stoptext
I'm just wondering if there is anything I might need to do to the above to get
it to work?
Any help would be greatly
an offset. But maybe I miss something...
Th solution I have now is
\startcolumnset
\placefigure[lrbt][]{none}{\offset[x=1cm]{\externalfigure[fake][width=2\textwidth,height=3cm]}}
% for moving the float to the right
\stopcolumnset
\startcolumnset
\placefigure[lrbt
something...
Th solution I have now is
\startcolumnset
\placefigure[lrbt][]{none}{\offset[x=1cm]{\externalfigure[fake][width=2\textwidth,height=3cm]}}
% for moving the float to the right
\stopcolumnset
\startcolumnset
\placefigure[lrbt][]{none}{\externalfigure[fake][width
is
\startcolumnset
\placefigure[lrbt][]{none}{\offset[x=1cm]{\externalfigure[fake][width=2\textwidth,height=3cm]}}
% for moving the float to the right
\stopcolumnset
\startcolumnset
\placefigure[lrbt][]{none}{\externalfigure[fake][width=2\textwidth,height=3cm]}
% for a left
Minimal code:
\definecolumnset[columntest][n=2,balance=yes]
\definecolumnsetspan[wide][n=2]
\starttext
\startcolumnset[columntest]
\startcolumnsetspan[wide]
\dorecurse{3}{\input knuth\par}
\stopcolumnsetspan
\dorecurse{10}{\input knuth\par}
\stopcolumnset
\stoptext
·
\definecolumnset[three][n=3]
\starttext
\startcolumnset[three]
\setupinterlinespace[small]
\input knuth
\column
\setupinterlinespace[medium]
\input knuth
\column
\setupinterlinespace[big]
\input knuth
\stopcolumnset
\stoptext
··8
Hi Florian,
can I interest you in some columnsets?
··8·
\definecolumnset[three][n=3]
\starttext
\startcolumnset[three]
\setupinterlinespace[small]
\input knuth
\column
\setupinterlinespace[medium]
\input knuth
\column
\Hugeskip = 1em plus 4em minus 4em %that should be enough stretchability
\definevspacingamount[Huge][\Hugeskip][\Hugeskip] % for \blank
\definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for
\setupwhitespace
\setupalign[line] %does not work
\starttext
\startcolumnset[two
%that should be enough stretchability
\definevspacingamount[Huge][\Hugeskip][\Hugeskip] % for \blank
\definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for
\setupwhitespace
\setupalign[line] %does not work
\starttext
\startcolumnset[two]
\setupalign[line] %does not work also
][\Hugeskip] % for \blank
\definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for
\setupwhitespace
\starttext
\startcolumnset[two]
\dorecurse{10}{\input knuth \blank[Huge]}
\setupwhitespace[Notsohuge]
\dorecurse{10}{\input knuth}
\stopcolumnset
\stoptext
···8
Hi all,
with natural tables I can’t seem to get column breaks right.
Example:
··8·
\setuppapersize[A5][A5]
\definecolumnset[three][n=3]
\starttext
\startcolumnset[three]
\dorecurse{5}{
\subject{Test nr. \recurselevel}
Some
\startcolumnset[cols]
\input knuth
\input tufte
\placefigure[][fig:stereoblock]
{AAxxxm}
{\externalfigure[xxx][width=0.8\textwidth]}
\input knuth
\input tufte
\input knuth
\input tufte
\placefigure[][fig:stereoblock]
{Axxxm}
{\externalfigure[xxx][width=0.8\textwidth]}
\input knuth
\input tufte
\stopcolumnset
=yes]
\setupfloats[frame=on,spacebefore=none,spaceafter=none,before=,after=]
\starttext
\showframe
\startcolumnset[cols]
\input knuth
\input tufte
\placefigure[][fig:stereoblock]
{AAxxxm}
{\externalfigure[xxx][width=0.8\textwidth]}
\input knuth
\input tufte
\input knuth
\input tufte
\placefigure
[Triple][n=3]
\startcolumnset[Poster]
\defineparagraphs[Half][n=2,before=,after=]
\defineparagraphs[Third][n=3,before=,after=]
\defineparagraphs[TwoThird][n=2,before=,after=]
\setupparagraphs[TwoThird][1][width=.66\textwidth]
\startcolumnsetspan[Double][default=here]
Here it is up to you to play\dots
in your chap_X file you can see in this message:
! Missing } inserted.
system error on line 16 in file MyProduct.tex: Missing ...
6
7 \startcolumnset[INDEX]
8
9 one
10
11 \column
12
13 two
14 ^^L\stopcolumnset
15
16 \stopbodymatter
17
It makes no sense to set values for columnset but use regular columns in
your document
and the correct value for direction you want is 'left' not 'right'.
\starttext
% columnset
\definecolumnset[arabic][n=2,direction=left]
\startcolumnset[arabic]
Oeps. In Arabic the 'first' column is on the right
\startcolumnset[threecolumns]
\setupcaption[figure][location={high,right},width=\dimexpr\One]
%\setupfloat[figure][location=left]
\null
\page[yes]
%\startcolumnsetspan[spanthree]
\placefigure[right][]
{\input ward}%
{\externalfigure[cow.pdf][width=.95\dimexpr\Two,frame=on]}
%\stopcolumnsetspan
\input
,force][test]{test}{\externalfigure[cow]}
\stopsetups
\starttext
\startcolumnset[example]
\dorecurse{25}{\fakewords{50}{100}}
\stopcolumnset
\stoptext
___
If your question is of interest to others as well, please add
[example][n=4]
\definecolumnsetarea[one][left][x=1,y=1,nx=6,ny=6,state=start]
\setupcolumnsetareatext[one][left][\setup{test}]
\startsetups test
\placefigure[here][test]{test}{\externalfigure[cow]}
\stopsetups
\starttext
\startcolumnset[example]
\dorecurse{25}{\fakewords{50}{100}}
\stopcolumnset
}]
\setuphead[section][before={\blank[halfline,flexible]}] % not working well
% \setuphead[section][after={\blank[halfline,flexible]}] % not working well
\starttext
\setuplayout[grid=yes] \showgrid
\definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work
\startcolumnset[my
[halfline,flexible]}] % not working well
% \setuphead[section][after={\blank[halfline,flexible]}] % not working well
\starttext
\setuplayout[grid=yes] \showgrid
\definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work
\startcolumnset[my]
\section{Pokus}
\input knuth
}]
\setuphead[section][before={\blank[halfline,flexible]}] % not working well
% \setuphead[section][after={\blank[halfline,flexible]}] % not working well
\starttext
\setuplayout[grid=yes] \showgrid
\definecolumnset[my][n=4,distance=1.2em,balance=yes] % balance not work
\startcolumnset[my
\startcolumnset[footnotes]}
\newcommand{\colpostfoot}{\stopcolumnset\startcolumnset[body]}
\setupfootnotedefinition[location=serried,distance=0.5em]
\newcommand{\fnstyle}{\switchtobodyfont[12pt]\addff{su}}
\setupnote[footnote][numbercommand=\fnstyle,textcommand=\fnstyle\tfa,before=\colprefoot,after
] % columnsets|twocolumns
\starttext
\doifmode{twocolumns}{\startcolumns}
\doifmode{columnsets}{\startcolumnset[two]}
\dorecurse{2}{\input knuth}\footnote{\input tufte}
\dorecurse{2}{\input knuth}
\doifmode{twocolumns}{\stopcolumns}
\doifmode{columnsets}{\stopcolumnset}
\stoptext
Thank you
\definecolumnset[two][n=2]
\enablemode[twocolumns] % columnsets|twocolumns
\starttext
\doifmode{twocolumns}{\startcolumns}
\doifmode{columnsets}{\startcolumnset[two]}
\dorecurse{2}{\input knuth}\footnote{\input tufte}
\dorecurse{2}{\input knuth}
\doifmode{twocolumns}{\stopcolumns}
\doifmode{columnsets
]
\definefloat[grafik]
\setupcaption[grafik][number=no,location=bottom]
\definecolumnset[ergebnisse][n=3]
%\definecolumnsetarea
%[title][left]
%[x=1,y=1,nx=6,ny=42,page=2,state=start]
\starttext
\startcolumnset[ergebnisse]
\definecolumnsethsize{ergebnisse}{1}{2}\Two
,page=2,state=start]
\starttext
\startcolumnset[ergebnisse]
\dorecurse{10}{\input tufte}
\placegrafik[btlr]{none}{\externalfigure[foo][width=1.95\textwidth]}
\subject{Victoria Beckham pregnant again!}
Barack Obama is the father! Confronted with this fact, her husband
David Beckham said\,\dots
]
\definecolumnset[ergebnisse][n=3]
\definecolumnsetarea
[title][left]
[x=1,y=1,nx=6,ny=42,page=2,state=start]
\starttext
\startcolumnset[ergebnisse]
\dorecurse{10}{\input tufte}
\placegrafik[btlr]{none}{\externalfigure[foo][width=1.95\textwidth]}
\subject{Victoria Beckham pregnant again
\defineoverlay[contrast][\useMPgraphic{contrast}]
\showframe
\starttext
\definecolumnset[mycolumnset][n=2]
\definecolumnsetarea
[einschub][left]
[x=1,y=1,nx=4,ny=20,page=2,
background=contrast,align={hi,right},state=start]
\startcolumnset[mycolumnset]
\dorecurse{15}{\input tufte\par
%\startbodymatter
\startcolumnset[deuxcolonnes]
\input tufte
\stopcolumnset
%\stopbodymatter
\stoptext
I leave it as an exercise to the others to spot the missing delimiter
in mkii sources.
Mojca
___
If your question
]
\starttext
%\startbodymatter
\startcolumnset[deuxcolonnes]
\input tufte
\stopcolumnset
%\stopbodymatter
\stoptext
I leave it as an exercise to the others to spot the missing delimiter
in mkii sources.
balancing in columnsets does not work anyway
]
\starttext
%\startbodymatter
\startcolumnset[deuxcolonnes]
\input tufte
\stopcolumnset
%\stopbodymatter
\stoptext
I leave it as an exercise to the others to spot the missing delimiter
in mkii sources.
ok, i figured it out
- when i split the code in mkii and mkiv i merged page-new.tex into
page
]
\enableregime[utf-8]
\definecolumnset[deuxcolonnes][n=2,balance=yes,distance=26pt]
\starttext
\startbodymatter
\startcolumnset[deuxcolonnes]
\section{Introduction}
The text here. The text here. The text here. The text here. The text here.
The text here. The text here. The text here. The text here
Oliver Heins wrote:
[Resending message: the first post bounced, because I used a
non-subscriber address.]
Hello,
the following code does not work with mark iv:
\definecolumnset [example-1] [n=2,balance=yes]
\starttext \showgrid
\startcolumnset [example-1] \dorecurse {1}{\input tufte \par
[Resending message: the first post bounced, because I used a
non-subscriber address.]
Hello,
the following code does not work with mark iv:
\definecolumnset [example-1] [n=2,balance=yes]
\starttext \showgrid
\startcolumnset [example-1] \dorecurse {1}{\input tufte \par} \stopcolumnset
Hello,
the following code does not work with mark iv:
\definecolumnset [example-1] [n=2,balance=yes]
\starttext \showgrid
\startcolumnset [example-1] \dorecurse {1}{\input tufte \par} \stopcolumnset
\stoptext
This is the error I get with latest minimals:
,
| ! Undefined control sequence
. blank=4pt in the setups. This solves my problem for the moment,
but is a bit ugly, because all spaces seem to be affected, also the
predefined caption innerspace(!)
\startcolumnset: I couldn't find any solution at all, unless grouping
everything in \startpacked ...\ \stoppacked
\startcolumnset[example]
\dorecurse{30}{\input tufte}
\stopcolumnset
\stoptext
\*modern12ptrmtfrm* a-rate the sheep from
! Missing \endcsname inserted.
to be read again
\relax
\dostepwiserecurse ...erocount \ifnum #2#1\relax
\else d\fi
behaviour.
\definepapersize[manif][width=986mm,height=660mm]
\setuppapersize[manif][manif]
\showgrid
\switchtobodyfont[14pt]
\definecolumnset[manif][n=6,distance=1.8cm]
\starttext
\startcolumnset[manif]
\dorecurse{100}{\input knuth}
\stopcolumnset
\stoptext
Why last lines are empty?
I must specify
\showframe
\starttext
\chapter{One}
\startcolumnset[column]
\dorecurse{10}{\input knuth}
\stopcolumnset
\stoptext
Looking in the mail archive it looks like this is an old problem (see:
http://archive.contextgarden.net/message/20060516.092742.d455b795.en.html
) but I'm wondering about a solution
]
\definetext[footerpagenumber][footer][pagenumber]
\setuphead[chapter][page=yes,header=high,footer=footerpagenumber,number=no,align=middle]
\definecolumnset[columnl][n=2]
\showgrid \showframe
\starttext
\chapter{One}
\startcolumnset[column]
\dorecurse{10}{\input knuth}
\stopcolumnset
\stoptext
Looking
]
\definecolumnset [example-2] [n=3,balance=yes]
\starttext \showgrid
\setupcolumnsetlines[example-1][1][1] [8]
\setupcolumnsetlines[example-1][1][2][10]
\setupcolumnsetstart[example-2][1][1][29]
\setupcolumnsetstart[example-2][1][2][29]
\setupcolumnsetstart[example-2][1][3][29]
\startcolumnset [example-1
]
\setupcolumnsetlines[example][2][3][-26]
\starttext
\startcolumnset[example]
\dorecurse{10}{\input knuth}
\stopcolumnset
\stoptext
%/sample%
The only problem is that the height of the columnrule is fixed, which
doesn't look right with balanced columns :-( Would it be possible to
force
[columnrule][\useMPgraphic{columnrule}]
\setupcolumnset[example][1,2][background=columnrule]
\setupcolumnsetlines[example][2][1][-26]
\setupcolumnsetlines[example][2][2][-26]
\setupcolumnsetlines[example][2][3][-26]
\starttext
\startcolumnset[example]
\dorecurse{10}{\input knuth}
\stopcolumnset
;
\stopuseMPgraphic
\defineoverlay[columnrule][\useMPgraphic{columnrule}]
\setupcolumnset[example][1,2][background=columnrule]
\setupcolumnsetlines[example][2][1][-26]
\setupcolumnsetlines[example][2][2][-26]
\setupcolumnsetlines[example][2][3][-26]
\starttext
\startcolumnset[example]
\dorecurse
]
\setupcolumnsetlines[example][1][3][-35]
\starttext
%\input knuth % - uncomment this to see problem
\startcolumnset[example]
\dorecurse{2}{\input knuth}
\stopcolumnset
\stoptext
%/sample%
Thanks again,
Jelle (MkII/XeTeX
{}{\externalfigure[placeholder][width=\One]}
%% \fakewords{100}{200}
%% \placefigure{}{\externalfigure[placeholder][width=\Two]}
%% \fakewords{100}{200}
%% \stopbuffer
%% \startcolumnset[example]
%%\definecolumnsethsize{example}{1}{1}\One
%%\definecolumnsethsize{example}{1}{2}\Two
%%\dorecurse{5
... \column[bigpreference] ... \stopcolumns}
Still no break.
Hans suggested me to use columnsets, but those are spinning as well.
\definecolumnset[two][n=2]
\starttext
\startcolumnset[two]
\input tufte
\column
\placefigure{none}
{\rotate[rotation=15]{\externalfigure[dummy][width=.8\textwidth
{\vfill\penalty-}
\protect
\startcolumns ... \column[bigpreference] ... \stopcolumns}
Still no break.
Hans suggested me to use columnsets, but those are spinning as well.
\definecolumnset[two][n=2]
\starttext
\startcolumnset[two]
\input tufte
\column
\placefigure{none}
{\rotate
this comes?
\setupcolors[state=start]
\definetextbackground[test][
backgroundcolor=yellow,
frame=off,
leftoffset=5mm,
location=paragraph,
color=black]
\definecolumnset[example][n=2,distance=5mm]
\starttext
\startcolumnset[example]
\starttextbackground[test
[doublecolumn][2][distance=5mm]
\setupbodyfont[12pt]
\setupinterlinespace[line=11pt]
\setuplayout[grid=yes]
\showgrid
\starttext
\startcolumnset[doublecolumn]
\ss \subject{Header}
\dorecurse {2} {
\vskip -2pt
This text is vskipped. A \dorecurse{40}{ aa aa}
\vskip 2pt % intro text
]
\setupinterlinespace[line=11pt]
\setuplayout[grid=yes]
\showgrid
\starttext
\startcolumnset[doublecolumn]
\ss \subject{Header}
\dorecurse{2}{\vskip -2pt This text is vskipped. A \dorecurse{40}{ aa
aa} \vskip 2pt % intro text
This text should stay on the grid. B \dorecurse{270}{ bb bb}} % main
=2]
|
| \starttext
| \startcolumnset[example]
| \dorecurse{15}{\fakewords{100}{200}\par}
| \stopcolumnset
| \stoptext
`
but I just get one column in both cases. Can anyone tell me how I would
for example use \definemakeup in order to get exactly what
\startstandardmakeup
with
,
| \startcolumns[n=2]
| my text goes here
| \stopcolumns
`
and
,
| \definecolumnset[example][n=2]
|
| \starttext
| \startcolumnset[example]
| \dorecurse{15}{\fakewords{100}{200}\par}
| \stopcolumnset
| \stoptext
`
but I just get one column in both
On Wed, Apr 16, 2008 at 12:19 PM, luigi scarso [EMAIL PROTECTED] wrote:
I realize that in
\definecolumnsetarea[one][right][x=1,y=25,nx=2,ny=18,page=19,state=start]
page=19 is relative to \startcolumnset[AAA] ...\stopcolumnset
not to \realfolio .
So, what about [right] ?
Is related
I realize that in
\definecolumnsetarea[one][right][x=1,y=25,nx=2,ny=18,page=19,state=start]
page=19 is relative to \startcolumnset[AAA] ...\stopcolumnset
not to \realfolio .
So, what about [right] ?
Is related to \realfolio or to page ?
--
luigi
it's new .
it's powerful .
it's luatex .
http
Hi,
When using columnsets is it possible to have footnotes placed at the
bottom of the page rather than in columns? I searched the
documentation and haven't found a way to do this.
Minimal examples.
Using columnsets:
\definecolumnset[twocolumn][n=2]
\starttext
\startcolumnset
]
\setuphead[chapter][page=no, number=no, align=right]
\usemodule[streams]
% example from the streams module
% only enhanced by columnset
\def\StartCouple{\page\startcolumnset[twocol]\SwitchToNormal}
\def\StopCouple {\SwitchToNormal \SynchronizeLeftAndRight
\FlushLeftAndRight\stopcolumnset}
\def
}]
\setupcolumnset[example][1,2,3][background=columnrule]
\starttext
\startcolumnset[example]
\dorecurse{30}{\fakewords{50}{100}}
\stopcolumnset
\stoptext
Greetings
Wolfgang
___
If your question is of interest to others as well
currentpicture to p ;
\stopuseMPgraphic
\defineoverlay[columnrule][\useMPgraphic{columnrule}]
\setupcolumnset[example][1,2,3][background=columnrule]
\starttext
\startcolumnset[example]
\dorecurse{30}{\fakewords{50}{100}}
\stopcolumnset
\stoptext
Hi,
I have this code:
\definecolumnset[example][n=3]
\starttext
\startcolumnset[example]
\input knuth
\placefigure{}{\externalfigure[placeholder][width=170pt]}
\input knuth
\input knuth
\stopcolumnset
\stoptext
I can't manage to tell context to flow the text around the picture
On Dec 14, 2007, at 4:29 PM, Zeus Gómez Marmolejo wrote:
Hi,
I have this code:
\definecolumnset[example][n=3]
\starttext
\startcolumnset[example]
\input knuth
\placefigure{}{\externalfigure[placeholder][width=170pt]}
\input knuth
\input knuth
\stopcolumnset
\stoptext
I can't
, at 4:29 PM, Zeus Gmez Marmolejo wrote:
Hi,
I have this code:
\definecolumnset[example][n=3]
\starttext
\startcolumnset[example]
\input knuth
\placefigure{}{\externalfigure[placeholder][width=170pt]}
\input knuth
\input knuth
\stopcolumnset
\stoptext
I can't manage to tell context
Hi,
What do I need to get footnotes to work with columnsets. Somehow
footntes have the wrong width.
\definecolumnset [two] [n=2,balancing=yes,distance=0.2in]
\starttext
\startcolumnset[two]
\dorecurse{10}{ \input tufte\footnote{\input zapf \endgraf}
\endgraf}
\stopcolumnset
\stoptext
On Sun, 10 Jun 2007, Aditya Mahajan wrote:
Hi,
What do I need to get footnotes to work with columnsets. Somehow
footntes have the wrong width.
\definecolumnset [two] [n=2,balancing=yes,distance=0.2in]
\starttext
\startcolumnset[two]
\dorecurse{10}{ \input tufte\footnote{\input zapf
Hi Idris,
I played with an example derived from the columns manual:
\definecolumnset[example][n=2]
\definecolumnsetspan[wide][n=2,background=screen]
\setuptolerance[verytolerant,stretch]
\setupcolors[state=start]
\starttext
\startcolumnset[example]
\startcolumnsetspan[wide
On 1/15/07, Zhichu Chen [EMAIL PROTECTED] wrote:
Hi everybody
I used
---
\definecolumnset[example][n=2]
\definecolumnset[innerexample][n=2]
\starttext
\startcolumnset[example]
\dorecurse{15}{\input knuth\par}
\startcolumnset[innerexample
:
Hi everybody
I used
---
\definecolumnset[example][n=2]
\definecolumnset[innerexample][n=2]
\starttext
\startcolumnset[example]
\dorecurse{15}{\input knuth\par}
\startcolumnset[innerexample]
\input knuth\par
\stopcolumnset
will do.
Thanks
On 1/15/07, Zhichu Chen [EMAIL PROTECTED] wrote:
Hi everybody
I used
---
\definecolumnset[example][n=2]
\definecolumnset[innerexample][n=2]
\starttext
\startcolumnset[example]
\dorecurse{15}{\input knuth\par}
\startcolumnset[innerexample
Hi everybody
I used
---
\definecolumnset[example][n=2]
\definecolumnset[innerexample][n=2]
\starttext
\startcolumnset[example]
\dorecurse{15}{\input knuth\par}
\startcolumnset[innerexample]
\input knuth\par
\stopcolumnset
\dorecurse{15}{\input knuth\par
Taco et all,
From what I could deduce, our former macro for placeanswers was a
group.
\def\placeanswers{
\bgroup
\doifmodeelse{short}
{
\keepblocks[shortsubanswer,longsubanswer]
\answers{Answers}\vskip 1em\startcolumnset[answers]
\selectblocks[shortanswer
{%
\bgroup
\doifmodeelse{short}
{
\keepblocks[shortsubanswer,longsubanswer]
\answers{Answers}\vskip 1em\startcolumnset[answers]
\selectblocks[shortanswer][criterium=section]
\stopcolumnset
}
{
\def\headermarkleft{{\sc Chapter \headnumber[chapter
Hello,
I'd like to use \startfiguretext together with \startcolumnset. If I
outcomment \startcolumnset, it works ok, otherwise the figure is no
longer left aligned and there is a big gap between the figure and the text.
Any idea?
Tobias
\setupcolors[state=start]
\setupbackgrounds[page
Hi Tobias,
I did not miss your message but I have no time for anything except
trivial questions at the momen, sorry. Taco
Tobias Burnus wrote:
Hello,
I'd like to use \startfiguretext together with \startcolumnset. If I
outcomment \startcolumnset, it works ok, otherwise the figure
Hello,
I'd like to use \startfiguretext together with \startcolumnset. If I
outcomment \startcolumnset, it works ok, otherwise the figure is no
longer left aligned and there is a big gap between the figure and the text.
Any idea?
Tobias
\setupcolors[state=start]
\setupbackgrounds[page
Hans et al,
I have:
\def\startquestions{\exercises{Exercises}\doifmode{copyright}
{\footnotetext{Copyrighted material. See: http://msenux.redwoods.edu/
IntAlgText/}
}\startcolumnset[exercises]}
\def\stopquestions{\stopcolumnset}
Then in document, I have:
\startquestions
\doifmode[paging
David Arnold wrote:
Hans et al,
I have:
\def\startquestions{\exercises{Exercises}\doifmode{copyright}
{\footnotetext{Copyrighted material. See: http://msenux.redwoods.edu/
IntAlgText/}
}\startcolumnset[exercises]}
\def\stopquestions{\stopcolumnset}
Then in document, I have
{\exercises{Exercises}\startcolumnset[exercises]}
\def\stopquestions{\stopcolumnset}
%\def\placeanswers{%
% \bgroup
% \doifmodeelse{short}
% {
% \keepblocks[shortsubanswer,longsubanswer]
% \answers{Answers}\vskip 1em\startcolumns[n=2]
% \selectblocks[shortanswer][criterium=section
on
% Column 3
\starttext
\startcolumnset[example]
\placefigure[fxtb:3*1]{none}{\framed[frame=off,
height=5cm,
width=\textwidth,
background=color,
backgroundcolor=yellow]{\blue\txx\placecontent}}
\input
,
% remove 50 lines
% I will put the TOC on
% Column 3
\starttext
\startcolumnset[example]
\placefigure[fxtb:3*1]{none}{\framed[frame=off
,distance=15pt,balance=no]
\dorecurse{10}{\tf \input knuth \par \it \input tufte \par}
\stopcolumns
\page
%typesetting ok when using columnset and not \it + \tf
\moveongrid[both]
\startlinecorrection
\chapter{test}
\stoplinecorrection
\startcolumnset[test]
\dorecurse{10}{\tf \input knuth \par \input
]...
\definecolumnsetarea[one][both][x=2,y=1,nx=1,ny=10]
This area pops up in both column sets, and the only way I got it from
not showing up in set2 was doing
\setupcolumnsetarea[one][both][state=start]
\startcolumnset[set1]
{...}
\stopcolumnset
\setupcolumnsetarea[one][both][state=stop
\starttables[|l|l|]
\dorecurse{200}{\NC bla \NC bla \NC\AR}
\stoptables
\stopcolumns
\page
\input tufte
\section{Try with columnset and tables}
\startcolumnset[example]
\starttablehead \HL \NC A \NC B \NC\SR \HL \stoptablehead
\starttabletail \HL \stoptabletail
\starttables[|l|l|]
\dorecurse{200}{\NC
to prevent the table from disapperaring when I
uncomment the \input knuth?
% -*- mode: context; coding: latin-9-unix; -*-
\setuplayout [grid=yes]
\definecolumnset[example]
\setupfloat[table][width=\makeupwidth]
\starttext
\startcolumnset[example]
\input knuth
%\input knuth
\placetable
when I
uncomment the \input knuth?
% -*- mode: context; coding: latin-9-unix; -*-
\setuplayout [grid=yes]
\definecolumnset[example]
\setupfloat[table][width=\makeupwidth]
\starttext
\startcolumnset[example]
\input knuth
%\input knuth
\placetable{Tabelle}
\framed[width=\makeupwidth,height
]
\showgrid
\definecolumnset[A][n=2,balance=yes]
\setupcolumnsetlines[A][1][1][21]
\setupcolumnsetlines[A][1][2][21]
\definecolumnset[B][n=2,balance=yes]
\starttext
\startcolumnset[A]
\section{Knuth}
\dorecurse{2}{\input knuth \endgraf}
\stopcolumnset
\placeongrid{\hairline}
\startcolumnset[B
,balance=yes]
\setupcolumnsetlines[A][1][1][21]
\setupcolumnsetlines[A][1][2][21]
\definecolumnset[B][n=2,balance=yes]
\starttext
\startcolumnset[A]
\section{Knuth}
\dorecurse{2}{\input knuth \endgraf}
\stopcolumnset
\placeongrid{\hairline}
\startcolumnset[B]
\section{Zapf}
\dorecurse{1
\definecolumnset[A][n=2,balance=yes]
\setupcolumnsetlines[A][1][1][21]
\setupcolumnsetlines[A][1][2][21]
\definecolumnset[B][n=2,balance=yes]
\starttext
\startcolumnset[A]
\section{Knuth}
\dorecurse{2}{\input knuth \endgraf}
\stopcolumnset
\placeongrid{\hairline}
\startcolumnset[B
:
-
\setuplayout[grid=yes]
\showgrid
\starttext
\startcolumnset
\dorecurse{4}{#1 --- \input knuth \blank\endgraf}
\placefigure[here]{none}{%
\framed
[width=\makeupwidth,height=\textheight,offset=overlay]
{Page float.}}
\dorecurse{10}{#1 --- \input knuth \blank\endgraf}
\stopcolumnset
\startcolumnset
\dorecurse{4}{#1 --- \input knuth \blank\endgraf}
\placefigure[here]{none}{%
\framed
[width=\makeupwidth,height=\textheight,offset=overlay]
{Page float.}}
\dorecurse{10}{#1 --- \input knuth \blank\endgraf}
\stopcolumnset
\stoptext
]
\showgrid
\starttext
\startcolumnset
\dorecurse{4}{#1 --- \input knuth \blank\endgraf}
\placefigure[here]{none}{%
\framed
[width=\makeupwidth,height=\textheight,offset=overlay]
{Page float.}}
\dorecurse{10}{#1 --- \input knuth \blank\endgraf}
\stopcolumnset
\stoptext
\stoptext
But as I also have to use section titles that span the columns
(without causing pagebreaks)
I need to use columnsets (like they are used in the following example):
\definecolumnset[two][n=2]
\definecolumnsetspan[two][n=2]
\setupfootnotes[n=1,width=\hsize]
\starttext
\startcolumnset
... and here is an example that shows the problem:
\definecolumnset[example][n=2]
\setupfootnotes[n=3]
\starttext
\startcolumnset[example]
\dorecurse{10}{\input tufte\footnote{\input ward \relax}}
\stopcolumnset
\stoptext
Hi,
is there a way to have both:
a main text set in \definecolumnset
into the columns environment (defined at the beginning of the columns
manual).
You can then adjust the headers (2 lines high) vertically by using the
'grid' parameter.
The problem with the graphic placing results from using \startcolumns
instead of \startcolumnset (see example in columns.pdf).
I
,rightmargin=1.5cm,width=middle]
\starttext
\startcolumnset
\dorecurse{2}{\input knuth \endgraf\blank}
\placefloat[page]{none}
{\framed
[width=\dimexpr\makeupwidth+\rightmarginwidth+
\rightmargindistance\relax,
height=\textheight]
{Here I would like
% local !
\fi
\global\advance\savednoffloats \minusone
\ifcase\savednoffloats
\global\somefloatwaitingfalse
\fi
\else
\global\savednoffloats\zerocount
[EMAIL PROTECTED]
\fi}
\protect
\starttext
\startcolumnset
\dorecurse{2}{\input knuth \endgraf\blank
201 - 300 of 330 matches
Mail list logo