Debian Codegraph @

texmf-dist/doc/latex/sdaps/html/sdapsarray.html

raw
1
2 <!DOCTYPE html>
3
4 <html>
5 <head>
6 <meta charset="utf-8" />
7 <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8 <title>sdapsarray package &#8212; sdaps-class 0.1 documentation</title>
9 <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
10 <link rel="stylesheet" href="_static/classic.css" type="text/css" />
11 <link rel="stylesheet" type="text/css" href="_static/css/sdapstex.css" />
12
13 <script id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
14 <script src="_static/jquery.js"></script>
15 <script src="_static/underscore.js"></script>
16 <script src="_static/doctools.js"></script>
17
18 <link rel="index" title="Index" href="genindex.html" />
19 <link rel="search" title="Search" href="search.html" />
20 <link rel="next" title="sdapsbase package" href="sdapsbase.html" />
21 <link rel="prev" title="sdapspdf package" href="sdapspdf.html" />
22 </head><body>
23 <div class="related" role="navigation" aria-label="related navigation">
24 <h3>Navigation</h3>
25 <ul>
26 <li class="right" style="margin-right: 10px">
27 <a href="genindex.html" title="General Index"
28 accesskey="I">index</a></li>
29 <li class="right" >
30 <a href="sdapsbase.html" title="sdapsbase package"
31 accesskey="N">next</a> |</li>
32 <li class="right" >
33 <a href="sdapspdf.html" title="sdapspdf package"
34 accesskey="P">previous</a> |</li>
35 <li class="nav-item nav-item-0"><a href="index.html">sdaps-class 0.1 documentation</a> &#187;</li>
36 <li class="nav-item nav-item-this"><a href="">sdapsarray package</a></li>
37 </ul>
38 </div>
39
40 <div class="document">
41 <div class="documentwrapper">
42 <div class="bodywrapper">
43 <div class="body" role="main">
44
45 <div class="section" id="sdapsarray-package">
46 <h1>sdapsarray package<a class="headerlink" href="#sdapsarray-package" title="Permalink to this headline">¶</a></h1>
47 <p>This is a base package for “array” like environments. It really is similar to a
48 tabularx environment to some extend. Its purpose is much more specialized compared
49 to tabularx. It is less flexible in the types of layouts that can be realized but
50 a lot more powerful otherwise. The <cite>sdapsarray</cite> environment has the following
51 features:</p>
52 <ul class="simple">
53 <li><p>All <a class="reference internal" href="#sdapsarray" title="sdapsarray"><code class="xref tex tex-environ docutils literal notranslate"><span class="pre">sdapsarray</span></code></a> environments in the document can be aligned to each other</p></li>
54 <li><p>The environment can span multiple pages</p></li>
55 <li><p>Headers will be repeated when page splits are encountered</p></li>
56 <li><p>The rows/columns can be swapped on the fly</p></li>
57 <li><p>Different <code class="docutils literal notranslate"><span class="pre">layouter</span></code> can be plugged in to modify the rendering</p></li>
58 <li><p>Fragile content can be used without further preparation</p></li>
59 <li><p>Contained content is executed exactly once (important for metadata generation)</p></li>
60 </ul>
61 <p>Things that are <em>not</em> possible currently:</p>
62 <ul class="simple">
63 <li><p>Row or column backgrounds</p></li>
64 <li><p>Grid lines</p></li>
65 </ul>
66 <div class="admonition warning">
67 <p class="admonition-title">Warning</p>
68 <p>The <a class="reference internal" href="#sdapsarray" title="sdapsarray"><code class="xref tex tex-environ docutils literal notranslate"><span class="pre">sdapsarray</span></code></a> is <strong>not</strong> a <code class="docutils literal notranslate"><span class="pre">tabular</span></code> like environment. It behaves
69 in similar ways, but there are fundamental differences, causing some issues:</p>
70 <ul class="simple">
71 <li><p>You <strong>must not</strong> add a trailing <code class="docutils literal notranslate"><span class="pre">\\</span></code> to the last row.</p></li>
72 </ul>
73 </div>
74 <div class="figure">
75 <div class="tabs">
76 <input type="radio" id="tab-code-10" class="tab-code" name="tab-group-10" ><label for="tab-code-10" class="label-code">Example LaTeX code</label><input type="radio" id="tab-rendering-10" class="tab-rendering" name="tab-group-10" checked><label for="tab-rendering-10" class="label-rendering">Result</label><div class="content-code">
77 <div class="highlight"><pre><span></span>The following two <span class="k">\texttt</span><span class="nb">{</span>sdapsarray<span class="nb">}</span> environments are almost identical. They
78 are both aligned to each other because the <span class="k">\texttt</span><span class="nb">{</span>align<span class="nb">}</span> option is set to
79 the same value. In the second environment the rows and columnes are swapped
80 by setting the <span class="k">\texttt</span><span class="nb">{</span>flip<span class="nb">}</span> option.
81
82 <span class="k">\begin</span><span class="nb">{</span>sdapsarray<span class="nb">}</span>[align=testing]
83 row header <span class="nb">&amp;</span> colum header <span class="nb">&amp;</span> colum header <span class="k">\\</span>
84 row header <span class="nb">&amp;</span> cell 1 <span class="nb">&amp;</span> cell 2 <span class="k">\\</span>
85 row header <span class="nb">&amp;</span> cell 3 <span class="nb">&amp;</span> cell 4
86 <span class="k">\end</span><span class="nb">{</span>sdapsarray<span class="nb">}</span>
87
88 <span class="k">\hrule</span>
89
90 <span class="k">\begin</span><span class="nb">{</span>sdapsarray<span class="nb">}</span>[flip,align=testing]
91 row header <span class="nb">&amp;</span> colum header <span class="nb">&amp;</span> colum header <span class="k">\\</span>
92 row header <span class="nb">&amp;</span> cell 1 <span class="nb">&amp;</span> cell 2 <span class="k">\\</span>
93 row header <span class="nb">&amp;</span> cell 3 <span class="nb">&amp;</span> cell 4
94 <span class="k">\end</span><span class="nb">{</span>sdapsarray<span class="nb">}</span>
95 </pre></div>
96 </div><div class="content-rendering">
97 <p><img src="_images/sdaps-8135129e3e381ce7e0709470caae15933f3f1578.svg" alt="The following two \texttt{sdapsarray} environments are almost identical. They
98 are both aligned to each other because the \texttt{align} option is set to
99 the same value. In the second environment the rows and columnes are swapped
100 by setting the \texttt{flip} option.
101
102 \begin{sdapsarray}[align=testing]
103 row header &amp; colum header &amp; colum header \\
104 row header &amp; cell 1 &amp; cell 2 \\
105 row header &amp; cell 3 &amp; cell 4
106 \end{sdapsarray}
107
108 \hrule
109
110 \begin{sdapsarray}[flip,align=testing]
111 row header &amp; colum header &amp; colum header \\
112 row header &amp; cell 1 &amp; cell 2 \\
113 row header &amp; cell 3 &amp; cell 4
114 \end{sdapsarray}" /></p>
115 </div></div><p class="caption">Example of a sdapsarray environment</p></div><div class="figure">
116 <div class="tabs">
117 <input type="radio" id="tab-code-11" class="tab-code" name="tab-group-11" ><label for="tab-code-11" class="label-code">Example LaTeX code</label><input type="radio" id="tab-rendering-11" class="tab-rendering" name="tab-group-11" checked><label for="tab-rendering-11" class="label-rendering">Result</label><div class="content-code">
118 <div class="highlight"><pre><span></span><span class="k">\begin</span><span class="nb">{</span>multicols<span class="nb">}{</span>2<span class="nb">}</span>
119 <span class="k">\begin</span><span class="nb">{</span>sdapsarray<span class="nb">}</span>[align=testing,layouter=rotated]
120 colum header 0 <span class="nb">&amp;</span> colum header 1 <span class="nb">&amp;</span> colum header 2 <span class="k">\\</span>
121 row header 1 <span class="nb">&amp;</span> cell 1 <span class="nb">&amp;</span> cell 2 <span class="k">\\</span>
122 row header 2 <span class="nb">&amp;</span> cell 3 <span class="nb">&amp;</span> cell 4 <span class="k">\\</span>
123 row header 3 <span class="nb">&amp;</span> cell 5 <span class="nb">&amp;</span> cell 6 <span class="k">\\</span>
124 row header 4 <span class="nb">&amp;</span> cell 7 <span class="nb">&amp;</span> cell 8 <span class="k">\\</span>
125 row header 5 <span class="nb">&amp;</span> cell 9 <span class="nb">&amp;</span> cell 10 <span class="k">\\</span>
126 row header 6 <span class="nb">&amp;</span> cell 11 <span class="nb">&amp;</span> cell 12
127 <span class="k">\end</span><span class="nb">{</span>sdapsarray<span class="nb">}</span>
128 <span class="k">\end</span><span class="nb">{</span>multicols<span class="nb">}</span>
129 </pre></div>
130 Required code in preamble:<div class="highlight"><pre><span></span><span class="k">\usepackage</span><span class="nb">{</span>multicol<span class="nb">}</span>
131 </pre></div>
132 </div><div class="content-rendering">
133 <p><img src="_images/sdaps-8e319298bf95b525fb49d3908de87f9b64b7a1b7.svg" alt="\begin{multicols}{2}
134 \begin{sdapsarray}[align=testing,layouter=rotated]
135 colum header 0 &amp; colum header 1 &amp; colum header 2 \\
136 row header 1 &amp; cell 1 &amp; cell 2 \\
137 row header 2 &amp; cell 3 &amp; cell 4 \\
138 row header 3 &amp; cell 5 &amp; cell 6 \\
139 row header 4 &amp; cell 7 &amp; cell 8 \\
140 row header 5 &amp; cell 9 &amp; cell 10 \\
141 row header 6 &amp; cell 11 &amp; cell 12
142 \end{sdapsarray}
143 \end{multicols}" /></p>
144 </div></div><p class="caption">Example of a sdapsarray environment split over two columns using multicols</p></div><div class="section" id="layout-and-formatting-considerations">
145 <h2>Layout and formatting considerations<a class="headerlink" href="#layout-and-formatting-considerations" title="Permalink to this headline">¶</a></h2>
146 <p>The following hold true inside the environment:</p>
147 <ul class="simple">
148 <li><p>The row headers are set into a <code class="xref tex tex-macro docutils literal notranslate"><span class="pre">\vtop</span></code> with the left over width from
149 the cells. This vertical box is later re-set into a <code class="xref tex tex-macro docutils literal notranslate"><span class="pre">\vbox</span></code>. The
150 effect is that the interrow skip is calculated between the last element of
151 the previous row and the first element of the next row. this means you must
152 be careful to not insert invisible content at the start of the vertical box.
153 (e.g. by adding a <code class="xref tex tex-macro docutils literal notranslate"><span class="pre">\leavevmode</span></code>).</p></li>
154 <li><p>The exception to the above rule is the start of the environment (i.e. the
155 header row) for which the top baseline information is (currently) discarded!</p></li>
156 <li><p>Each cell is set into an <code class="xref tex tex-macro docutils literal notranslate"><span class="pre">\hbox</span></code> with the last skip in the box removed
157 again (i.e. trailing space). You can use <code class="xref tex tex-macro docutils literal notranslate"><span class="pre">\hfill</span></code> to align the box to
158 the left/right but need to prevent the <code class="xref tex tex-macro docutils literal notranslate"><span class="pre">\hfill</span></code> to be removed again
159 for left alignment (e.g. by adding a <code class="docutils literal notranslate"><span class="pre">\kern</span> <span class="pre">0pt</span></code>).</p></li>
160 <li><p>Column headers behave like cells but a special layouter can be assigned to
161 them.</p></li>
162 <li><p>Row headers and column headers will usually be set on a common baseline. The
163 exception to this is if the column header contains multiple boxes/lines. In
164 that case the cells will be centered ignoring the baselines of both cells
165 and row header.</p></li>
166 <li><p>A penalty of 10 is inserted between rows.</p></li>
167 </ul>
168 </div>
169 <div class="section" id="sdapsarray-environment">
170 <h2>sdapsarray environment<a class="headerlink" href="#sdapsarray-environment" title="Permalink to this headline">¶</a></h2>
171 <dl class="tex environ">
172 <dt id="sdapsarray">
173 <em class="property">\begin{</em><code class="sig-name descname">sdapsarray</code><em class="property">}</em><span class="sig"> <span class="sig-paren">[</span><em>kwargs</em><span class="sig-paren">]</span></span><br/><span class="sig"> content with cells delimitted with &amp; and \
174 </span><br/><em class="property">\end{</em><code class="sig-name descname">sdapsarray</code><em class="property">}</em><a class="headerlink" href="#sdapsarray" title="Permalink to this definition">¶</a></dt>
175 <dd><dl class="field-list simple">
176 <dt class="field-odd">Keyword Arguments</dt>
177 <dd class="field-odd"><ul class="simple">
178 <li><p><strong>flip</strong> – Transpose array making rows to columns (default: <code class="docutils literal notranslate"><span class="pre">false</span></code>)</p></li>
179 <li><p><strong>layouter</strong> – <p>The layouter to use. New layouters can be defined, the following
180 exists by default:</p>
181 <ul>
182 <li><p><code class="docutils literal notranslate"><span class="pre">default</span></code>: Simple layout centering cells and giving all leftover space to the row
183 header which will line break automatically (this is the default)</p></li>
184 <li><p><code class="docutils literal notranslate"><span class="pre">rotated</span></code>: Similar to default but rotates the column headers</p></li>
185 </ul>
186 </p></li>
187 <li><p><strong>angle</strong> – The angle of the header when in <code class="docutils literal notranslate"><span class="pre">rotated</span></code> mode</p></li>
188 <li><p><strong>align</strong> – An arbitrary string to align multiple <a class="reference internal" href="#sdapsarray" title="sdapsarray"><code class="xref tex tex-environ docutils literal notranslate"><span class="pre">sdapsarray</span></code></a> environments
189 to each other. All environments with the same string will be
190 aligned. (default: no alignment)</p></li>
191 <li><p><strong>keepenv</strong> – Do not modify the parser to consume <code class="docutils literal notranslate"><span class="pre">&amp;</span></code> and <code class="docutils literal notranslate"><span class="pre">\\</span></code> for alignment.
192 Instead, the user must use <a class="reference internal" href="#\sdaps_array_alignment:" title="\sdaps_array_alignment:"><code class="xref tex tex-macro docutils literal notranslate"><span class="pre">\sdaps_array_alignment:</span></code></a> and <a class="reference internal" href="#\sdaps_array_newline:" title="\sdaps_array_newline:"><code class="xref tex tex-macro docutils literal notranslate"><span class="pre">\sdaps_array_newline:</span></code></a>.
193 This is only useful for writing custom environments which use <a class="reference internal" href="#sdapsarray" title="sdapsarray"><code class="xref tex tex-environ docutils literal notranslate"><span class="pre">sdapsarray</span></code></a> internally.
194 Normal users should simply put any nested <cite>array</cite> environment into <a class="reference internal" href="#\sdapsnested" title="\sdapsnested"><code class="xref tex tex-macro docutils literal notranslate"><span class="pre">\sdapsnested</span></code></a>
195 to prevent issues (see below).</p></li>
196 <li><p><strong>no_header</strong> – Disable column header handling and repeating. Note that this
197 setting is independent of whether the <code class="docutils literal notranslate"><span class="pre">flip</span></code> option is set. As such, one may
198 need to take its value into account when setting it. (default: <code class="docutils literal notranslate"><span class="pre">false</span></code>)</p></li>
199 <li><p><strong>colsep</strong> – Spacing added on the left/right of every cell. This defaults to <cite>6pt</cite>.</p></li>
200 <li><p><strong>rowsep</strong> – Extra spacing added between rows. This defaults to <cite>0pt</cite>.</p></li>
201 </ul>
202 </dd>
203 </dl>
204 <p>The <code class="docutils literal notranslate"><span class="pre">keepenv</span></code> option should usually not be used by an end user writing a document, it is very useful
205 when writing environments which use <a class="reference internal" href="#sdapsarray" title="sdapsarray"><code class="xref tex tex-environ docutils literal notranslate"><span class="pre">sdapsarray</span></code></a> internally (like <a class="reference internal" href="sdapslayout.html#choicearray" title="choicearray"><code class="xref tex tex-environ docutils literal notranslate"><span class="pre">choicearray</span></code></a>).</p>
206 <dl class="tex macro">
207 <dt id="\sdapsnested">
208 <code class="sig-name descname">\sdapsnested</code><span class="sig"> <span class="sig-paren">{</span><em>content</em><span class="sig-paren">}</span></span><a class="headerlink" href="#\sdapsnested" title="Permalink to this definition">¶</a></dt>
209 <dd><p>Reverts the <code class="docutils literal notranslate"><span class="pre">&amp;</span></code> and <code class="docutils literal notranslate"><span class="pre">\\</span></code> to their original meaning. Content in an
210 <a class="reference internal" href="#sdapsarray" title="sdapsarray"><code class="xref tex tex-environ docutils literal notranslate"><span class="pre">sdapsarray</span></code></a> environment can be wrapped with this if it requires
211 these characters to be active (i.e. you can use the <code class="docutils literal notranslate"><span class="pre">array</span></code> environment
212 this way for example).</p>
213 </dd></dl>
214
215 <dl class="tex macro">
216 <dt id="\sdaps_array_alignment:">
217 <code class="sig-name descname">\sdaps_array_alignment:</code><a class="headerlink" href="#\sdaps_array_alignment:" title="Permalink to this definition">¶</a></dt>
218 <dd><p>Alternative to using the <code class="docutils literal notranslate"><span class="pre">&amp;</span></code> delimiter between cells. This is useful together
219 with the <code class="docutils literal notranslate"><span class="pre">keepenv</span></code> kwarg argument. In particular when creating custom environments
220 which use sdapsarray internally.</p>
221 </dd></dl>
222
223 <dl class="tex macro">
224 <dt id="\sdaps_array_newline:">
225 <code class="sig-name descname">\sdaps_array_newline:</code><a class="headerlink" href="#\sdaps_array_newline:" title="Permalink to this definition">¶</a></dt>
226 <dd><p>Alternative to using the <code class="docutils literal notranslate"><span class="pre">\\</span></code> delimiter between cells. This is useful together
227 with the <code class="docutils literal notranslate"><span class="pre">keepenv</span></code> kwarg argument. In particular when creating custom environments
228 which use sdapsarray internally.</p>
229 </dd></dl>
230
231 <div class="figure">
232 <div class="tabs">
233 <input type="radio" id="tab-code-12" class="tab-code" name="tab-group-12" ><label for="tab-code-12" class="label-code">Example LaTeX code</label><input type="radio" id="tab-rendering-12" class="tab-rendering" name="tab-group-12" checked><label for="tab-rendering-12" class="label-rendering">Result</label><div class="content-code">
234 <div class="highlight"><pre><span></span><span class="k">\begin</span><span class="nb">{</span>multicols<span class="nb">}{</span>2<span class="nb">}</span>
235 <span class="k">\begin</span><span class="nb">{</span>sdapsarray<span class="nb">}</span>
236 <span class="nb">&amp;</span> col 1 <span class="nb">&amp;</span> col 2 <span class="k">\\</span>
237 row header 1 <span class="nb">&amp;</span> <span class="k">\sdapsnested</span><span class="nb">{</span><span class="s">$</span><span class="nb"> </span><span class="nv">\begin</span><span class="nb">{array}{cc} a &amp; b </span><span class="nv">\\</span><span class="nb"> c &amp; d </span><span class="nv">\end</span><span class="nb">{array}</span><span class="s">$</span><span class="nb">}</span> <span class="nb">&amp;</span> cell 2 <span class="k">\\</span>
238 <span class="k">\verb</span><span class="nb">^</span>row<span class="nb">_</span>header<span class="nb">^</span> <span class="nb">&amp;</span> cell 3 <span class="nb">&amp;</span> cell 4
239 <span class="k">\end</span><span class="nb">{</span>sdapsarray<span class="nb">}</span>
240
241 <span class="k">\begin</span><span class="nb">{</span>sdapsarray<span class="nb">}</span>[keepenv]
242 <span class="k">\sdapsalignment</span> col 1 <span class="k">\sdapsalignment</span> col 2 <span class="k">\sdapsnewline</span>
243 row header 1 <span class="k">\sdapsalignment</span> <span class="s">$</span><span class="nb"> </span><span class="nv">\begin</span><span class="nb">{array}{cc} a &amp; b </span><span class="nv">\\</span><span class="nb"> c &amp; d </span><span class="nv">\end</span><span class="nb">{array}</span><span class="s">$</span> <span class="k">\sdapsalignment</span> cell 2 <span class="k">\sdapsnewline</span>
244 <span class="k">\verb</span><span class="nb">^</span>row<span class="nb">_</span>header<span class="nb">^</span> <span class="k">\sdapsalignment</span> cell 3 <span class="k">\sdapsalignment</span> cell 4
245 <span class="k">\end</span><span class="nb">{</span>sdapsarray<span class="nb">}</span>
246 <span class="k">\end</span><span class="nb">{</span>multicols<span class="nb">}</span>
247 </pre></div>
248 Required code in preamble:<div class="highlight"><pre><span></span><span class="k">\usepackage</span><span class="nb">{</span>multicol<span class="nb">}</span>
249 <span class="c">% Wrap the commands with _ as we cannot use them directly. This needs to</span>
250 <span class="c">% be a \def and not a \let because they are redefined dynamically internally.</span>
251 <span class="k">\ExplSyntaxOn</span>
252 <span class="k">\def\sdapsalignment</span><span class="nb">{</span><span class="k">\sdaps</span><span class="nb">_</span>array<span class="nb">_</span>alignment:<span class="nb">}</span>
253 <span class="k">\def\sdapsnewline</span><span class="nb">{</span><span class="k">\sdaps</span><span class="nb">_</span>array<span class="nb">_</span>newline:<span class="nb">}</span>
254 <span class="k">\ExplSyntaxOff</span>
255 </pre></div>
256 </div><div class="content-rendering">
257 <p><img src="_images/sdaps-f7dfb3852940c0fc6d67392eafbf34972f585f86.svg" alt="\begin{multicols}{2}
258 \begin{sdapsarray}
259 &amp; col 1 &amp; col 2 \\
260 row header 1 &amp; \sdapsnested{$ \begin{array}{cc} a &amp; b \\ c &amp; d \end{array}$} &amp; cell 2 \\
261 \verb^row_header^ &amp; cell 3 &amp; cell 4
262 \end{sdapsarray}
263
264 \begin{sdapsarray}[keepenv]
265 \sdapsalignment col 1 \sdapsalignment col 2 \sdapsnewline
266 row header 1 \sdapsalignment $ \begin{array}{cc} a &amp; b \\ c &amp; d \end{array}$ \sdapsalignment cell 2 \sdapsnewline
267 \verb^row_header^ \sdapsalignment cell 3 \sdapsalignment cell 4
268 \end{sdapsarray}
269 \end{multicols}" /></p>
270 </div></div><p class="caption">Two sdapsarray environments each with a nested array, in one case using the keepenv option.</p></div></dd></dl>
271
272 </div>
273 <div class="section" id="defining-a-custom-layouter">
274 <h2>Defining a custom layouter<a class="headerlink" href="#defining-a-custom-layouter" title="Permalink to this headline">¶</a></h2>
275 <div class="admonition warning">
276 <p class="admonition-title">Warning</p>
277 <p>This is an advanced feature and its use a good or even in depth knowledge of how TeX processes boxes and input!</p>
278 </div>
279 <p>It is possible to register further <code class="docutils literal notranslate"><span class="pre">layouter</span></code>
280 which can subsequently used throughout the document. These layouters need to
281 adhere to a number of rules which will not be explained in detail here.</p>
282 <p>The following code is a copy of the two predefined layouter not showing the
283 implementation of the different macros. Visible here is that they only differ
284 in the method to render the column header <code class="docutils literal notranslate"><span class="pre">colhead</span></code>, all other methods are
285 identical.</p>
286 <div class="highlight-default notranslate"><div class="highlight"><pre><span></span>\<span class="n">prop_gput</span><span class="p">:</span><span class="n">Nnn</span> \<span class="n">g__sdaps_array_layouter_prop</span> <span class="p">{</span> <span class="n">default</span> <span class="p">}</span> <span class="p">{</span>
287 <span class="n">begin</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_begin_default</span><span class="p">:</span> <span class="p">},</span>
288 <span class="n">row_start</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_row_start_default</span><span class="p">:</span> <span class="p">},</span>
289 <span class="n">rowhead</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_rowhead_default</span><span class="p">:</span><span class="n">Nw</span> <span class="p">},</span>
290 <span class="n">colhead</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_cell_default</span><span class="p">:</span><span class="n">Nw</span> <span class="p">},</span>
291 <span class="n">cell</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_cell_default</span><span class="p">:</span><span class="n">Nw</span> <span class="p">},</span>
292 <span class="n">row</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_row_ltr</span><span class="p">:</span><span class="n">NNNN</span> <span class="p">},</span>
293 <span class="n">end</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_end_default</span><span class="p">:</span> <span class="p">},</span>
294 <span class="p">}</span>
295
296 \<span class="n">prop_gput</span><span class="p">:</span><span class="n">Nnn</span> \<span class="n">g__sdaps_array_layouter_prop</span> <span class="p">{</span> <span class="n">rotated</span> <span class="p">}</span> <span class="p">{</span>
297 <span class="n">begin</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_begin_default</span><span class="p">:</span> <span class="p">},</span>
298 <span class="n">row_start</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_row_start_default</span><span class="p">:</span> <span class="p">},</span>
299 <span class="n">rowhead</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_rowhead_default</span><span class="p">:</span><span class="n">Nw</span> <span class="p">},</span>
300 <span class="n">colhead</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_cell_rotated</span><span class="p">:</span><span class="n">Nw</span> <span class="p">},</span>
301 <span class="n">cell</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_cell_default</span><span class="p">:</span><span class="n">Nw</span> <span class="p">},</span>
302 <span class="n">row</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_row_ltr</span><span class="p">:</span><span class="n">NNNN</span> <span class="p">},</span>
303 <span class="n">end</span> <span class="o">=</span> <span class="p">{</span> \<span class="n">_sdaps_array_end_default</span><span class="p">:</span> <span class="p">},</span>
304 <span class="p">}</span>
305 </pre></div>
306 </div>
307 <p>If you consider modifying the layouter, then please have a look at the relevant
308 parts of <code class="docutils literal notranslate"><span class="pre">sdapsarray.dtx</span></code>. Also, please consider submitting modifications for
309 upstream inclusion so that other people can benefit from new features.</p>
310 </div>
311 </div>
312
313
314 <div class="clearer"></div>
315 </div>
316 </div>
317 </div>
318 <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
319 <div class="sphinxsidebarwrapper">
320 <h3><a href="index.html">Table of Contents</a></h3>
321 <ul>
322 <li><a class="reference internal" href="#">sdapsarray package</a><ul>
323 <li><a class="reference internal" href="#layout-and-formatting-considerations">Layout and formatting considerations</a></li>
324 <li><a class="reference internal" href="#sdapsarray-environment">sdapsarray environment</a></li>
325 <li><a class="reference internal" href="#defining-a-custom-layouter">Defining a custom layouter</a></li>
326 </ul>
327 </li>
328 </ul>
329
330 <h4>Previous topic</h4>
331 <p class="topless"><a href="sdapspdf.html"
332 title="previous chapter">sdapspdf package</a></p>
333 <h4>Next topic</h4>
334 <p class="topless"><a href="sdapsbase.html"
335 title="next chapter">sdapsbase package</a></p>
336 <div role="note" aria-label="source link">
337 <h3>This Page</h3>
338 <ul class="this-page-menu">
339 <li><a href="_sources/sdapsarray.rst.txt"
340 rel="nofollow">Show Source</a></li>
341 </ul>
342 </div>
343 <div id="searchbox" style="display: none" role="search">
344 <h3 id="searchlabel">Quick search</h3>
345 <div class="searchformwrapper">
346 <form class="search" action="search.html" method="get">
347 <input type="text" name="q" aria-labelledby="searchlabel" />
348 <input type="submit" value="Go" />
349 </form>
350 </div>
351 </div>
352 <script>$('#searchbox').show(0);</script>
353 </div>
354 </div>
355 <div class="clearer"></div>
356 </div>
357 <div class="related" role="navigation" aria-label="related navigation">
358 <h3>Navigation</h3>
359 <ul>
360 <li class="right" style="margin-right: 10px">
361 <a href="genindex.html" title="General Index"
362 >index</a></li>
363 <li class="right" >
364 <a href="sdapsbase.html" title="sdapsbase package"
365 >next</a> |</li>
366 <li class="right" >
367 <a href="sdapspdf.html" title="sdapspdf package"
368 >previous</a> |</li>
369 <li class="nav-item nav-item-0"><a href="index.html">sdaps-class 0.1 documentation</a> &#187;</li>
370 <li class="nav-item nav-item-this"><a href="">sdapsarray package</a></li>
371 </ul>
372 </div>
373 <div class="footer" role="contentinfo">
374 &#169; Copyright 2016, Benjamin Berg.
375 Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 3.4.3.
376 </div>
377 </body>
378 </html>