-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmypanels.hlx
43 lines (36 loc) · 1.38 KB
/
mypanels.hlx
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
%% Hey Emacs, this is -*-latex-*- code
%%
%% simplepanels package
%%
\newcommand{\HlxPanelFields}{}
\newcommand{\HlxImage}[2]{\xmlattributes*{img}{border="0"}%
\htmlimg{\HlxIcons{}#2}{#1}}
\newcommand{\HlxTopPanel}{\EmptyP{\HlxSeqPrevUrl\HlxUpUrl\HlxSeqNextUrl}{%
\xml*{table width="100%" cellpadding="0" cellspacing="2"}\xml{tr}
\xml*{td bgcolor="##99ccff"}%
\EmptyP{\HlxSeqNextUrl}
{\xlink{\xmlattributes*{img}{border="0"}\htmlimg{next.gif}{}}{\HlxSeqNextUrl}}{\htmlimg{\HlxIcons{}blank.gif}{}}
\xml*{/td}%
\xml*{td bgcolor="##99ccff"}%
\EmptyP{\HlxUpUrl}
{\xlink{\xmlattributes*{img}{border="0"}\htmlimg{up.gif}{}}{\HlxUpUrl}} {\htmlimg{\HlxIcons{}blank.gif}{}}%
\xml*{/td}%
\xml*{td bgcolor="##99ccff"}%
\EmptyP{\HlxPrevUrl}
{\xlink{\xmlattributes*{img}{border="0"}\htmlimg{previous.gif}{}}{\HlxSeqPrevUrl}}
{\htmlimg{\HlxIcons{}blank.gif}{}}%
\xml*{/td}%
\xml*{td align="center" bgcolor="##99ccff" width="100%"}%
\textbf{\HlxThisTitle}%
\xml*{/td}%
\HlxPanelFields
\xml*{/tr}%
\xml*{/table}}{}}
\newcommand{\HlxBottomMatter}{%
\HlxBlk\htmlrule\EmptyP{\HlxAddress}
{\xml{address}\HlxAddress\HlxBlk\xml{/address}\\}{}}
\newcommand{\HlxBottomPanel}{\HlxTopPanel}
\newcommand{\htmlpanelfield}[2]{\HlxAppend{\HlxPanelFields}%
{\xml*{td bgcolor="###99ccff" align="center"}%
\link{#1}{#2}\xml*{/td}}}
%% The end.