* In a two column layout, activate line numbering for one column only
@ 2019-07-30 14:29 Oliver von Criegern
0 siblings, 0 replies; only message in thread
From: Oliver von Criegern @ 2019-07-30 14:29 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 1380 bytes --]
Dear list members,
I am trying to recreate a layout for some dictionary with ConTeXt. It is
a two column layout with line numbering between the columns, that is,
there is only one numbering for both columns. How can I do this with
ConTeXt?
I would need either an option to activate line numbering only for one
column, which, as far as I can see, does not exist; or I could use the
"command" option for "\setuplinenumbering" to make the line numbers
dissappear for one column, but then I would need some way to decide
whether a line number belongs to the first or to the second column, some
command that returns to me the number of the actual column, which I
can't find, too.
For illustration, I give a minimal example:
||\setuppapersize[A4][A4]\setupbodyfont[9pt]||
|||\setupcolumns[n=2, distance=1cm, ]\setuplinenumbering[step=5,
method=page, location=right, align=flushright,
width=.25cm]\starttext\startcolumns\startlinenumbering\dorecurse{10}{\inputlorem}\par\stoplinenumbering\stopcolumns\stoptext|||
In the result, there are (as is to be expected) line numbers between
both columns and also to the right of the second column. How can I get
rid of the latter ones?
(For the pdf result see also:
https://tex.stackexchange.com/questions/501269/context-how-to-have-line-numbering-in-a-two-column-layout-for-one-column-only).
Best regards,
Oliver.
||
[-- Attachment #1.2: Type: text/html, Size: 3731 bytes --]
[-- Attachment #2: Type: text/plain, Size: 493 bytes --]
___________________________________________________________________________________
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/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-07-30 14:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-30 14:29 In a two column layout, activate line numbering for one column only Oliver von Criegern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).