File: simplepanels.hlx

package info (click to toggle)
hyperlatex 2.5-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 480 kB
  • ctags: 288
  • sloc: lisp: 2,291; sh: 180; makefile: 86; awk: 21
file content (26 lines) | stat: -rw-r--r-- 795 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
%% Hey Emacs, this is -*-latex-*- code
%%
%% simplepanels package
%%

\newcommand{\HlxPanelFields}{}

\newcommand{\toppanel}{\EmptyP{\HlxSeqPrevUrl\HlxUpUrl\HlxSeqNextUrl}{%
    \EmptyP{\HlxSeqPrevUrl}
    {\textbf{\HlxGoBackName} \xlink{\HlxSeqPrevTitle}{\HlxSeqPrevUrl}\\}{}%
    \EmptyP{\HlxUpUrl}
    {\textbf{\HlxGoUpName} \xlink{\HlxUpTitle}{\HlxUpUrl}\\}{}%
    \EmptyP{\HlxSeqNextUrl}
    {\textbf{\HlxGoForwardName} \xlink{\HlxSeqNextTitle}{\HlxSeqNextUrl}\\}{}% 
    \EmptyP{\HlxPanelFields}{\HlxPanelFields}{}%
    \htmlrule{}}{}}

\newcommand{\bottommatter}{%
  \HlxBlk\htmlrule\EmptyP{\HlxAddress}
  {\xml{address}\HlxAddress\HlxBlk\xml{/address}\\}{}}

\newcommand{\bottompanel}{\toppanel}

\newcommand{\htmlpanelfield}[2]{\HlxAppend{\HlxPanelFields}{ \link{#1}{#2}}}

%% The end.