From: Oliver von Criegern <oliver.v.criegern@badw-muenchen.de>
To: ntg-context@ntg.nl
Subject: In a two column layout, activate line numbering for one column only
Date: Tue, 30 Jul 2019 16:29:05 +0200 [thread overview]
Message-ID: <1775583a-67b5-76b6-4f23-5924793b6ae0@badw-muenchen.de> (raw)
[-- 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
___________________________________________________________________________________
reply other threads:[~2019-07-30 14:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1775583a-67b5-76b6-4f23-5924793b6ae0@badw-muenchen.de \
--to=oliver.v.criegern@badw-muenchen.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).