[Therion] Atlas Page Setup Layouts

Martin Budaj m.budaj at gmail.com
Thu Jul 31 10:42:26 CEST 2008


On Tue, Jul 29, 2008 at 12:49 PM, Bruce Mutton
<bruce.mutton at paradise.net.nz> wrote:
> Further to my post a couple of days ago…
> I've been trying to get the tex code at the end of these files to give me
> north arrows in my atlas, to no avail.

You would need to redefine the \dopage{} macro in code tex-atlas
section of the layout command, e.g. like this

code tex-atlas
\def\dopage{%
 \vbox{\centerline{\framed{\mapbox}}
  \bigskip
  \line{%
    \vbox to \ht\navbox{
      \hbox{\size[20]\the\pagelabel
        \ifpagenumbering\space(\the\pagenum)\fi
        \space\size[16]\the\pagename}
      \ifpagenumbering
        \medskip
        \hbox{\qquad\qquad
          \vtop{%
            \hbox to 0pt{\hss\showpointer\pointerN\hss}
            \hbox to 0pt{\llap{\showpointer\pointerW\hskip0.7em}%
              \raise1pt\hbox to 0pt{\hss$\updownarrow$\hss}%
              \raise1pt\hbox to 0pt{\hss$\leftrightarrow$\hss}%
              \rlap{\hskip0.7em\showpointer\pointerE}}
              \hbox to 0pt{\hss\showpointer\pointerS\hss}
          }\qquad\qquad
          \vtop{
            \def\arr{$\uparrow$}
            \showpointerlist\pointerU
            \def\arr{$\downarrow$}
            \showpointerlist\pointerD
          }
        }
      \fi
      \vss
    }
    \hss
    \vbox to \ht\navbox{
    \ifnortharrow\hbox to 0pt{\hss\northarrow\qquad}\fi
    \vss
    \ifscalebar\hbox to 0pt{\hss\scalebar\qquad}\fi
    }
    \box\navbox
  }
 }
}

Martin


More information about the Therion mailing list