generated from ivoa-std/doc-template
-
Notifications
You must be signed in to change notification settings - Fork 15
/
VOTable.elem.tex
135 lines (133 loc) · 3.81 KB
/
VOTable.elem.tex
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
%%% Illustration of VOTable definitions
%%% \oplus = required order
%%% \opt{elem} = optional element
% Version 1.1
%\def\reste
\def\element#1{\elemdef{#1}{}}
%\def\optelem#1{{\em \elemdef{#1}{}}}
\def\optelem#1{{\fg{blue}$<$}{\footnotesize\em{\fg{DarkRed}#1}}{\fg{blue}$>$}}
\def\mv{\quad}
\def\paramonly{}
\noindent\begin{tabular}{cccc}
\begin{tabular}{|l|}\hline
\element{VOTABLE} \\
\order \optelem{DESCRIPTION} \\
\unorder \optelem{COOSYS}$\cdots$ \\
\unorder \optelem{TIMESYS}$\cdots$ \\
\unorder \optelem{INFO}$\cdots$ \\
\unorder \optelem{PARAM}$\cdots$ \\
\unorder \optelem{GROUP}{\paramonly}$\cdots$ \\
\order \underline{\element{RESOURCE}}$\cdots$ \\
\order \optelem{INFO}$\cdots$ \\
\element{\slash VOTABLE}\\
\hline\end{tabular}
&
\begin{tabular}{|l|}\hline
\element{RESOURCE}\\
\order \optelem{DESCRIPTION} \\
%%% Changed March 2004 \order --> \unorder
\order \optelem{INFO}$\cdots$ \\
\unorder \optelem{COOSYS}$\cdots$ \\
\unorder \optelem{TIMESYS}$\cdots$ \\
\unorder \underline{\optelem{GROUP}{\paramonly}}$\cdots$ \\
\unorder \underline{\optelem{PARAM}}$\cdots$ \\
%%% End of Change
\order {\optelem{LINK}}$\cdots$ \\
\order \underline{\optelem{TABLE}}$\cdots$ \\
\order \underline{\optelem{RESOURCE}}$\cdots$ \\
\order \optelem{INFO}$\cdots$ \\
\element{\slash RESOURCE}\\
\hline\end{tabular}
&
\begin{tabular}{|l|}\hline
\element{TABLE} \\
\order \optelem{DESCRIPTION} \\
\unorder \underline{\optelem{FIELD}}$\cdots$ \\
\unorder \underline{\optelem{PARAM}}$\cdots$ \\
\unorder \underline{\optelem{GROUP}}$\cdots$ \\
\order \optelem{LINK}$\cdots$ \\
\order \underline{\optelem{DATA}} \\
\order \optelem{INFO}$\cdots$ \\
\element{\slash TABLE} \\
\hline\end{tabular}
&
\begin{tabular}{@{}c@{}} %%% This cell has 2 tables
\begin{tabular}{|l|}\hline
\element{FIELD} \\
\order \optelem{DESCRIPTION} \\
\order \underline{\optelem{VALUES}} \\
\order \optelem{LINK}$\cdots$ \\
\element{\slash FIELD}\\
\hline\end{tabular}
\\ \\
\begin{tabular}{|l|}\hline
\element{PARAM} \\
\order \optelem{DESCRIPTION} \\
\order \underline{\optelem{VALUES}} \\
\order \optelem{LINK}$\cdots$ \\
\element{\slash PARAM}\\
\hline\end{tabular}
\end{tabular} %%% This cell has 2 tables (end)
\\
\begin{tabular}{|l|} \hline
\element{DATA} \\
\choice {\element{TABLEDATA}} \\
\mv\order \optelem{TR}$\cdots$ \\
\mv\mv\order \element{TD}$\cdots$ \\
\choice {\element{BINARY}} \\
\mv\order \element{STREAM}\\
\choice {\element{BINARY2}} \\
\mv\order \element{STREAM}\\
\choice {\element{FITS}}\\
\mv\order \element{STREAM}\\
\element{\slash DATA}\\
\order \optelem{INFO}$\cdots$ \\
\hline\end{tabular}
&
\begin{tabular}{|l|}\hline
\element{GROUP} \\
\order \optelem{DESCRIPTION} \\
%\unorder \underline{\optelem{FIELD}}$\cdots$ \\
\unorder \optelem{FIELDref}$\cdots^{(t)}$ \\
\unorder \underline{\optelem{PARAM}}$\cdots$ \\
\unorder \optelem{PARAMref}$\cdots$ \\
\unorder \underline{\optelem{GROUP}}$\cdots$ \\
\element{\slash GROUP}\\
\hline
{{\footnotesize\em(t) only within \element{TABLE}}}\\
\hline\end{tabular}
&
\begin{tabular}{|l|}\hline
\element{VALUES} \\
\order \optelem{MIN} \\
\order \optelem{MAX} \\
\order \optelem{OPTION}$\cdots$ \\
\mv\unorder\optelem{OPTION}$\cdots$\\
\element{\slash VALUES}\\
\hline\end{tabular}
\\ \\
%\begin{tabular}{|l|}\hline
%\element{TABLEDATA} \\
%\order \optelem{TR}$\cdots$ \\
%\mv\order \element{TD}$\cdots$ \\
%\element{\slash TABLEDATA} \\
%\hline\end{tabular}
%&
%\begin{tabular}{|l|}\hline
%\element{BINARY} \\
%\order \element{STREAM} \\
%\element{\slash BINARY} \\
%\hline\end{tabular}
%&
%\begin{tabular}{|l|}\hline
%\element{FITS} \\
%\order \element{STREAM} \\
%\element{\slash FITS} \\
%\hline\end{tabular}
%&
%\begin{tabular}{|l|}\hline
%\element{LINK} \\
%\element{\slash LINK} \\
%\hline\end{tabular}
\\
\end{tabular}