Hello,
I am trying to avoid widow and orphans in multicolumn document. My settings:
\clubpenalty=1
\widowpenalty=1
does not any effect, and last row of the paragraph is on the only row
of the second column. Column is is started by this command:
\startcolumns[n=2,distance=1cm,balance
is is started by this command:
\startcolumns[n=2,distance=1cm,balance=no,tolerance=stretch,ntop=2]
Can you help me with this problem?
1. You could help too by supplying a MWE.
2. Did you try setting the penalties inside the columns
environment? (They are zeroed with \startcolumns
does not any effect, and last row of the paragraph is on the only row
of the second column. Column is is started by this command:
\startcolumns[n=2,distance=1cm,balance=no,tolerance=stretch,ntop=2]
Can you help me with this problem?
1. You could help too by supplying a MWE.
2. Did you try
\egroup
\blank[30pt]
\fi
\egroup
\setupalign[width]
\switchtobodyfont[rm,10pt]
\stopbaselinecorrection
\ifMapsInColumns
\startcolumns\hyphenpenalty1000
\else
\clubpenalty1
\widowpenalty1
\fi
}
\def\startArticle{\dosingleempty\dostartArticle}
\def
... Thanks both for your answers.
My code so far is:
\usesymbols[mvs]
\starttext
\startcolumns[n=2,rule=on]
\showsymbolset[martinvogel 2]
\stopcolumns
\page
\startcolumns[n=4,rule=on]
\dorecurse{1024}{\recurselevel
--\getglyph{marvosym}{\char\recurselevel\par
Am 05.06.2012 um 16:57 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:
... Thanks both for your answers.
My code so far is:
\usesymbols[mvs]
\starttext
\startcolumns[n=2,rule=on]
\showsymbolset[martinvogel 2]
\stopcolumns
\page
\startcolumns[n=4,rule
On 7-4-2012 21:14, Pablo Rodríguez wrote:
On 07/04/12 16:56, Hans Hagen wrote:
On 6-4-2012 18:08, Pablo Rodríguez wrote:
\starttext
The first line not using columns.
\startcolumns[n=2]
\input knuth
\column
\input tufte
\stopcolumns
The second line not using columns.
\startcolumns
\input linden
On 6-4-2012 18:08, Pablo Rodríguez wrote:
\starttext
The first line not using columns.
\startcolumns[n=2]
\input knuth
\column
\input tufte
\stopcolumns
The second line not using columns.
\startcolumns
\input linden
\column
\input ward
\stopcolumns
\stoptext
the ward text in on the next page
On 07/04/12 16:56, Hans Hagen wrote:
On 6-4-2012 18:08, Pablo Rodríguez wrote:
\starttext
The first line not using columns.
\startcolumns[n=2]
\input knuth
\column
\input tufte
\stopcolumns
The second line not using columns.
\startcolumns
\input linden
\column
\input ward
hi, i was trying to get line numbers in two columns in mkiv to appear
on the left side for both columns when i noticed this bug.
\setuplinenumbering[location=text]
\starttext
\startcolumns
\startlinenumbering
\input knuth
\stoplinenumbering
\stopcolumns
\stoptext
- jeremy
Hi there,
I'm experiencing a weird result when typesetting columns:
\starttext
The first line not using columns.
\startcolumns[n=2]
\input knuth
\column
\input tufte
\stopcolumns
The second line not using columns.
\startcolumns
\input linden
\column
\input ward
\stopcolumns
\stoptext
I don't
][before=\stopcolumns, after=\startcolumns]
\setupnote[dict][n=2]
The columns environment can only be used in the normal text.
Wolfgang
___
If your question is of interest to others as well, please add an entry
On 01/04/12 09:31, Wolfgang Schuster wrote:
Am 31.03.2012 um 23:25 schrieb Pablo Rodríguez:
[...]
\setupcolumns[n=2]
\definenote[dict]
\setupnote[dict][before=\stopcolumns, after=\startcolumns]
\setupnote[dict][n=2]
The columns environment can only be used in the normal text.
Many
I'm trying to get a particular footnote series in columns. The body and
other footnotes and line notes have no columns.
Consulting the wiki, I thought this is the right code for it:
\setupcolumns[n=2]
\definenote[dict]
\setupnote[dict][before=\stopcolumns, after=\startcolumns]
\starttext
]\ss},
before={\blank[0.5cm]},
after={\blank[0.5cm]},
page=no,
]
\def\uv#1{\quotation{#1}}
\setupcaption[location=none]
%\definecolumnset[two][n=2]
\def\bdvoj{
\startcolumns[n=2]
%\startcolumnset[two]
}
\def\edvoj{
\stopcolumns
%\stopcolumnset
Verhaag]
\starttext
\chapter[test]{Test}
\startcolumns[n=2]
\placelist[section][pagenumber=no,interaction=all]
%\placecontent[section][pagenumber=no,interaction=text]
\stopcolumns
\section[abc]{Abc}
\dorecurse{70}
{A test of placelist-command and interaction! }
\section[def]{Def}
Another
: english/english.
Thanks for paying attention to this problem!
Regards,
Gerard Verhaag
% Test file
\setupinteraction
[state=start,
style=,
color=blue,
contrastcolor=,
menu=on,
title=Test File,
author=Gerard Verhaag]
\starttext
\chapter[test]{Test}
\startcolumns[n=2
:
\startcolumns[n=2] produces roughly the same result as no columns, the
text stops short of the bottom of the page. However, the
\definelayout[current] workaround I mentioned does not solve the
problem in this case.
I'm quite willing to abandon the columnset mechanism if I can get a
working solution
as framed or background environments. Is this a
definite barrier?
It’s not a limitation of the mechanism \startcolumns uses to make multiple
columns because the same mechanism is also used by \startsimplecolumns but of
the implementation of the command. When you search the list archive you can
On 23 janv. 2012, at 11:29, Wolfgang Schuster wrote:
It’s not a limitation of the mechanism \startcolumns uses to make multiple
columns because the same mechanism is also used by \startsimplecolumns but of
the implementation of the command. When you search the list archive you can
find
=yes,align={normal,hyphenated}]
\setupinteraction[style=]
\define[2]\QuotationCommand
{
\setupindenting[no]
\switchtobodyfont[arial,10pt]
\textrule{#1}\blank \vfil\nobreak\penalty1\endgraf
\startcolumns#2\stopcolumns
\hspace \nobreak\penalty1000
\textrule
}
\definetypeface[braqqadocio][ss
Am 27.08.2011 um 20:25 schrieb Jano Kula:
Hi Wolfgang,
the example was too minimal :)
This is what I want to achieve:
\starttext
\rotate[rotation=90]{
\startframedtext
\startcolumns[n=2,balance=yes]
\input tufte
\stopcolumns
\stopframedtext
}
\stoptext
Rotation is done
Hello to everybody,
how to rotate balanced columns to avoid the prevdepth conflict? I've
tried \rotate, \framed (to box the content), \vbox, \hbox, etc. with no
luck.
\starttext
\startcolumns[n=2,balance=yes]
\input tufte
\stopcolumns
\stoptex
Thanks for the hints,
Jano
Hi Wolfgang,
the example was too minimal :)
This is what I want to achieve:
\starttext
\rotate[rotation=90]{
\startframedtext
\startcolumns[n=2,balance=yes]
\input tufte
\stopcolumns
\stopframedtext
}
\stoptext
Rotation is done in \hbox. To get kind of minipage I frame it first,
as you
\setupcolumns[rule=on,balance=no]
\starttext
\startcolumns
Short leftcolumn.
\column
Long rightcolumn.
Long rightcolumn.
Long rightcolumn.
Long rightcolumn.
Long rightcolumn.
Long rightcolumn.
Long rightcolumn.
Long rightcolumn
I find the following strange in columns. In the second
\startcolumns\stopcolumns one would expect that the short text fragment in the
column to the right, is placed in the wide open space on the first page. But in
contrast, it is set to the left on a next page. Quite unnecessary, because
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
for this Problem,
rather I wish to know: is it possible to use different numbers of
columns on the same page if I use columnset!
It?s either \startcolumns[n=2] or \startcolumnset[your_name_of_setup]
bla bla bla
\column
\column works only within columnsets
bla bla bla
\stopcolumn
\placefigure
[btlr][fig:foo]
{none}
{\externalfigure[mill][width=1.5\textwidth,height=5cm]}
%\stoppostponing
\input tufte
\input knuth
\input tufte
\input knuth
\input tufte
\stopcolumnset
\stoptext
On 30 Jun 2011, at 01:24, Jason Earl wrote:
\starttext
\startcolumns
\chapter[chap:testing
I am trying to upgrade an existing document from using texexec and
pdftex to context and luatex. Unfortunately, the document relies pretty
heavily on columns (using \startcolumns[n=2,tolerant=verytolerant]) and
the idea that figures that are too wide to place in a column float to
the top
)?
The following example:
% This a very long line which should be typeset to one line even if there'll be
overfull hbox
\definetyping[Std][bodyfont=10pt,style=\tt\setupinterlinespace]
\starttext
\typefile[Std]{TypeFi.mkiv}
\startcolumns[n=2,rule=on]
\typefile[Std]{TypeFi.mkiv
hbox
\definetyping[Std][bodyfont=10pt,style=\tt\setupinterlinespace]
\starttext
\typefile[Std]{TypeFi.mkiv}
\startcolumns[n=2,rule=on]
\typefile[Std]{TypeFi.mkiv}
\stopcolumns
\stoptext
gives a result where there is new line between overfull and hbox in normal mode and between
:
% This a very long line which should be typeset to one line even if there'll
be overfull hbox
\definetyping[Std][bodyfont=10pt,style=\tt\setupinterlinespace]
\starttext
\typefile[Std]{TypeFi.mkiv}
\startcolumns[n=2,rule=on]
\typefile[Std]{TypeFi.mkiv}
\stopcolumns
\stoptext
Hi,
MKIV seems to have a problem in hyphenating long finnish compound words in MKIV
(2011.05.18 22:26).
Here is a minimalist example (columns added to exaggerate the problem):
\mainlanguage[fi]
\language[fi]
\starttext
\startcolumns[n=3]
kolmivaihekilowattituntimittari ympäristöliiketoiminta
On 23-5-2011 2:07, Otso Helenius wrote:
Hi,
MKIV seems to have a problem in hyphenating long finnish compound words in MKIV
(2011.05.18 22:26).
Here is a minimalist example (columns added to exaggerate the problem):
\mainlanguage[fi]
\language[fi]
\starttext
\startcolumns[n=3
, hanging, spacing]
\starttext
\startcolumns[n=2]
\dorecurse{10}{kolmivaihekilowattituntimittari ympäristöliiketoiminta
epäjärjestelmällisyydellistyttymättömyydellänsäkään
järjestelmällisentelentelemättömyydellänsäkään hääyöaie
kolmivaihekilowattituntimittari ympäristöliiketoiminta
in two columns, while its header is typeset over the full page.
\usemodule[annotation]
\define[2]\QuotationCommand
{\startnarrower
#1\blank
\startcolumns#2\stopcolumns
\stopnarrower}
\defineannotation
[myquotation]
[alternative=command,
left=,
right=,
command=\QuotationCommand
to the section title).
Another question related to this is how to can typeset the text of the
blockquote in two columns, while its header is typeset over the full page.
\usemodule[annotation]
\define[2]\QuotationCommand
{\startnarrower
#1\blank
\startcolumns#2\stopcolumns
I was setting up a test for my students, consisting of one page (A4
landscape), three columns. Each column consisted of a question, below which
there was an empty frame in which to write the answer. The layout then was
something like
--
\startcolumns[n=3]
\startitemize[n]
\item First question
--
\startcolumns[n=3]
\startitemize[n]
\item First question
\framed[height=10cm width=\textwidth]{}
\column
\item Second question
\framed[height=10cm width=\textwidth]{}
\column
\item Third question
\framed[height=10cm width=\textwidth]{}
\stopitemize
\stopcolumns
Hello,
the following code generates 3column pages:
---
\starttext
\startcolumns[n=3,rule=on]
\dorecurse{5}{\section{\recurselevel}\input knuth}
\stopcolumns
\stoptext
---
You can see that the vertical bars on the page 1 don't reach the real bottom of the
text height, whilst they do
regardless of the linespacing.
\starttext
\startcolumns[n=3]
\setupinterlinespace[small]
\input knuth
\column
\setupinterlinespace[medium]
\input knuth
\column
\setupinterlinespace[big]
\input knuth
\stopcolumns
\stoptext
Hi Florian,
can I interest you in some columnsets?
··8
/utility/languageid.jsp?a=de-1901l=en
\setuppapersize [XY][A4] \setuppaper [nx=2,ny=2] \setuparranging [XY]
\usetypescriptfile[type-cmu] \setupbodyfont[computer-modern-unicode,10pt]
\mainlanguage[de-1901]
%\mainlanguage[deo]
\starttext
\startcolumns[n=2]
\dorecurse{4}{%
\bgroup
%\language[deo
Hi Philipp,
thank you for your reply.
(1) Columnsets cause less trouble than the ordinary
?\[start|stop]columns?; (2) you have to define the vskips prior
to using them with ?\setupwhitespace? or ?\blank?.
that takes me a bit further. But columnsets seem to have one great
disadvantage
- Forwarded message from ac...@jander.de -
Date: Mon, 20 Dec 2010 09:12:37 +0100
From: ac...@jander.de
To: Philipp Gesang pges...@ix.urz.uni-heidelberg.de
Subject: Re: [NTG-context] startcolumns: text runs into footer
User-Agent: Internet Messaging Program (IMP) H3 (4.0.3)
Hi Philipp,
thank you for your
Am 20.12.2010 um 10:57 schrieb Philipp Gesang:
Hi all,
I’m just forwarding this to the ml as I can’t help any further
and I’d like to know the answer too.
@Achim: have you tried locally chopping off a line from the text
area with “\[start|stop]columns”? Something like this:
On 12/20/2010 11:07 AM, Wolfgang Schuster wrote:
Am 20.12.2010 um 10:57 schrieb Philipp Gesang:
Hi all,
I’m just forwarding this to the ml as I can’t help any further
and I’d like to know the answer too.
@Achim: have you tried locally chopping off a line from the text
area with
\definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for
\setupwhitespace
\setupalign[line]
\setuplayout[grid=tolerant]
\setuplayout[lines=41]
%\showgrid
\starttext
\startcolumns[n=2, align=yes]
\clubpenalty1
\widowpenalty1
\setupwhitespace[Notsohuge]
%\setuplayout[grid=tolerant
\starttext
\startcolumns[n=2, align=yes, balance=yes]
\clubpenalty1
\widowpenalty1
\setupwhitespace[Test, flexible]
%\setuplayout[grid=tolerant]
\dorecurse{10}{\input knuth}
\stopcolumns
\stoptext
is a big step in the right direction. Pages 1 2 are perfect now, but
I wonder,
why
Hi at all,
now I've run into the next problem: Trying to set text in 2 columns.
Even in the simples case:
\showframe
\starttext
\startcolumns
\dorecurse{20}{\input knuth}
\stopcolumns
\stoptext
The text goes ca 1 line into the footer-region. I played around with
various settings (blank
Hi Achim!
On 2010-12-19 13:09:51, Achim Jander wrote:
Hi at all,
now I've run into the next problem: Trying to set text in 2 columns.
Even in the simples case:
\showframe
\starttext
\startcolumns
\dorecurse{20}{\input knuth}
\stopcolumns
\stoptext
The text goes ca 1 line
\stopexercici
\section{Problemes clà ssics}
\startcolumns
dues vegades i mitja
trobar nombres
trobar doblers
tarifes quan són iguals
\stopcolumns
\stoptext___
If your question is of interest to others as well
]
\startcolumns
\dorecurse{5}{\task very long sentence i will now write to create this
weird issue \par}
\stopcolumns
How do I prevent this, or is there a better solution?
Many thanks in advance
Janneman
\startuniqueMPgraphic{square}
draw roundedsquare(20,20,2) withrgbcolor (.625,0,0);
\stopuniqueMPgraphic
\starttext
\startcolumns
\setuptabulate[header=repeat]
\starttabulatehead
\HL
\NC\em SPALTE 1 \NC\em SPALTE 2\NC\NR\HL
\stoptabulatehead
\starttabulate[|c|c|]
\dorecurse{100}{\NC Die erste Spalte \NC Und die zweite\NC\NR}
\stoptabulate
\stopcolumns
\stoptext
is it possible to get identical
On 11/05/2010 12:23 PM, Steffen Wolfrum wrote:
So is there a handy work around to get rid off that column's cranky
believe?
I have never had a whole lot of luck with \startcolumns ...
\stopcolumns. Normally I would suggest using \startsimplecolumns...
\stopsimplecolumns (in the case
On 5-11-2010 12:53, Taco Hoekwater wrote:
On 11/05/2010 12:23 PM, Steffen Wolfrum wrote:
So is there a handy work around to get rid off that column's cranky
believe?
I have never had a whole lot of luck with \startcolumns ...
\stopcolumns. Normally I would suggest using \startsimplecolumns
Oo Öo oo öo Öq öř Oš oů \blank
\startcolumns[n=3]
\Test{mc,mm,uc} \Test{mc,zm,uc} \Test{mc,pm,uc}
\Test{zc,mm,uc} \Test{zc,zm,uc} \Test{zc,pm,uc}
\Test{pc,mm,uc} \Test{pc,zm,uc} \Test{pc,pm,uc}
\stopcolumns
\page
wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank
[topspace=1cm,height=middle]
\setupbodyfont[11pt]
\starttext
\def\Test#1%
{\vbox{{\bf#1}\blank\placeregister[index][language=cz,n=1,method={#1}]}\blank}
wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank
\startcolumns[n=3]
\Test{mc,mm,uc} \Test{mc,zm,uc} \Test{mc,pm,uc}
\Test{zc
framedtext where
columns are not possible). You can also see the effect in this far simpler
example:
\starttext
\dorecurse{20}
{\startframedtext
\startcolumns
text
\stopcolumns
\stopframedtext}
\stoptext
Wolfgang
see the effect in this far
simpler example:
\starttext
\dorecurse{20}
{\startframedtext
\startcolumns
text
\stopcolumns
\stopframedtext}
\stoptext
Wolfgang
___
If your question is of interest
\startcolumns[n=3]
\placeregister[index][language=de-gr,method={zm,pc,uc}]
\stopcolumns
\dorecurse {2} {
\page\title{Iteration No. \recurselevel}
\ind{Adrastos} \ind{Ἄδραστος}\par
\ind{Amphiaraos}\ind{Ἀμφιάραος}\par
\ind{Hippomedon}\ind{Ἱππομέδων}\par
\ind{Kapaneus
-configurable now?
indeed, and in a nice obscure way ...
\setuplayout[topspace=1cm,height=middle]
\setupbodyfont[11pt]
\starttext
\def\Test#1%
{\vbox{{\bf#1}\blank\placeregister[index][language=cz,n=1,method={#1}]}\blank}
wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank
\startcolumns[n=3
Öo oo öo Öq öř Oš oů \blank
\startcolumns[n=3]
\Test{mc,mm,uc} \Test{mc,zm,uc} \Test{mc,pm,uc}
\Test{zc,mm,uc} \Test{zc,zm,uc} \Test{zc,pm,uc}
\Test{pc,mm,uc} \Test{pc,zm,uc} \Test{pc,pm,uc}
\stopcolumns
\page
wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank
}]}\blank}
wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank
\startcolumns[n=3]
\Test{mc,mm,uc} \Test{mc,zm,uc} \Test{mc,pm,uc}
\Test{zc,mm,uc} \Test{zc,zm,uc} \Test{zc,pm,uc}
\Test{pc,mm,uc} \Test{pc,zm,uc} \Test{pc,pm,uc}
\stopcolumns
\page
wanted result: oá öb Oč Öď Oo Öo oo öo
am
trying to get more, but do not succeed.
Use the “n” key
\startitemize[columns][n=number]
or \startcolumns without the “columns” keyword in itemize
\startcolumns[n=number]
\startitemize
...
\stopitemize
\stopcolumns
Wolfgang
Hello,
looking for the multicolums of fixed height I've found the solution from
Wolfgang [1], which doesn't work with latest beta (mkiv):
\usemodule[streams]
\definestreamlayer[test][method=overlay]
\setupbackgrounds[page][background=test]
\starttext
\startstreamlayer[test]
\startcolumns
| handling error 404: Not Found
Another thing is the streams-module. Here is an example:
\usemodule[streams]
\definestreamlayer[test][method=overlay]
\setupbackgrounds[page][background=test]
\starttext \showframe
\startstreamlayer[test]
\startcolumns
\input knuth
\stopcolumns
]
\setupbackgrounds[page][background=test]
\starttext \showframe
\startstreamlayer[test]
\startcolumns
\input knuth
\stopcolumns
\stopstreamlayer
\setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]}
\stoptext
And here the error:
! Undefined control sequence.
l.19 \defineoutputstream[\v
:
\usemodule[streams]
\definestreamlayer[test][method=overlay]
\setupbackgrounds[page][background=test]
\starttext \showframe
\startstreamlayer[test]
\startcolumns
\input knuth
\stopcolumns
\stopstreamlayer
\setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]}
\stoptext
]
\starttext \showframe
\startstreamlayer[test]
\startcolumns
\input knuth
\stopcolumns
\stopstreamlayer
\setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]}
\stoptext
And here the error:
! Undefined control sequence.
l.19 \defineoutputstream[\v!left]
Greeting
Andreas
]
\definestreamlayer[test][method=overlay]
\setupbackgrounds[page][background=test]
\starttext \showframe
\startstreamlayer[test]
\startcolumns
\input knuth
\stopcolumns
\stopstreamlayer
\setlayer[test][x=5cm,y=10cm]{\placestreamlayer[test]}
\stoptext
And here the error:
! Undefined control
On 29-7-2010 10:13, Horacio Suarez wrote:
Horacio Suarez
in cont-new.tex add:
\def\multicolumnseject
{%\ifdim\pagetotal\textheight
% \eject % new, but wrong as it fails on mixed-001.tex
%\else
\allowbreak
}%\fi}
--
thankyou very much!
Date: Fri, 6 Aug 2010 18:57:15 +0200
From: pra...@wxs.nl
To: ntg-context@ntg.nl
CC: horaciosua...@hotmail.com
Subject: Re: [NTG-context] \startcolumns ... \stopcolumns
On 29-7-2010 10:13, Horacio Suarez wrote:
Horacio Suarez
in cont-new.tex add:
\def
Hello:
After \startcolumns ... \stopcolumns there a big blank space. This sample shows
it.
%
\starttext
\startcolumns
\input tufte
\input tufte
\input tufte
\stopcolumns
{\bf This should appear in the first page, below {\em tufte,} there is enough
room.}
\stoptext
%
why
hello all:
I want to add a figure after a balanced \startcolumns ... \stopcolumns.
When the last page uses less than aprox half a page, the figure appears after
the text ends, but if the page uses about half a page o more, the figure jumps
to the next page. The figure is small enough to fit
On Wed, Jul 28 2010, Horacio Suarez wrote:
I want to add a figure after a balanced \startcolumns ... \stopcolumns.
When the last page uses less than aprox half a page, the figure appears
after the text ends, but if the page uses about half a page o more, the figure
jumps to the next page
thankyou for your answer.
In this example, the text after columns jumps to another page, but there is
enough room for it.
\starttext
\startcolumns
\input tufte
\input tufte
\input tufte
\stopcolumns
hola que tal
\stoptext
what iñm missing?
thankyou for your help
=2,direction=right] doesn't work.
(A nasty, ugly hack is fine too ;-)
Example:
\starttext
\definecolumnset[arabic][n=2,direction=right]
\startcolumns[arabic]
Oeps. In Arabic the 'first' column is on the right: \input knuth
\stopcolumns
\stoptext
Thanks,
Jelle
? Something like
\definecolumnset[arabic][n=2,direction=right] doesn't work.
(A nasty, ugly hack is fine too ;-)
Example:
\starttext
\definecolumnset[arabic][n=2,direction=right]
\startcolumns[arabic]
Oeps. In Arabic the 'first' column is on the right: \input knuth
\stopcolumns
\stoptext
Hi.
Consider the following example:
file example.tex
\setuphead[section][stopper={.}, numbercommand=\Branch, style=bold]
\def\Branch#1{Branch #1}
\setupcolumns[2]
\starttext
\startcolumns
\section{This is a short title}
\input knuth
\section{This is not a short title either, this is a long
Hello,
Is there a way to sort the content of \startlines envinroment by the
alphabet? I have a list of songs in arbitrary order, and what to output
it in alphabetical one.
ex.:
\starttext
\subject{My set-list}
\startcolumns\startlinenumbering\startlines
Fly me to the moon
Hit the road jack
Hi,
I have
\startcolumns
[...]
\startexercici Amb el mateix experiment aleatori de l'activitat
anterior, calcula els esdeveniments següents:
\startitemize[a,packed,columns]
\item $(A^c)^c$
\item $(A \cap B)^c$
\item $(A \cup B)^c$
\item $A^c \cup B$
\item $A^c \cap B$
\item $A \cup B^c$
\item
Am 11.04.10 12:47, schrieb Xan:
Hi,
I have
\startcolumns
[...]
\startexercici Amb el mateix experiment aleatori de l'activitat
anterior, calcula els esdeveniments següents:
\startitemize[a,packed,columns]
\item $(A^c)^c$
\item $(A \cap B)^c$
\item $(A \cup B)^c$
\item $A^c \cup B$
\item $A^c
En/na Wolfgang Schuster ha escrit:
Columns can't be nested but you can use \start/\stopsimplecolumns for
the itemize.
Wolfgang
Thanks Wolfgang. Perfect solution!
For the other hand, can't columns be nested? Why not put in
\startitemize code one if: if there is _in_ a column environment,use
Am 11.04.10 13:01, schrieb Xan:
For the other hand, can't columns be nested?
No.
Why not put in \startitemize code one if: if there is _in_ a column
environment,use \startsimplecolumns, Is it technically possible?
Possible but not so simple as you think.
Wolfgang
{Esperança matemà tica}
\page
\section{Exercicis (clà ssics)}
\subsection{Experiments aleatoris. Esdeveniments}
%\subsubsection{Llibre}
\startcolumns
\startexercici S'extreu una bolla d'una urna amb boles numerades de l'1 al 5.
Defineix l'espai mostral i 3 esdeveniments que no sigui
En/na Wolfgang Schuster ha escrit:
Am 11.04.10 13:01, schrieb Xan:
For the other hand, can't columns be nested?
No.
Why not put in \startitemize code one if: if there is _in_ a column
environment,use \startsimplecolumns, Is it technically possible?
Possible but not so simple as you
the overprinting near the top of p.2 c.1. That is a
marginal note that should go into the right margin.
\starttext
\startcolumns
\input knuth
\input tufte
\column
\input tufte
\inmargin{This is in wrong margin}
\input knuth
\stopcolumns
\stoptext
The marin note in 2nd column is displayed
to find out.
Could you please provide a typical example?
Here are ten:
1. columns and marginal notes conflict:
\setupcolumns[n=2,rule=off,distance=20pt]
\setupinmargin[style=\ss,align=outer]
\startcolumns
text text \inmargin{text} text
\stopcolumns
The marginal notes always print to the left
[state=start,color=darkgreen,contrastcolor=darkred]
\setupinteractionscreen[option=fit,view=fit]
\setupcombinedlist[content][interaction=all,textcolor=black]
\showlayoutcomponents
\starttext
\startcolumns
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis aliquam
sapien nec ligula aliquam
margin.
Here is a minimal example (no page setup, font setup, or styles needed to
show the problem)
\starttext
\startcolumns
\input knuth
\input tufte
\column
\input tufte
\inmargin{This is in wrong margin}
\input knuth
\stopcolumns
\stoptext
The marin note in 2nd column is displayed
Hello,
I'm just curious, why line mumbers appear mirrored (on the right side of
text) in the rightmost column?
\starttext
\startcolumns\startlinenumbering\startlines
Fly me to the moon
Hit the road jack
Sway
Libertango
Sunny
Besame mucho (Em)
La Bamba
Hey-na-na-na
Venus (Dm)
El Talisman
Oye
{\increment\V \dontleavehmode{\color[darkgreen]\rm\bi \V} #1}
but i think this is better
\setupcolors[state=start]
\definelabel
[Vers]
[headstyle=bolditalic,
headcolor=darkgreen,
command=\groupedcommand\dontleavehmode\space]
\starttext
\startcolumns
text\par\dorecurse{50}{\Vers Dies ist
[state=start]
\definelabel
[Vers]
[headstyle=bolditalic,
headcolor=darkgreen,
command=\groupedcommand\dontleavehmode\space]
\starttext
\startcolumns
text\par\dorecurse{50}{\Vers Dies ist ein Testsatz der gerade lange
genug ist, um zu zeigen was zu zeigen ist.\par
Hallo,
on Vers 38 at page 2 (see example) text is green.
\setupcolors[state=start]
\newcounter\V
\def\Vers#1{\increment\V {\color[darkgreen]\rm\bi \V} #1}
\starttext
\startcolumns
\dorecurse{50}{\Vers{Dies ist ein Testsatz der
Hi all,
pleas have a look at the following example
\setuplayout[grid=yes]
\starttext
\startcolumns
\input tufte \par \input tufte \par
\startframedtext[width=broad] % ,location=high
\input tufte \par
\stopframedtext
\stopcolumns
\page
\startcolumns
\input tufte \par \input tufte
=,after=]
\setupenumerations[subsubartikel][text=,location=left,stopper=.,width=broad,distance=5pt,before=,after=]
\starttext
%\startcolumns[n=2]
\startartikel Number should be 1. \stopartikel
\startsubartikel Number should be 1.1. \stopsubartikel
\startsubartikel Number should be 1.2. \stopsubartikel
=broad,before=\blank,after=\blank]
\setupenumerations[subartikel][text=,location=left,stopper=.,width=broad,distance=5pt,before=,after=]
\setupenumerations[subsubartikel][text=,location=left,stopper=.,width=broad,distance=5pt,before=,after=]
\starttext
%\startcolumns[n=2]
\startartikel Number
,stopper=.,width=broad,distance=5pt,before=,after=]
\setupenumerations[subsubartikel][text=,location=left,stopper=.,width=broad,distance=5pt,before=,after=]
\starttext
%\startcolumns[n=2]
\startartikel Number should be 1. \stopartikel
\startsubartikel Number should be 1.1. \stopsubartikel
\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 of weeks before.
Best regards
301 - 400 of 655 matches
Mail list logo