Hi,

On Fri, Jan 24, 2025 at 5:21 PM Thomas Meyer <thomasgme...@t-online.de>
wrote:

> Hi folks,
>
> how is it possible to centre the page number vertically and horizontally
> in the outer text margin (even page on the left and odd page on the right)?
>
> Any help is welcome.
>
> Greetings Thomas
>

Maybe something like this:

\showframe

\setuplayout
  [backspace=3cm,
   leftmargin=1cm,
   rightmargin=2cm,
   width=fit]

\setuppagenumbering
  [alternative=doublesided]

\setupheadertexts[]

\setuptexttexts
  [margin]
  []
  [\unframed[align=middle,width=\outermarginwidth]{\pagenumber}]
  [\unframed[align=middle,width=\outermarginwidth]{\pagenumber}]
  []

\starttext

\dorecurse{50}{\samplefile{tufte}\par}

\stoptext

I hope I understood what you meant.

/Mikael
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to