flow text
across several pages without manually breaking it, and in columns, I haven't
found a way to implement asymmetric columns.
How can I achieve this layout in ConTeXt? this is a MWE but it does not work
properly:
\definecolumnset[mymixedcolumn][n=2]
\setupcolumnset[mymixedcolumn:1]
Hello,
I managed to resolve the issue - which turns out bcos I had 2 back2back
columnset definitions. So instead, I combined them into 1 and the result
was ok.
*Before (leads to blank page or page with symmetrical columns):*
\definecolumnset[2col][n=2, distance=3.5mm, page=no]
\setupcolumnset
of \section or \subject in this matter (seems to be
somehow interfering with asymmetrical columnset).
\usemodule[newcolumnsets]
...
% \subject{} \definecolumnset[soi1][n=3, distance=3mm, page=yes]
% \definecolumnset[currency][n=3, page=yes]
\setupcolumnset[soi1:1][width=.25\makeupwidth
etuplayout [grid=yes]
\definecolumnset [numbered] [n=2]
\setupcolumnset [numbered] [distance=0.5cm,frame=on]
\setupcolumnset [numbered:1] [width=4cm]
\setupcolumnset [numbered:2] [width=10cm]
\starttext
\startcolumnset [numbered]
\startlinenumbering[step=1,location=left]
Poetry
One
Word
Per
ance=.25in]
Add "page=yes" to start each new columnset environment with a page break.
\definecolumnset [BookColumns] [n=4,distance=.25in,page=yes]
\setupcolumnset[BookColumns:1][width=11.75in]
\setupcolumnset[BookColumns:2][width=3.46in]
\setupcolumnset[BookColumns:3][width=3.4
ize][width=24in, height=12in,]
\setuppapersize[BookPaperSize]
\definelayout[BookTextLayout][
topspace=.5in,
backspace=.5in,
header=\zeropoint,
footer=\zeropoint,
grid=yes,
]
\setuplayout[BookTextLayout]
\definecolumnset[BookColumns][n=4,distance=.25in]
\setupcolumnset[BookColumns:1][wid
omitted (i.e. location=none in \setupcaption).
My example:
\definepapersize[square21][width=21cm,height=21cm]
\setuppapersize[square21][square21]
\definecolumnset[Two][n=2]
\setupcolumnset[Two]
\setupcaption[intermezzo][location=none,spaceafter=1cm]
% no value for
spaceafter seems to work
chrieb Wolfgang Schuster:
>> Hi Peter,
>>
>> the new columnset mechanism accepts only two arguments for the
>> \setupcolumnset command but you can load the old code with
>> \usemodule[old-columnsets].
>>
>> How you can apply backgrounds per column with t
Hi Wolfgang,
thanks for the info. I will download the new manual right now.
Best wishes, Peter
Am 2018-11-10 um 12:03 schrieb Wolfgang Schuster:
> Hi Peter,
>
> the new columnset mechanism accepts only two arguments for the
> \setupcolumnset command but you can load the o
Hi Peter,
the new columnset mechanism accepts only two arguments for the
\setupcolumnset command but you can load the old code with
\usemodule[old-columnsets].
How you can apply backgrounds per column with the new code is shown in a
example in the manual.
Wolfgang
Peter Rolf schrieb am
][\uniqueMPgraphic{column:bg}]
\definecolumnset[TOC][n=4]
%\setupcolumnset[TOC][background=columnbg]% works ok
\setupcolumnset[TOC][1][background=columnbg]% any indexed setup fails
% in my real world example the complete third argument is printed instead
\starttext
\startcolumnset[TOC]
\input tufte.tex
sets. However, when I use floats weird shit is happening.
> > Is this intended or am I doing something seriously wrong? MWE
> > below, output of latest beta attached.
> >
> > Cheers, Henri
> >
> > ---
> >
> > \setuppapersize[A0]
> > \set
0]
> \setupbodyfont[sans,25pt]
>
> \usemodule[newcolumnsets]
>
> \definecolumnset
> [threecolumn]
> [n=3]
>
> \setupcolumnset
> [threecolumn]
> [distance=3cm]
>
> \starttext
>
> \startcolumnset[threecolumn]
>
> \input lorem
>
>
]
\setupbodyfont[sans,25pt]
\usemodule[newcolumnsets]
\definecolumnset
[threecolumn]
[n=3]
\setupcolumnset
[threecolumn]
[distance=3cm]
\starttext
\startcolumnset[threecolumn]
\input lorem
\column
\input zapf\par
\startplacefigure[title={\input zapf\par}]
\externalfigure[dummy][width
Cheers, Henri
---
\definecolumnset[threecolumn][n=3]
\startmode[bug]
\setupcolumnset[threecolumn][each][distance=3cm,frame=on]
\stopmode
\startnotmode[bug]
\setupcolumnset[threecolumn][each][distance=2.999cm,frame=on]
\stopnotmode
\setupcolumnset[threecolumn][1][distance=0pt]
\starttext
\startcolumn
version
> 2016.05.17 19:20 from TL2016).
>
> Cheers, Henri
>
> ---
>
> \definecolumnset[threecolumn][n=3]
> \startmode[bug]
> \setupcolumnset[threecolumn][each][distance=3cm,frame=on]
> \stopmode
> \startnotmode[bug]
> \setupcolumnset[threecolumn][each][distance=2.999cm,frame=on]
>
al document, it is for
sure for a poster (I have not seen any multi-page posters yet).
Please find below an example to illustrate my problem (with version
2016.05.17 19:20 from TL2016).
Cheers, Henri
---
\definecolumnset[threecolumn][n=3]
\startmode[bug]
\setupcolumnset[threecolumn][each][dis
following code ?
JP
\usemodule[newcolumnsets]
\definecolumnset[example][n=2,page=middle,distance=1cm]
\setupcolumnset
[example]
[background=contrast]
% \definecolor[fakerulecolor][white] \faketriggertrue
\setuphead
[section]
[style=\bfd]
\setuplinenumbering
[style=regular,
distance=0pt,
ali
It seems a few examples from the columns manual --
http://www.pragma-ade.com/general/manuals/columns.pdf -- are broken.
Here is another (from page 34):
\definecolumnset[example][n=3]
\definecolumnset[therest][n=4]
\setupcolumnset[example]
\setupcolumnset[therest] [distance=.5cm] [distance=.5cm
Hi,
According to the columns manual, the following should produce a
two-column layout with the first column being 1/3 and the second
column being 2/3 the makeupwidth:
\definecolumnset[example][n=2]
\setupcolumnset[example][1][width=.33\makeupwidth]
\starttext
\startcolumnset[example
12pt and
baselineskip is also 12pt!), while the gap shows up in the *second*
section, whose interlinespace is 2.8ex:
\def\printHtdp{\setbox0\hbox{()} \the\htdp0,\the\baselineskip}
\definecolumnset[columnset1][n=2]
\setupcolumnset[columnset1][distance=5mm,balance=yes]
\starttext
]
\setupcolumnset[columnset1][distance=5mm,balance=yes]
\starttext
\section{Introduction}
\startcolumnset[columnset1]
\dorecurse {7} { \input knuth }
\stopcolumnset
\section{Bibliography}
\setupinterlinespace[line=9.3pt]
\startcolumnset[columnset1]
\dorecurse {10} { \input knuth
]
\setupcolumnset[columnset1][distance=5mm,balance=yes]
\starttext
\section{Introduction}
\startcolumnset[columnset1]
\dorecurse {7} { \input knuth }
\stopcolumnset
\section{Bibliography}
\setupinterlinespace[line=9.3pt]
\startcolumnset[columnset1]
\dorecurse {10} { \input knuth
I was advised to report the bug back to this list, with an even more
minimized example.
Here it is below.
This bug occurs in both mkiv and mkii, in the latest versions (current
beta).
|\setupinterlinespace[line=12pt]
\definecolumnset[columnset1][n=2]
\setupcolumnset[columnset1][distance=5mm
X Live 2012)
> (format=cont-en 2012.11.14) 13 SEP 2013 11:38
> ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.11.14 int: english/english
>
>
> \showgrid
> \setupinterlinespace[line=12pt]
> \setuplayout[grid=yes]
>
> \definecolumnset[columnsetIntroduction0][n=2]
>
ation:
This is XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012)
(format=cont-en 2012.11.14) 13 SEP 2013 11:38
ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.11.14 int: english/english
\showgrid
\setupinterlinespace[line=12pt]
\setuplayout[grid=yes]
\definecolumnset[columnsetIntroduction0][
with
different columns is not implemented in mkiv, AFAICS. Examples:
No line numbers:
\setuppapersize[A4,landscape][A4,landscape]
\setuplayout[grid=yes]
\definecolumnset [numbered] [n=2]
\setupcolumnset [numbered] [distance=0.5cm,frame=on]
\starttext
\startcolumnset [numbered]
\startlinenumb
I have two columns on one page of my document. The text background from the
first column is being continued into the second column even though I'm using
\stoptextbackground before switching to the second column:
\definecolumnset[first][n=2]
\setupcolumnset[first][1][width=.65\makeup
ely? Here's an example of how I
would normally use footnotes, but the footnote is obscured by the text.
--8<---cut here---start->8---
\definecolumnset[Doublecoltext][n=2,balance=no]
\setupcolumnset[Doublecoltext][2][distance=5mm]
\starttext
\chapte
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
I'm using columnsets for a paper with 2 columns and copied an examples from
the wiki and the columnsets documentation to give the following commands:
\definecolumnset[colset][n=2]
\setupcolumnset[colset][2][distance=5mm]
\definecolumnsethsize{colset}{1}{1}\One
\definecolumnsethsize{colset}
][n=3]
\setupcolumnset[threecolumns][1,2][balance=yes]
\definecolumnsetspan[spantwo][n=2]
\definecolumnsetspan[spanthree][n=3]
\definecolumnsethsize{threecolumns}{1}{1}\One
\definecolumnsethsize{threecolumns}{1}{2}\Two
\definecolumnsethsize{threecolumns}{1}{3}\Three
\starttext
\showframe
kiv i merged page-new.tex into
page-set without noticing that the balancing code was just experimental
and not even working currently
- so, the balancing code in page-set is just a hook
- in mkiv i had actually nilled the code so no error there
we can do some manual balancing, like:
\setupc
balance=no,
tolerance=verytolerant]
\definecolumnset [NormalThree] [n=3]
\setupcolumnset [NormalThree]
[balance=no,
%blank=4pt, <-- no effect
tolerance=verytolerant]
% \showboxes
\starttext
\startcolumnset
manual column balancing using \definecolumnset,
\setupcolumnset, and \setupcolumnsetlines. My concern is, does this
apply after other layout is performed, so that any test performed above
(*) regarding position within the column would fail to reflect these
column balancing adjustments and therefore
ght. What are the units of the argument to \testcolumn?
We also do manual column balancing using \definecolumnset,
\setupcolumnset, and \setupcolumnsetlines. My concern is, does this
apply after other layout is performed, so that any test performed above
(*) regarding position within the column woul
imexpr\noflines\lineheight\relax) -- urcorner p ;
setbounds currentpicture to p ;
\stopuseMPgraphic
\defineoverlay[columnrule][\useMPgraphic{columnrule}]
\setupcolumnset[example][1,2][balance=yes,background=columnrule]
\setupcolumnsetlines[example][1][1][-35]
\setupcolumnsetlines[exa
he\dimexpr\noflines\lineheight\relax) -- urcorner p ;
setbounds currentpicture to p ;
\stopuseMPgraphic
> \defineoverlay[columnrule][\useMPgraphic{columnrule}]
>
> \setupcolumnset[example][1,2][background=columnrule]
>
> \setupcolumnsetlines[example][2][1][-26]
> \setupcolumnsetli
raphic{columnrule}
> path p ; p := unitsquare xyscaled (OverlayWidth+5mm,OverlayHeight) ;
> draw lrcorner p -- urcorner p ;
> setbounds currentpicture to p ;
> \stopuseMPgraphic
>
> \defineoverlay[columnrule][\useMPgraphic{columnrule}]
>
> \setupcolumnset[example][1,2][background=c
MPgraphic
\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{10}{\input knuth}
\stop
as never tested being that which is why it's still on cont-new)
\definecolumnset[doublecolumn][n=2]
\setupcolumnset[doublecolumn][2][distance=5mm]
\setupbodyfont[12pt]
\setupinterlinespace[line=11pt]
\setuplayout[grid=yes]
\showgrid
\starttext
\startcolumnset[doublecolumn]
\ss \subject{Head
setting some text \vskip-ped, while it is breaking
the current paragraph over columns? (Basically I want to keep all the
B's on the grid and all the A's \vskipped.)
Thanks, Jelle
% sample code
\definecolumnset[doublecolumn][n=2]
\setupcolumnset[doublecolumn][2][distance=5mm]
\setupbod
orner p -- urcorner p ;
> setbounds currentpicture to p ;
> \stopuseMPgraphic
>
> \defineoverlay[columnrule][\useMPgraphic{columnrule}]
>
> \setupcolumnset[example][1,2,3][background=columnrule]
>
> \starttext
>
> \startcolumnset[example]
> \dorecurse{3
olumnrule}]
\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 other
[page][background=color,backgroundcolor=gray]
\definecolumnset[poster][n=2]
\setupcolumnset[poster][each][background=color,backgroundcolor=white]
\showframe
\starttext
\startcolumnset[poster]
\startfiguretext[left][]{none}
{\externalfigure[foo][width=2.5cm]}{str}
\stopfiguretext
\stopcolumnset
\sto
[page][background=color,backgroundcolor=gray]
\definecolumnset[poster][n=2]
\setupcolumnset[poster][each][background=color,backgroundcolor=white]
\showframe
\starttext
\startcolumnset[poster]
\startfiguretext[left][]{none}
{\externalfigure[foo][width=2.5cm]}{str}
\stopfiguretext
\stopcolumnset
\sto
2.5em]
\definecolumnset[exercises][n=2]
\setupcolumnset
[exercises]
[distance=2.5em,
balance=yes]
\definecolumnset[answers][n=2]
\setupcolumnset
[answers]
[distance=2.5em,
balance=yes]
%\def\startquestions{\exercises{Exercises}\startcolumns[n=2]}
%\def\stopquestions{\stopcolumns}
\def\startques
2,distance=15pt,rule=on] does this, but I need
certain columnset features). The only thing I came up with so far is
\definecolumnset[example][n=3,distance=0pt] %n=3 instead n=2
\setupcolumnset[example][2][width=15pt]
and then put the rule in an area defined for column 2.
2) Is there a way
ine balance requirements
- setup balancing
- retypeset article
- continue on same page
That is the point. How?
>
\setupcolumnset [test-1] [balance=yes]
\setupcolumnset [test-2] [balance=top]
Excelent! Thank you very much Hans. Now I understand the balance argument.
Vit
P.S. On the last page (7
\startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset
\startcolumnset [test-2] \dorecurse {2}{\input ward \par} \stopcolumnset
\page
\setupcolumnset [test-1] [balance=yes]
\setupcolumnset [test-2] [balance=top]
\setupcolumnsetlines[test-1][1][1] [8]
\setupcolumnsetlines[tes
rid=yes,header=12bp,
headerdistance=18bp,footer=12bp,footerdistance=11mm]
o How can I tell ConTeXt to balance the last page? I've tried something
like
\definecolumnset[two][n=2,tolerance=tolerant,distance=12bp]
\setupcolumnset [two][balance=yes]
but this doesn't work.
;ve tried something
like
\definecolumnset[two][n=2,tolerance=tolerant,distance=12bp]
\setupcolumnset [two][balance=yes]
but this doesn't work.
o Is it possible to setup a project using only didot (or bp) point
measurements? How?
Especially I want a interline space in dd
fout zonder grid
\setuptolerance[verytolerant]
\definecolumnset [test-1] [n=2]
\definecolumnset [test-2] [n=3]
\starttext
\startcolumnset [test-1] \dorecurse {1}{\input tufte \par} \stopcolumnset
\startcolumnset [test-2] \dorecurse {2}{\input ward \par} \stopcolumnset
\page
\setupcolumnset [test-1] [b
53 matches
Mail list logo