1

I'm numbering my lines in a double-sided ConTeXt Mkiv document like so:

\usemodule[ipsum]

\setuppagenumbering[alternative=doublesided]

\starttext
\startlinenumbering
\ipsum
\ipsum
\ipsum
\ipsum
\ipsum
\ipsum
\stoplinenumbering
\stoptext

They are always put in the left margin, no matter if I'm on a left or right page. Is there a way to put always put them into the inner or outer margin instead? (I'm basically asking the same question as this one for ConTeXt)

1
  • 3
    Add \setuplinenumbering[location=outer] place the numbers in the outer margins. May 29, 2019 at 14:51

1 Answer 1

3

To move the line numbers in the outer margin you have to change the value of the location with the \setuplinenumbering command.

\setuppapersize[A5,landscape]

\setuppagenumbering[alternative=doublesided]

\setuplinenumbering[location=outer]

\starttext

\startlinenumbering
\dorecurse{5}{\samplefile{lorem}}
\stoplinenumbering

\stoptext

enter image description here enter image description here

2
  • Thank you! :-) Is there any documentation on this? If I remember correctly, both PRAGMA's Reference Manual and the context garden wiki only mention "inmargin" and "intext" as options for location, and I think both resulted in the number being in the left margin...
    – DP.
    Jun 5, 2019 at 20:14
  • 1
    You find a (nearly) complete list of all options for each command in the command reference. Jun 6, 2019 at 19:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .