Navigation PanelDocumentation of rhxpanel.hlxColour ControlThe Buttons

The Buttons

Although this panel is intended to show 4 buttons at the top and the bottom of each page (the default behaviour), it can be customised to other styles, see below.

The behaviour of the PREV and NEXT buttons can be controlled with the standard sequential.hlx package of Hyperlatex.

Panel fields can be added like in bluepanels.hlx using the command \htmlpanelfield{TEXT}{LABEL}. To add icons instead of TEXT, use a command similar to what follows.

  
  \htmlpanelfield{\HlxPanelIcon{icon.png}{ALTTEXT}}{LABEL}

This then shows the icon icon.png which should be in the same place as the files for the other navigation buttons. Note that \HlxPanelIcon is an \Hlx... style command and should be hidden from LaTeX.

The place of the panel buttons is controlled by defining the command

  \newcommand{\HlxIcons}{http://www.cs.uu.nl/{\~{}}otfried/img/}

The following setting is the default.

  \newcommand{\HlxIcons}{}

Whereas the first specifies a fixed place in the Internet, the second form describes a local directory starting at \htmldirectory. A slash will be added automatically to the path if it is not provided.

The default extension of the button icons is .png, but you can change this by defining

 \newcommand{\HlxIconExtension}{gif}

There are several commands to control the generation of buttons. Here is a list of commands that you can put into your LaTeX file.

The icon images are not part of the package. They are just packaged as examples. One should provide 7 buttons, home.png, blank.png, previous.png, up.png, next.png, noprevious.png, noup.png, nonext.png. The filename extension depends on what you define in \HlxIconExtension.


Ralf Hemmecke http://www.hemmecke.de/ralf February 22, 2010


Navigation PanelDocumentation of rhxpanel.hlxColour ControlThe Buttons