Am 26.06.2009 um 09:51 schrieb Gerben Wierda:

On 25 Jun 2009, at 23:15, Gerben Wierda wrote:

On 25 Jun 2009, at 14:38, Carlos Breton Besnier wrote:

I think because the footer is 0 mm.

But doesn't inleft mean the page number is in the left margin, not the footer?

Apparently not. It is still in the footer. OK, if I set the footer to 10mm I get a page number in the footer (in this case in the same horizontal location as the line numbers)

But I want to have as much vertical space as possible for the text. Is it possible to get the page number in the left marging, somewhere in the middle of the page?

And while I'm at it, if I want a heading in the left margin as well, but I want it 90 degrees rotated, how do I do that?

\setuplayout
  [leftmargin=1cm,
   leftmargindistance=5mm]

\startsetups header:margin

  \framed
    [frame=off,
     orientation=90,
     width=\leftmarginwidth,
     height=\textheight,
     align={middle,middle}]
    {My document\hfil\pagenumber\hfil My name}

\stopsetups

\defineoverlay[header:margin][\setups{header:margin}]

\setupbackgrounds[text][leftmargin][background={header:margin}]

\starttext

...

\stoptext

Wolfgang

___________________________________________________________________________________
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://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to