|
124 | 124 | \end{libsumtabbase}
|
125 | 125 | }
|
126 | 126 |
|
127 |
| -% usage: \begin{LibSynTab}{CAPTION}{TITLE}{XREF}{COUNT}{LAYOUT} |
128 |
| -% produces table with COUNT columns. Used as base for |
129 |
| -% C library description tables |
130 |
| -\newcounter{LibSynTabCols} |
131 |
| -\newcounter{LibSynTabWd} |
132 |
| -\newenvironment{LibSynTabBase}[5] |
133 |
| -{ |
134 |
| - \setcounter{LibSynTabCols}{#4} |
135 |
| - \setcounter{LibSynTabWd}{#4} |
136 |
| - \addtocounter{LibSynTabWd}{-1} |
137 |
| - \newcommand{\centry}[1]{\textbf{##1}:} |
138 |
| - \newcommand{\macro}{\centry{Macro}} |
139 |
| - \newcommand{\macros}{\centry{Macros}} |
140 |
| - \newcommand{\function}{\centry{Function}} |
141 |
| - \newcommand{\functions}{\centry{Functions}} |
142 |
| - \newcommand{\mfunctions}{\centry{Math Functions}} |
143 |
| - \newcommand{\cfunctions}{\centry{Classification/comparison Functions}} |
144 |
| - \newcommand{\type}{\centry{Type}} |
145 |
| - \newcommand{\types}{\centry{Types}} |
146 |
| - \newcommand{\values}{\centry{Values}} |
147 |
| - \newcommand{\struct}{\centry{Struct}} |
148 |
| - \newcommand{\cspan}[1]{\multicolumn{\value{LibSynTabCols}}{|l|}{##1}} |
149 |
| - \begin{floattable}{#1 \tcode{<#2>} synopsis}{#3} |
150 |
| - {#5} |
151 |
| - \topline |
152 |
| - \lhdr{Type} & \rhdrx{\value{LibSynTabWd}}{Name(s)} \\ \capsep |
153 |
| -} |
154 |
| -{ |
155 |
| - \end{floattable} |
156 |
| -} |
157 |
| - |
158 | 127 | % usage: \begin{concepttable}{TITLE}{TAG}{LAYOUT}
|
159 | 128 | % produces table at current location
|
160 | 129 | \newenvironment{concepttable}[3]
|
|
206 | 175 | \end{TableBase}
|
207 | 176 | }
|
208 | 177 |
|
209 |
| -% usage: \begin{twocol}{TITLE}{XREF} |
210 |
| -% produces a two-column breakable table. Used in |
211 |
| -% "simple-type-specifiers and the types they specify" in the standard. |
212 |
| -\newenvironment{twocol}[2] |
213 |
| -{ |
214 |
| - \begin{concepttable} |
215 |
| - {#1}{#2} |
216 |
| - {ll} |
217 |
| -} |
218 |
| -{ |
219 |
| - \end{LongTable} |
220 |
| -} |
221 |
| - |
222 | 178 | % usage: \begin{libreqtabN}{TITLE}{XREF}
|
223 | 179 | % produces an N-column breakable table. Used in
|
224 | 180 | % most of the library Clauses for requirements tables.
|
225 | 181 | % Example at "Position type requirements" in the standard.
|
226 | 182 |
|
227 |
| -\newenvironment{libreqtab1}[2] |
228 |
| -{ |
229 |
| - \begin{LongTable} |
230 |
| - {#1}{#2} |
231 |
| - {x{.55\hsize}} |
232 |
| -} |
233 |
| -{ |
234 |
| - \end{LongTable} |
235 |
| -} |
236 |
| - |
237 | 183 | \newenvironment{libreqtab2}[2]
|
238 | 184 | {
|
239 | 185 | \begin{LongTable}
|
|
284 | 230 | \end{LongTable}
|
285 | 231 | }
|
286 | 232 |
|
287 |
| -\newenvironment{libreqtab3c}[2] |
288 |
| -{ |
289 |
| - \begin{LongTable} |
290 |
| - {#1}{#2} |
291 |
| - {x{.30\hsize}x{.25\hsize}x{.35\hsize}} |
292 |
| -} |
293 |
| -{ |
294 |
| - \end{LongTable} |
295 |
| -} |
296 |
| - |
297 |
| -\newenvironment{libreqtab3d}[2] |
298 |
| -{ |
299 |
| - \begin{LongTable} |
300 |
| - {#1}{#2} |
301 |
| - {x{.32\hsize}x{.27\hsize}x{.36\hsize}} |
302 |
| -} |
303 |
| -{ |
304 |
| - \end{LongTable} |
305 |
| -} |
306 |
| - |
307 | 233 | \newenvironment{libreqtab3e}[2]
|
308 | 234 | {
|
309 | 235 | \begin{LongTable}
|
|
459 | 385 | \end{LibEffTab}
|
460 | 386 | }
|
461 | 387 |
|
462 |
| -% Same as libefftabmean except that it uses a long table. |
463 |
| -\newenvironment{longlibefftabmean}[2] |
464 |
| -{ |
465 |
| - \begin{longLibEffTab}{#1}{#2}{Meaning}{4.5in} |
466 |
| -} |
467 |
| -{ |
468 |
| - \end{longLibEffTab} |
469 |
| -} |
470 |
| - |
471 | 388 | % usage: \begin{libefftabvalue}{TITLE}{XREF}
|
472 | 389 | % produces a two-column effects table with right column
|
473 | 390 | % header "Value", width 3 in. Used in "basic_ios::init() effects"
|
|
0 commit comments