[subsection][before=\TestSpace]
\starttext
\startcolumns
\section{Section}
\subsection{Subsection}
\dorecurse{50}{some text, }
\stopcolumns
\stoptext
If one removes the blank line after \section{Section} the output is correct,
otherwise \TestSpace is ignored …
I'm quite sure it worked a couple
On 4-3-2010 23:56, James Fisher wrote:
There was a thread about columns and whitespace ~ 2 weeks ago, but I wasn't
a subscriber then. I've just come across it independently myself. I'm not
sure what conclusion was come to. From a few tests, I'd characterize the
problem code in \startcolumns
There was a thread about columns and whitespace ~ 2 weeks ago, but I wasn't
a subscriber then. I've just come across it independently myself. I'm not
sure what conclusion was come to. From a few tests, I'd characterize the
problem code in \startcolumns as: if whitespace has been set to more
in \startcolumns as: if whitespace
has been set to more than none, set whitespace to 'line'.
ConTeXt does this to keep the lines on the grid.
\setupwhitespace[medium]
\starttext
\startcolumns
\input knuth
\stopcolumns
\startcolumns[blank=medium]
\input knuth
\stopcolumns
\stoptext
Wolfgang
IV:
\mainlanguage[en]
\usetypescript[palatino]
\setupbodyfont[palatino,11pt]
\setuppapersize[A4][A4]
\setuphead[title][header=empty]
\starttext
\title{Personal statement}
\startcolumns[n=2]
This heavily-hyphenated
jauntily-formatted
flush-left
flush-right
justified-text
paragraph set in
a two
it. To reproduce what I mean,
compile this with Mark IV:
\mainlanguage[en]
\usetypescript[palatino]
\setupbodyfont[palatino,11pt]
In this case you don't need \usetypescript.
\setuppapersize[A4][A4]
\setuphead[title][header=empty]
\starttext
\title{Personal statement}
\startcolumns[n=2
it. To reproduce what I mean, compile this with Mark IV:
\mainlanguage[en]
\usetypescript[palatino]
\setupbodyfont[palatino,11pt]
In this case you don't need \usetypescript.
\setuppapersize[A4][A4]
\setuphead[title][header=empty]
\starttext
\title{Personal statement}
\startcolumns[n=2
}
\def\stopC{\egroup}
\setupinteraction[state=start]
\setuppapersize[S6][S6]
\setupwhitespace[big]
\starttext
\startcolumns\placelist[chapter]\stopcolumns
\startC
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
\stopC
\stoptext
the problem, is that the catcodes are changes in the main
Hi,
does someone know what's going wrong here?
\definestartstop[Literature] [before={\startcolumns[n=1]},after={\stopcolumns}]
\define\Colorit%
{\groupedcommand{\color[blue]\em}\/}
\starttext
This works:
test \Colorit{color} text.
This dont't:
\startLiterature
test \Colorit{color} text
On Fri, 19 Feb 2010, Steffen Wolfrum wrote:
Hi,
does someone know what's going wrong here?
\definestartstop[Literature] [before={\startcolumns[n=1]},after={\stopcolumns}]
\define\Colorit%
{\groupedcommand{\color[blue]\em}\/}
\starttext
This works:
test \Colorit{color} text.
This dont't
]
\setuppapersize[S6][S6]
\setupwhitespace[big]
\starttext
\startcolumns\placelist[chapter]\stopcolumns
\startC
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
bla
\stopC
\stoptext
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact
Hallo Wolfgang,
Neither \setupwhitespace[halfline]nor
\setupcolumns[blank=halfline]is
working. Grid is off by default, isn't it?
Set the whitespace after \startcolumns.
This works, but shouldn't be the whitespace a global setting?
I found an other ?solution?
When BOTH
Am 15.02.10 13:56, schrieb Wolfgang Werners-Lucchini:
Neither \setupwhitespace[halfline]nor \setupcolumns[blank=halfline]is
working. Grid is off by default, isn't it?
Set the whitespace after \startcolumns.
Wolfgang
\showmathmodern\or\advance\dimen2 4em\fi
\divide \dimen0 by \dimen2 \advance\dimen0 1sp
\edef\enccols{\number\dimen0}
\startcolumns[\c!n=\enccols,\c!distance=2em]
\def\dodefinemathsymbol[##1][##2][##3][##4][##5][##6]%
{%\localcolortrue
%\color
] % 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
#2{
\startcolumns[n=2]
\placefigure[left]{none}{\externalfigure[chief]}
\column
\switchtobodyfont[26pt] {\ss\bf\sl #1}
\blank[large]\blank[large]
{\ss\bf #2}
\stopcolumns}
\setuphead[chapter]
[command=\ChapterTop, header=high,footer=pagenumber
\ChapterTop#1#2{
\startcolumns[n=2]
\placefigure[left]{none}{\externalfigure[chief]}
\column
\switchtobodyfont[26pt] {\ss\bf\sl #1}
\blank[large]\blank[large]
{\ss\bf #2}
\stopcolumns}
\setuphead[chapter]
[command=\ChapterTop, header=high
treating the chapter number and title as
text with startfiguretext. It works but I can't format the chapter titles to
fit properly. Any suggestions for a ConTeXt beginner?
\def\ChapterTop#1#2{
\startcolumns[n=2]
\placefigure[left]{none}{\externalfigure[chief]}
\column
Hi all,
can anyone confirm a bogus column output with the following test document?
\setupnote[footnote][location=lastcolumn]
\starttext
\startcolumns
\dorecurse{2}{\input knuth}\footnote{\input tufte}
\dorecurse{2}{\input knuth}
\stopcolumns
\stoptext
Greetings
Andreas
]
\startcolumns
\input knuth
\stopcolumns
\stopstreamlayer
\setlayerframed
[columns]
[x=2cm,
y=3cm]
[width=12cm,
height=8cm,
align=normal,
offset=none,
framecolor=gray]
{\placestreamlayer[columns]}
%\setlayer
%[columns]
%[x=1cm,
% y=10cm
\usemodule[streams]
\definestreamlayer[test][method=overlay]
\setupbackgrounds[page][background=test]
\starttext
\startstreamlayer[test]
\startcolumns
\input knuth
\stopcolumns
\stopstreamlayer
\setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]}
\stoptext
Many thanks
Am 26.12.2009 um 12:50 schrieb Oliver Buerschaper:
\usemodule[streams]
\definestreamlayer[test][method=overlay]
\setupbackgrounds[page][background=test]
\starttext
\startstreamlayer[test]
\startcolumns
\input knuth
\stopcolumns
\stopstreamlayer
\setlayer[test][x=5cm,y=10cm
Dear all,
how can I get columns within a layer? I tried
---
\setupbackgrounds
[page]
[background=text]
\definelayer
[text]
[width=\paperwidth,
height=\paperheight]
\startbuffer[test]
\startcolumns[n=2]
\input zapf
\stopcolumns
\stopbuffer
\starttext
Am 25.12.2009 um 20:25 schrieb Oliver Buerschaper:
Dear all,
how can I get columns within a layer? I tried
---
\setupbackgrounds
[page]
[background=text]
\definelayer
[text]
[width=\paperwidth,
height=\paperheight]
\startbuffer[test]
\startcolumns[n=2]
\input
\startcolumns
\section{Section}
\input tufte \par
\subsection{Subsection}
\input tufte \par \column
\section{Section} % \vskip-1.25\lineheight
\subsection{Subsection}
\input tufte \par
\input tufte \par
\stopcolumns
\stoptext
Thanks in advance
Andreas
interesting because it works in MkII when i add \setupinterlinespace[...] to
the preamble
\subject{Space from the \tex{blockquote}-environment} % \vskip-\lineheight
\startblockquote
\input tufte
\stopblockquote
\input tufte
\startblockquote
\input tufte
\stopblockquote
\startcolumns
\startblockquote
\input tufte
\stopblockquote
\startcolumns
\section{Section}
\input tufte \par
\subsection{Subsection}
\input tufte \par \column
\section{Section} % \vskip-1.25\lineheight
\subsection{Subsection}
\input tufte \par
\input tufte \par
\stopcolumns
\stoptext
see http
and cut off by its page margin
or overwritten by the neighbouring column text.
I define column sections by using the \startcolumns...\stopcolumns
directives. Do I have to switch to columnsets?
A sample of the problem I depicted here can be found at:
http://www.lambertini.org/testfloats.zip
two columns. When I use the LuaTeX engine, the table
is placed in the middle of a column and cut off by its page margin or
overwritten by the neighbouring column text.
I define column sections by using the \startcolumns...\stopcolumns
directives. Do I have to switch to columnsets?
Can
[alternative=b]
% Start the text
\starttext
%\startcolumns[n=2]
\startalignment[middle]
{\scb Roques i Minerals}
\stopalignment
\smallskip
\placefigure
[here,none]
[fig:taula-roques-i-minerals]
{CaracterÃstiques de roques i minerals}
{\bTABLE[frame=off,align={middle}]
%\setupTABLE[1,2][1
Hello,
Can I create columns with unequal width with \startcolumns? (Say, first
column is 75% and second is 25%)
Regards,
Vaytcheslav
___
If your question is of interest to others as well, please add an entry
On Sat, 12 Sep 2009, Vyatcheslav Yatskovsky wrote:
Hello,
Can I create columns with unequal width with \startcolumns? (Say, first
column is 75% and second is 25%)
AFAIK, no.
To create columns with different widths, you need to use columsets.
Aditya
Hi,
\setupfootnotes
[location=columns]
\starttext
\startcolumns
\input knuth
\stopcolumns
\stoptext
gives
! Undefined control sequence.
argument \currentbackupnoteins
\doaddtototalnoteheight #1-\ifdim \ht #1
\zeropoint \advance
\totalnoteheig
Aditya Mahajan wrote:
Hi,
\setupfootnotes
[location=columns]
\starttext
\startcolumns
\input knuth
\stopcolumns
\stoptext
gives
! Undefined control sequence.
argument \currentbackupnoteins
you can comment that line (for the moment)
\def\docalculatetotalnoteheight
{\ifcase
On Sat, 22 Aug 2009, Hans Hagen wrote:
Aditya Mahajan wrote:
Hi,
\setupfootnotes
[location=columns]
\starttext
\startcolumns
\input knuth
\stopcolumns
\stoptext
gives
! Undefined control sequence.
argument \currentbackupnoteins
you can comment that line (for the moment)
\def
and the following text
(= after the float) is way too big. I put the floats with force;
with here its even worse: I get an additional empty space *above*
the float.
Concerning the different column methods i noticed the following:
\startcolumns: I can influence the vertical space (in general) with
e.g
am a bit confused* about their coexistence. Is this purposeful or
necessary
(or is it simply historical)? Is \startcolumns simply an unnamed,
default
columnset?
columns and columnset are two different mechanism two produce a document
with text and two or more columns. the columns
. Is this purposeful or
necessary
(or is it simply historical)? Is \startcolumns simply an unnamed,
default
columnset?
columns and columnset are two different mechanism two produce a document
with text and two or more columns. the columns mechanism is the older
one
with limited control about
)? Is \startcolumns simply an unnamed,
default
columnset?
columns and columnset are two different mechanism two produce a document
with text and two or more columns. the columns mechanism is the older
one
with limited control about the placement of figures but allows you to
mix
one column
Alan BRASLAU wrote:
Great! This is somewhat what I suspected (columns mechanism is the older one).
older but also conceptually different
Is there good reason to keep both mechanisms? That is, does the startcolumns
mechanism have advantages? Can't one mix one column and multicolumns text
historical)? Is \startcolumns simply an unnamed, default
columnset?
(*and the wiki page needs to be clarified...)
Second question, maybe a bug?
\startitemize[columns] does not interact well:
I suspect that it could or should use paragraphs internally rather than
columns so as to work within a column
{\flushnextbox\hskip\@@hadistance}%
\getboxheight\scratchdimen\of\box\nextbox
\getnoflines\scratchdimen
\nextboxdp\strutdp
\nextboxht\strutht
\hangindent\nextboxwd
\hangafter-\noflines
\rlap{\flushnextbox}\ignorespaces}
\hbox}
\startcolumns[n=2,balance=yes]
\dorecurse{2
Jelle Huisman wrote:
Hi,
I'm typesetting a dictionary using \startcolumns[n=2,balance=yes] to get
balanced columns. I have 26 balanced columns with simple headers in
between and a lot of situations with two columns on one page. (see
example). As long as the number of lines of the first
in a column that
triggers the OTR, so that I could tweak that? Or is it hard coded and
will it break everything?
where did you put the penalty?
Right before \stopcolumns, as you suggested.
\starttext
\showgrid
\startalignment[center] AA \stopalignment\blank
\startcolumns[n=2,balance=yes]
%\dorecurse
of lines allowed in a column that
triggers the OTR, so that I could tweak that? Or is it hard coded and
will it break everything?
where did you put the penalty?
Right before \stopcolumns, as you suggested.
\starttext
\showgrid
\startalignment[center] AA \stopalignment\blank
\startcolumns[n=2
Hans Hagen wrote:
\starttext
\showgrid
\startalignment[center] AA \stopalignment\blank
\startcolumns[n=2,balance=yes]
%\dorecurse{40}{a a a a a a a a a a a a a a a a a a a a a } % this
works
\dorecurse{42}{a a a a a a a a a a a a a a a a a a a a a } % this
pushes columns (BB) to the next
Hi,
I'm typesetting a dictionary using \startcolumns[n=2,balance=yes] to get
balanced columns. I have 26 balanced columns with simple headers in
between and a lot of situations with two columns on one page. (see
example). As long as the number of lines of the first columns (AA) is
fewer than
]
\setups[IEEE:headerandfooters]
\setups[IEEE:interaction]
\startcolumns
\appendtoks \stopcolumns \to \everystoptext}
\definestartstop[abstract]
[before={\bgroup\blank[small]\setups[IEEE:abstract:setup]
\bold\bgroup{\bolditalic \labeltext{abstract}}---\,},
after={\egroup
environment.
Any suggestions?
\startcolumns
\setupwhitespace[...]
bla bla bla ...
\stopcolumns
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
?
\startcolumns
\setupwhitespace[...]
bla bla bla ...
\stopcolumns
Wolfgang
Thanks Wolfgang, that works a treat!
What else changes when I switch over to columns? Do I need a whole new
environment within columns
of the columns environment.
Any suggestions?
\startcolumns
\setupwhitespace[...]
bla bla bla ...
\stopcolumns
Wolfgang
Thanks Wolfgang, that works a treat!
What else changes when I switch over to columns? Do I need a whole new
environment within columns?
\setupwhitespace should
What else changes when I switch over to columns? Do I need a whole new
environment within columns?
\setupwhitespace should be enough but you could define a new environment
and hide the setup in the environment file.
\definestartstop
[mycolumns]
[before=\startcolumns,
after
{80}{dummy }
\startcolumns
\externalfigure[dummy][width=\textwidth]
\input tufte
\column
\input tufte
\stopcolumns
\input tufte
\stoptext
I'm complaining since about 2002 that \column does nothing (at least
not reliably) within \startcolums ... \stopcolumns.
Finally I resorted to column
Hello,
The \column command does not want to obey me ... The text following
\column simply jumps to the next page.
This time I cannot think of any workaround :(
Well, in the worst case I can still insert a table.
\starttext
\section{first}
\dorecurse{80}{dummy }
\startcolumns
\externalfigure
}
\dorecurse{80}{dummy }
\startcolumns
\externalfigure[dummy][width=\textwidth]
\input tufte
\column
\column[preference] or \testcolumn[0]
\input tufte
\stopcolumns
\input tufte
\stoptext
Wolfgang
___
If your
the bottom of the
page.
Mojca
This time I cannot think of any workaround :(
Well, in the worst case I can still insert a table.
\starttext
\section{first}
\dorecurse{80}{dummy }
\startcolumns
\externalfigure[dummy][width=\textwidth]
\input tufte
\column
\input tufte
\stopcolumns
\input
can still insert a table.
\starttext
\section{first}
\dorecurse{80}{dummy }
\startcolumns
\externalfigure[dummy][width=\textwidth]
\input tufte
\column
\column[preference] or \testcolumn[0]
But I would need \column[verybigpreference] then. It doesn't make a
columnt break at all.
Mojca
think of any workaround :(
Well, in the worst case I can still insert a table.
\starttext
\section{first}
\dorecurse{80}{dummy }
\startcolumns
\externalfigure[dummy][width=\textwidth]
\input tufte
\column
\column[preference] or \testcolumn[0]
But I would need \column[verybigpreference
\column simply jumps to the next page.
This time I cannot think of any workaround :(
Well, in the worst case I can still insert a table.
\starttext
\section{first}
\dorecurse{80}{dummy }
\startcolumns
\externalfigure[dummy][width=\textwidth]
\input tufte
\column
\column[preference
does not want to obey me ... The text
following
\column simply jumps to the next page.
This time I cannot think of any workaround :(
Well, in the worst case I can still insert a table.
\starttext
\section{first}
\dorecurse{80}{dummy }
\startcolumns
\externalfigure[dummy][width=\textwidth
{#1. }
\setupfootnotedefinition[location=normal]
This does not work as expected. I want footnotes in the last column of a two
column format at the *bottom*. Both standard twocolumn (via
\startcolumns[n=2]) format fails and also column sets: if I use column sets
(defined with \definecolumnset[example
. }
\starttext
\startcolumns[n=2,tolerance=verytolerant]
Hasselt is an old Hanseatic City, situated 12~km north of Zwolle at
the river Zwartewater.
The city has a long history since obtaining the city charter around
1252. Part and parcel of this history can be traced back to a large
number of monuments
item!secondary item} %two level item
...
\idx{resorted [EMAIL PROTECTED] item''} %prints index item in quotes
...
\input book.ind %prints index
For that last line I substituted:
--
\title{Index}
\writetolist[chapter]{}{Index}
\tfx
\startcolumns[n=2
]
%
% \definefont[MySerif][SerifPlus at 10pt]
%
% \startcolumns[n=6]
% \MySerif
% \dostepwiserecurse {0} {65000} {1} {
% \iffontchar\font\recurselevel
% {\tttf\uchexnumbers\recurselevel:} \char\recurselevel\par
% \fi
% }
% \stopcolumns
so, you define a fallbackfont
{فهرس آخر} ...
\subsection{ثاني مسألة}
... كلام ...
\section{ثالث باب}
... كلام ...
\chapter{فصل آخر}
... كلام ...
\chapter[lastchapter]{آخر فصل}
... كلام ...
\startcolumns[n=2,tolerance=verytolerant]
طَرَحَتْنِي النَّوَى مَطَارِحَهَا حَتّى إذَا وَطِئْتُ جُرْجَان الأَقْصى. فاسْتَظْهَرْتُ عَلَى
On Mon, May 19, 2008 at 7:37 PM, Hans van der Meer [EMAIL PROTECTED] wrote:
When I enclose columns in a frame then the columns are not formed. See
the minimal example:
\starttext
\startframedtext
\startcolumns[n=2]
COLUMN 1
\column
COLUMN 2
\stopcolumns
\stopframedtext
\stoptext
. For \startcolumns .. \stopcolumns this is not a solution: an
error message about \prevdepth appears.
\starttext
% bare columns
\leftaligned{\em simplecolumns:}\blank
\startsimplecolumns[n=2]
COLUMN 1\crlf
COLUMN 1.1\crlf
\column
COLUMN 2\crlf
\stopsimplecolumns
\blank
% this does not work
. For \startcolumns .. \stopcolumns this is not a solution: an
error message about \prevdepth appears.
Normal columns need the output routine and won't work inside of a box,
streams are a way to invoke the output routine.
Simplecolumns are simpler and don't need the output routine, it's just
a simple
, the last framedtext has two columns
inside. For \startcolumns .. \stopcolumns this is not a solution: an
error message about \prevdepth appears.
Normal columns need the output routine and won't work inside of a box,
streams are a way to invoke the output routine.
Simplecolumns are simpler
When I enclose columns in a frame then the columns are not formed. See
the minimal example:
\starttext
\startframedtext
\startcolumns[n=2]
COLUMN 1
\column
COLUMN 2
\stopcolumns
\stopframedtext
\stoptext
Commenting out the \startframedtext,\stopframedtext typesets two
columns
Hello,
It would be very nice, if one could put splitted TABLEs in columns (or
column-sets) without restrictions:
text before columns
\startcolumns[n=X]
some text spanning 1 or more columns, 1 or more pages
\bTABLE[split=repeat]
\bTABLEhead \bTR \bTH Head \eTH \eTABLEhead
\bTABLEbody
Peter Münster wrote:
Hello,
It would be very nice, if one could put splitted TABLEs in columns (or
column-sets) without restrictions:
text before columns
\startcolumns[n=X]
some text spanning 1 or more columns, 1 or more pages
\bTABLE[split=repeat]
\bTABLEhead \bTR \bTH Head
of what I'm trying to
achieve:
\midaligned{Section1}
\startcolumns[n=2]
Subsection1
\stopcolumns
\midaligned{Section2}
\startcolumns[n=2]
Subsection1
\stopcolumns
Does anyone know how to automate this for a table of contents?
% \setuplist
% [chapter]
% [after
}
\startcolumns[n=2]
Subsection1
\stopcolumns
\midaligned{Section2}
\startcolumns[n=2]
Subsection1
\stopcolumns
Does anyone know how to automate this for a table of contents?
% \setuplist
% [chapter]
% [after={\startcolumns\placelist[section]\stopcolumns
.
The followings works for me, give us a example.
\setuplist
[chapter]
[after={\startcolumns\placelist[section]\stopcolumns}]
\starttext
\placelist[chapter]
\dorecurse{3}
{\chapter{Chapter}
\dorecurse{4}{\section{Section}}}
\stoptext
Wolfgang
][chapter]
\setuplist[chapter][after={\startcolumns\placelist[section]\stopcolumns}]
\placecontent
\starttext
\dorecurse{3}
{\chapter{Chapter}
\dorecurse{4}{\section{Section}}}
\stoptext
Hi Paul,
I could reproduce the problem also with a recent ConTeXt, replace
\placecontent
:
The same example produces the problem for me. Maybe I have an older
version? I got MacTex pretty recently (two weeks ago), but the version is:
2007.01.12 15:56. Here's the exact source:
\definecombinedlist[content][chapter]
\setuplist[chapter][after={\startcolumns\placelist[section
The same example produces the problem for me. Maybe I have an older
version? I got MacTex pretty recently (two weeks ago), but the version
is: 2007.01.12 15:56. Here's the exact source:
\definecombinedlist[content][chapter]
\setuplist[chapter][after={\startcolumns\placelist[section
On Sat, May 3, 2008 at 9:04 PM, Peter Münster [EMAIL PROTECTED] wrote:
Hello,
In the following example, the bottom of the table is outside the page. How
could this be solved?
\starttext
\input tufte
\startcolumns[2]
^^^
n=2
\bTABLE[split=yes]
\dorecurse{50
Hello,
In the following example, the bottom of the table is outside the page. How
could this be solved?
\starttext
\input tufte
\startcolumns[2]
\bTABLE[split=yes]
\dorecurse{50}{\bTR\bTD bla\eTD\eTR}
\eTABLE
\stopcolumns
\stoptext
TIA for any help!
Cheers, Peter
--
http://pmrb.free.fr
is
the wrong way to go here altogether (/me is still a novice to ConTeXt).
Not within \definelayout but see below.
Same as for the fontsize -- can I demand two columns from within the
\definelayout block instead of always putting \startcolumns[n=2]
respectively \stopcolumns in the actual source
|
| % ---
|
| \startstandardmakeup[doublesided=no, page=left]
| \stopstandardmakeup
|
|
| \stopcomponent
`
Now I want the text to be in columns -- two that is ... However, I tried
with
,
| \startcolumns[n=2]
| my text goes here
| \stopcolumns
`
and
,
| \definecolumnset[example][n
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
\startcolumns[n=2]
respectively \stopcolumns in the actual source?
___
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
[twocolumn]
\dorecurse{4}{\input knuth \footnote[footnote]{footnote}\par}
\stopcolumnset
\stoptext
It produces footnotes in columns which isn't what I want. The
behaviour I want is the that produced by this example using
\startcolumns:
\starttext
\startcolumns
][
before={\starttextbackground[highlight]},
after=\stoptextbackground]
\starttext
\subject{Problem 1}
\startcolumns
It was a·
\starthighlight dark·
and stormy night; the rain fell in torrents --- except at
occasional intervals, when it was checked by a·
violent\stoptextbackground~
gust of wind
}
{\chardef\collapseregisterpages\zerocount}%
% TH: disable next line
% \raggedright
% /TH
\startcolumns
[\c!n=\registerparameter\c!n,
\c!balance=\registerparameter\c!balance,
\c!align=\registerparameter\c!align,
tolerance=stretch]%
\dontcomplain
[\currentregister][#2]%
\doifelse{\registerparameter\c!compress}\v!yes % new
{\chardef\collapseregisterpages\plusone}
{\chardef\collapseregisterpages\zerocount}%
\raggedright
\startcolumns
[\c!n=\registerparameter\c!n,
\c!balance=\registerparameter
with renewed
attention!
The answer is: use \startcolumns \stopcolumns.
And I say to myself: RTFM, RTFM,...
sorry for the noise :-(
--
Yvon Henel
signature.asc
Description: This is a digitally signed message part
\startbuffer[name] \stopbuffer
\startcolor[name] \stopcolor
\startcolumns[settings] \stopcolumns
\startcombination[matrix] \stopcombination
\startcomment[name][settings] \stopcomment
\startcomponent file \stopcomponent
\startdescription{text} \stopdescription
\startdocument[name] \stopdocument
the \column help with the first formula?
Because itemize use for the columns key the multicolumns envrionment
where you can force a new column with the \column command.
The internal work for this case is something like in the following example:
\starttext
\startcolumns
$a_n=\frac{(-1)^n}{\sqrt{n
Height of formula 2: \the\ht\scratchbox
Ahhh! The HEIGHT (not the width) ist the problem!?
So:
\startcolumns
\dontleavehmode
\vphantom{$a_n=\frac{(-1)^n}{\sqrt{n}}-3$}$a_n=2+\frac{1}{n+1}$%
$a_n=\frac{(-1)^n}{\sqrt{n}}-3$
\stopcolumns
works too.
Is there something like an \mathstrut macro
\startcolumns
\setupwhitespace[...] % local value
text in columns
\stopcolumns
more text
\stoptext
You can not only use dimension for \setuwhitespace, you can also use
skip values like \setupwhitespace[3pt plus 2pt minus 1pt].
Wolfgang
\startcolumns
\setupwhitespace[...] % local value
text in columns
\stopcolumns
more text
\stoptext
You can not only use dimension for \setuwhitespace, you can also use
skip values like \setupwhitespace[3pt plus 2pt minus 1pt].
Wolfgang
, the text doesn't float around the picture when using two or
more columns, so when I do
--
\starttext
\startcolumns[n=2]
\placefigure[left,hang]{none}{\externalfigure[somepic][width=1.6cm]}
sometext
\stopcolumns
\stoptext
--
sometext appears in the second column, instead of next
could
use TeX's halign primitive because this did still work.
It is also easy to write a simple wrapper around this this emulate
ConTeXt's table syntax.
\starttext
\startcolumns[rule=on]
\halign{\strut#\quad\hfil#\cr
one: text \cr
two: text \cr
three: text \cr
four: text \cr
five: text \cr
\startcolumns[rule=on]
\starttabulate[|l|r|]
\NC one: \NC text \NC\NR
\NC two: \NC text \NC\NR
\NC three: \NC text \NC\NR
\NC four: \NC text \NC\NR
\NC five: \NC text \NC\NR
\NC six: \NC text \NC\NR
\NC seven: \NC text \NC\NR
\NC eight: \NC text \NC\NR
\stoptabulate
\stopcolumns
\stoptext
Thanks, Jörg
this for a scientific
poster which is due rather soon ... Please share your valuable advice
with me :-)
Oliver
Consider this:
---
\setupcolors
[state=start]
\setupcolumns
[background=color,
backgroundcolor=red]
\starttext
\startcolumns[n=2
=start]
\setupcolumns
[background=color,
backgroundcolor=red]
\starttext
\startcolumns[n=2]
\dorecurse{4}{\input tufte}
\stopcolumns
\framed[background=color,backgroundcolor=red]{Test}
\stoptext
---
Shouldn't the background of my columns be painted red? According
401 - 500 of 655 matches
Mail list logo