Debian Codegraph @

texmf-dist/source/generic/schemata/schemata.dtx

raw
1 % \iffalse meta-comment
2 %
3 % Copyright (C) 2025 by Charles P. Schaum <charles[dot][email protected]>
4 % -----------------------------------------------
5 %
6 % This file may be distributed and/or modified under the
7 % conditions of the LaTeX Project Public License, either
8 % version 1.3 of this license or (at your option) any
9 % later version. The latest version of this license is in:
10 %
11 % http://www.latex-project.org/lppl.txt
12 %
13 % and version 1.3 or later is part of all distributions
14 % of LaTeX version 2005/12/01 or later.
15 %
16 % This work includes all source and generated files
17 % described as such in README.md, included herein.
18 %
19 % -----------------------------------------------
20 %
21 %<*internal>
22 \iffalse
23 %</internal>
24 %<*readme>
25 %<<readmevb
26 # 1 Short Description
27
28 The schemata package helps the creation of topical outlines that illustrate the breakdown of concepts and categories in academic texts from the late medieval to early modern periods.
29
30 # 2 Installing a Distro Package
31
32 One can find `nameauth` in one's current TeX distribution. See the appropriate documentation in TeXlive, MikTeX, MacTeX, Linux distro, BSD, etc. Use those tools to ensure that `nameauth` is installed. **You are done.**
33
34 # 3 Obtaining from CTAN
35
36 ## 3.1 Getting the Package Archive
37
38 If not using the tools above, one can download `schemata.zip` from [CTAN](https://mirrors.ctan.org/macros/generic/schemata.zip). After downloading, unpack `schemata.zip` in an appropriate directory. Change to the directory containing the supplied files. The following files are included in the archive that is uploaded to CTAN:
39
40 | Filename | Description |
41 | :--------------- | :-------------------------------------- |
42 | `schemata.dtx` | commented style file; source file |
43 | `Makefile` | For use with GNU make; with source file |
44 | `schemata.eps` | Image file for the manual; source file |
45 | `schemata.sty` | style file (generated file) |
46 | `schemata.pdf` | Documentation (generated file) |
47 | `README.md` | This file (generated file) |
48 | `schematest.tex` | Test file (generated file) |
49
50 ## 3.2 Determining the Installation type
51
52 ### 3.2.1 Read `Makefile` First
53
54 `Makefile` has an extensive comment on usage, as well as other helpful comments. It lists all required programs needed to use the GNU make file for installation in a POSIX-compliant environment, such as GNU/Linux, various BSDs, MacOS, and WSL or Cygwin on Windows.
55
56 Minimum required programs include `bash` or an equivalent shell (for which one must edit `Makefile`), and `make`, plus a TeX distribution. To distribute the package, one also requires at least `sed`, and `zip`.
57
58 ### 3.2.2 POSIX Cases
59
60 If one is using a TeX distribution in a POSIX environment (MacOS, Linux distro, BSD, etc.) and has the required programs listed in `Makefile`, one may do one of the following:
61
62 1. Use GNU make to build and install. **Section 4.1**
63
64 2. Build and install manually. **Section 4.2**
65
66 ### 3.2.3 Windows Cases
67
68 Windows offers the largest number of possibilities:
69
70 * Cygwin offers a POSIX environment and its own TeX distribution. Avoid installing another TeX distro via WSL or Windows native. **Section 4.1**
71
72 * WSL offers a POSIX environment and its own TeX distribution. Avoid installing another TeX distro via Cygwin or Windows native. **Section 4.1**
73
74 * Use `make` within either Cygwin or WSL to build this package for native Windows TeX distributions MikTeX or TeXlive. Install needed build components in either Cygwin or WSL, alongside either MikTeX or TeXlive, but not both distros. Avoid installing another TeX distro in either Cygwin or WSL.
75
76 * One can use `make` to build this package. **Section 4.1.1**
77
78 * Installation must be manual. **Section 4.2.2**
79
80 * Directly using native Windows TeX distributions (MikTeX or TeXlive)
81
82 All building and installation must be manual. **Section 4.2**
83
84 * Other POSIX environments running under DOS, Windows, and other systems have not been tested and are not supported.
85
86 * `Makefile` contains tests that will mitigate some issues:
87
88 * If a `.exe` extension is needed by programs used in the building process, that is detected automatically.
89
90 * If `ltxfileinfo` does not exist, the make process will produce a zip file that avoids potential problems in Windows.
91
92 * If `dvipdf` from Ghostscript is installed in a non-Windows environment, the make process will use that. Otherwise it will fall back to `dvipdfmx`.
93
94 * When installing, the make process will check if the path to the install directory exists. If it does not, it will produce an error message and exit.
95
96 If this error message occurs, which is more likely in Windows, please refer to installation of local packages in MikTeX [here](https://docs.miktex.org/manual/localadditions.html#id573803) and [here](https://miktex.org/kb/texmf-roots). Otherwise see the [TeX FAQ](https://www.texfaq.org/FAQ-privinst) and [this page](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages).
97
98 Here is a table showing the feasibility of a few scenarios. Any case that is not mentioned below has not been tested and is not recommended.
99
100 | Build Env. | TeX Distro Platform | Make builds pkg/zip | Make installs package |
101 | :--------- | :------------------ | :----------------------------- | :------------------------------ |
102 | POSIX | POSIX | Yes<sup>1</sup> | Yes |
103 | Cygwin | Cygwin (packages) | Not tested; likely<sup>1</sup> | Not tested; likely <sup>2</sup> |
104 | Cygwin | MikTeX (Windows) | Yes<sup>1, 3</sup> | No;<sup>4</sup> do manually |
105 | Cygwin | TeXlive (Windows) | Not tested; likely<sup>1</sup> | Not tested; do manually |
106 | WSL | WSL Linux packages | Yes<sup>1</sup> | Yes<sup>5</sup> |
107 | WSL | MikTeX (Windows) | Yes<sup>1, 3</sup> | No;<sup>4</sup> do manually |
108 | WSL | TeXlive (Windows) | Not tested; likely<sup>1</sup> | Not tested; do manually |
109
110 <sup>1</sup> All dependencies must be met. Bear in mind possible MacOS issues.
111
112 <sup>2</sup> Installs only to Cygwin environment; not to Windows environment.
113
114 <sup>3</sup> The `make images` target using `pdfjam` likely will not work as desired. **Section 6.2.3 Images**
115
116 <sup>4</sup> Neither `ltxfileinfo` nor `kpsewhich` will give useful results; do a manual install.
117
118 <sup>5</sup> Installs only to WSL Linux distro environment; not to Windows environment.
119
120 # 4 Building and Installing
121
122 Regarding command line options longer than one letter, the programs included with major TeX distributions use either single dashes or GNU-style double dashes.
123
124 Here, for the sake of consistency, we use the GNU convention of single dashes with one-letter options and double dashes for longer options.
125
126 ## 4.1 GNU `make` for Building and Installation
127
128 ### 4.1.1 Build
129
130 In the directory where the files unpacked from the zip archive are located, type `make`. This will do a fresh build of the package using `pdflatex`. To add more options, use, e.g.: `make ADDOPTS="--synctex=1"`.
131
132 There is a make target, `make unpack`, that does not build the package. It only regenerates files from `schemata.dtx`.
133
134 ### 4.1.2 Install
135
136 Currently, `Makefile` only installs into POSIX environments.
137
138 For individual use, one must have a TDS-compliant tree set up in order for installation to work. For more info in setting up those trees, see **Section 4.2.3** for the individual case and **Section 4.2.4** for the site-wide case.
139
140 For site-wide use, one must be able to get root privileges via `sudo`.
141
142 * Type `make inst` to install the package files in the user's personal TDS-compliant directory tree.
143
144 * Type `make install` to install the package files in the site-wide, local TDS-compliant directory tree. The user will be prompted for the `sudo` password.
145
146 ### 4.1.3 Remove
147
148 The same constraints that apply to installation also apply to removal. If one can do the former, one can do the latter.
149
150 * Type `make uninst` to remove the package files in the user's personal TDS-compliant directory tree.
151
152 * Type `make uninstall` to remove the package files in the site-wide, local TDS-compliant directory tree. The user will be prompted for the `sudo` password.
153
154 `Makefile` will produce listings from the remaining texmf trees after uninstalling the package.
155
156 ## 4.2 Manual Building and Installation
157
158 Unlike the case with the supplied `Makefile`, which automates adding extensions, in certain cases using Windows TeX distros, one may have to add the ".exe" extension to the programs.
159
160 ### 4.2.1 Build
161
162 1. Using the unpacked files from the zip archive, we begin by creating the installation driver, unpacking additional files from `schemata.dtx`, and generating a copy of the documentation without the table of contents and cross-references:
163
164 pdflatex --shell-escape --recorder --interaction=batchmode schemata.dtx
165
166 a. We see the following main files:
167
168 `Makefile`, `README.md`, `schemata.dtx`, `schemata.eps`, `schemata.ins`, `schemata.pdf`, `schemata.sty`, and `schematest.tex`.
169
170 b. We also see the following temporary files:
171
172 `schemata.aux`, `schemata.fls`, `schemata.glo`, `schemata.hd`, `schemata.idx`, `schemata.log`, `schemata.out`, `schemata.tmp`, and `schemata.toc`; also `schemata-eps-converted-to.pdf`.
173
174 2. Generate the TOC and cross-references within the documentation:
175
176 pdflatex --recorder --interaction=nonstopmode schemata.dtx
177
178 3. Generate the index and glossary files using `makeindex`:
179
180 makeindex -q -s gglo.ist -o schemata.gls schemata.glo
181 makeindex -q -s gind.ist -o schemata.ind schemata.idx
182
183 This adds three files: `schemata.gls`, `schemata.ilg`, and `schemata.ind`.
184
185 4. Integrate the glossary (list of changes) and index into the documentation. The second run updates the TOC:
186
187 pdflatex --recorder --interaction=nonstopmode schemata.dtx
188 pdflatex --recorder --interaction=nonstopmode schemata.dtx
189
190 The list of files now looks like:
191
192 | Filename | Description |
193 | :--------------- | :----------------------------- |
194 | `Makefile` | for use with GNU make |
195 | `schemata.dtx` | commented style file |
196 | `schemata.eps` | Image file used for the manual |
197 | | |
198 | `README.md` | this file |
199 | `schemata.pdf` | package documentation |
200 | `schematest.tex` | test file |
201 | | |
202 | `schemata.ins` | installation driver |
203 | `schemata.sty` | style file |
204 | | |
205 | `schemata.aux` | auxiliary file |
206 | `schemata.fls` | shows files read |
207 | `schemata.glo` | raw glossary entries |
208 | `schemata.gls` | typeset glossary entries |
209 | `schemata.hd` | |
210 | `schemata.idx` | raw index entries |
211 | `schemata.ilg` | `makeindex` log file |
212 | `schemata.ind` | typeset index entries |
213 | `schemata.log` | log file |
214 | `schemata.out` | pdf bookmark/hypertext info |
215 | `schemata.tmp` | temp file used with fancyvrb |
216 | `schemata.toc` | table of contents info |
217
218 Also, there is the automatically-generated `schemata-eps-converted-to.pdf`.
219
220 ### 4.2.2 General Install Info
221
222 In order to perform manual installation, one should be familiar with the general information at the [TeX FAQ](https://www.texfaq.org/FAQ-installthings).
223
224 Different TeX distributions have somewhat different ways to store TDS-compliant configuration and package data. See, for example, for MikTeX [here](https://docs.miktex.org/manual/localadditions.html#id573803) and [here](https://miktex.org/kb/texmf-roots). Otherwise see the [TeX FAQ](https://www.texfaq.org/FAQ-privinst) and [this page](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages).
225
226 The instructions below conform generally to a Unix-like system. There are some cases under Windows where this method may not work. For other non-POSIX systems, one will have to know the appropriate procedures and documentation as needed for those cases, which are not covered here.
227
228 The user must already have a TDS-compliant tree set up in order for installation to work. We assume that one knows how to become superuser, create directories, move files, and the like.
229
230 ### 4.2.3 Install for a User
231
232 `TEXMFHOME` is an environment (shell) variable that points to the root of a TDS-compliant directory tree available to a user. To get its value on POSIX-compliant systems, use:
233
234 * `kpsewhich --var-value TEXMFHOME`
235
236 Quite often, `$TEXMFHOME` is equivalent to `$HOME/texmf`. The dollar sign in front of the variable denotes the value of the variable instead of its name. If `$HOME` is `/home/bob`, then `$TEXMFHOME` would be `/home/bob/texmf`. We can understand the following paths to be under this home directory.
237
238 | Path | Files |
239 | :----------------------------------- | :--------------- |
240 | `$TEXMFHOME/source/generic/schemata` | `schemata.ins` |
241 | | `schemata.dtx` |
242 | | `schemata.eps` |
243 | | `Makefile` |
244 | | |
245 | `$TEXMFHOME/tex/generic/schemata` | `schemata.sty` |
246 | | |
247 | `$TEXMFHOME/doc/generic/schemata` | `schemata.pdf` |
248 | `$TEXMFHOME/doc/generic/schemata` | `README.md` |
249 | `$TEXMFHOME/doc/generic/schemata` | `schematest.tex` |
250
251 Create the directories in the left-hand column, or the equivalent. For manual installation, move or copy the files in the right-hand column to their respective directories in the left-hand column. On older TeX distributions, run `mktexlsr` on `$TEXMFHOME` to complete the install process (current distributions may not need this).
252
253 ### 4.2.4 Install Site-Wide
254
255 `TEXMFLOCAL` is a variable that points to the root of a TDS-compliant directory tree available to all users on a local site, system-wide installation. To get its value, use:
256
257 * `kpsewhich --var-value TEXMFLOCAL`
258
259 See the [TeX FAQ](https://www.texfaq.org/FAQ-what-TDS). We can understand the following paths to be under this local site, system-wide directory:
260
261 | Path | Files |
262 | :------------------------------------ | :--------------- |
263 | `$TEXMFLOCAL/source/generic/schemata` | `schemata.ins` |
264 | | `schemata.dtx` |
265 | | `schemata.eps` |
266 | | `Makefile` |
267 | | |
268 | `$TEXMFLOCAL/tex/generic/schemata` | `schemata.sty` |
269 | | |
270 | `$TEXMFLOCAL/doc/generic/schemata` | `schemata.pdf` |
271 | | `README.md` |
272 | | `schematest.tex` |
273
274 Create the directories in the left-hand column. For manual installation, move or copy the files in the right-hand column to their respective directories in the left-hand column. Change file ownership as needed. If needed, run `mktexlsr` with the appropriate permissions on `$TEXMFLOCAL` to complete the install process. See also the discussion on [this page](https://tex.stackexchange.com/questions/45231/how-to-install-system-wide-packages-without-requiring-an-ls-r-database-with-tex).
275
276 # 5 More on Package Building
277
278 * The package and manual build on current and older TeX distributions, being designed with that in mind.
279
280 * The documentation is built only with `pdflatex`. The test file can generate output with multiple formats.
281
282 * This release was tested on Linux (Pop! OS; vanilla TL, both current and 2017) and Windows 10 (MikTeX using shells from both Cygwin and WSL).
283
284 * The CTAN release was created with the current vanilla TL on Pop! OS. See also [this page](https://wiki.debian.org/TeXLive) for Debian-based systems. For Arch-based systems, the AUR has a package that takes care of dependencies.
285
286 * TeXlive versions are managed on Pop! OS using [tl-switch](https://github.com/ServusCarolus/tl-switch).
287
288 # 6 Testing
289
290 The file `schematest.tex` is designed to test this package on a wide variety of formats.
291
292 To test `schemata`, either test the files right after installing, or create a new testing directory. One then can copy the files from the TDS-compliant source dir and optionally, the documentation directory as well, or unpack the CTAN zip file into the test directory and build the package.
293
294 ## 6.1 Using GNU `make`
295
296 The make file will not allow `make` to process `dvilualatex` as a target. For caveats regarding the `eplain` target, see below.
297
298 * Type `make test` to use `pdflatex` and Greek via `babel`.
299
300 * If one wants to change engines and re-test, type `make testclean`.
301
302 * One can add the value of ENGINE:
303
304 For Greek via `polyglossia`; requires `GFSDidot.otf`:
305 :
306 make test ENGINE=xelatex
307 make test ENGINE=lualatex
308
309 For Greek via `babel`:
310 make test ENGINE=pdflatex (default)
311 make test ENGINE=latex
312
313 For transliterated Greek:
314 make test ENGINE=tex
315 make test ENGINE=luatex
316 make test ENGINE=dviluatex
317 make test ENGINE=xetex
318 make test ENGINE=eplain
319 make test ENGINE=lollipop
320
321 * The `eplain` executable may not exist in some TeX distributions. If this is the case, `make` will use `pdftex` to load the eplain macros and process the test files.
322
323 * To add more options, use, e.g.:
324
325 make test ADDOPTS="--synctex=1"
326
327 ## 6.2 Manual Method
328
329 Using `dvilualatex` has more complicated setup prerequisites that go beyond the scope of this document. One would have to install TFM files generated from `GFSDidot.otf` or use a different font.
330
331 * Compile `schematest.tex`.
332
333 Shows Greek text via `polyglossia`; requires `GFSDidot.otf`:
334
335 lualatex --interaction=nonstopmode schematest
336 xelatex --interaction=nonstopmode schematest
337
338 Shows Greek text via `babel`:
339
340 latex --interaction=nonstopmode schematest
341 pdflatex --interaction=nonstopmode schematest
342
343 Shows transliterated Greek:
344
345 tex --interaction=nonstopmode schematest
346 pdftex --interaction=nonstopmode schematest
347 luatex --interaction=nonstopmode schematest
348 dviluatex --interaction=nonstopmode schematest
349 xetex --interaction=nonstopmode schematest
350
351 eplain --interaction=nonstopmode schematest
352
353 lollipop --interaction=nonstopmode schematest
354
355 * If `eplain` is not available as a command in the shell, one can invoke `pdftex` thus:
356
357 $ pdftex
358 This is pdfTeX, Version 3.141592653-2.6-1.40.28 (TeX Live 2025) (preloaded format=pdftex)
359 restricted \write18 enabled.
360 **&eplain schematest
361
362 * Another step is used only when a `dvi` file is produced.
363
364 We default to `dvipdfmx` in case Ghostscript is not installed. If Ghostscript is already installed, one may be able to use `dvipdf` instead, but this can depend on one's system and TeX distribution. If a file `schematest.out.ps` exists, one may delete it after creating the pdf file.
365
366 dvipdfmx schematest
367
368 If one changes LaTeX engines, one first must remove all of the auxiliary files.
369
370 # 7 Copyright
371
372 Copyright (C) 2025 by Charles P. Schaum <charles[dot][email protected]>
373
374 This file may be distributed and/or modified under the
375 conditions of the LaTeX Project Public License, either
376 version 1.3 of this license or (at your option) any
377 later version. The latest version of this license is in:
378
379 [https://www.latex-project.org/lppl.txt](https://www.latex-project.org/lppl.txt)
380
381 and version 1.3 or later is part of all distributions
382 of LaTeX version 2005/12/01 or later.
383
384 This work includes all source and generated files
385 described as such in this file, README.md.
386 %readmevb
387 %</readme>
388 %<*internal>
389 \fi
390 \def\nameofplainTeX{plain}
391 \ifx\fmtname\nameofplainTeX\else
392 \expandafter\begingroup
393 \fi
394 %</internal>
395 %<*install>
396 \input docstrip.tex
397 \keepsilent
398 \askforoverwritefalse
399
400 \preamble
401
402 This is a generated file.
403
404 Copyright (C) 2025 by Charles P. Schaum <charles[dot][email protected]>
405
406 This file may be distributed and/or modified under the conditions of
407 the LaTeX Project Public License, either version 1.3 of this license
408 or (at your option) any later version. The latest version of this
409 license is in:
410
411 https://www.latex-project.org/lppl.txt
412
413 and version 1.3 or later is part of all distributions of LaTeX version
414 2005/12/01 or later.
415
416 \endpreamble
417
418 \usedir{tex/latex/nameauth}
419 \generate{
420 \file{\jobname.sty}{\from{\jobname.dtx}{package}}
421 }
422 %</install>
423 %<install>\endbatchfile
424 %<*internal>
425 \usedir{source/generic/schemata}
426 \generate{
427 \file{\jobname.ins}{\from{\jobname.dtx}{install}}
428 }
429 \usedir{doc/generic/schemata}
430 \nopostamble
431 \generate{
432 \file{schematest.tex}{\from{\jobname.dtx}{examples}}
433 }
434 \nopreamble
435 \generate{
436 \file{README.md}{\from{\jobname.dtx}{readme}}
437 }
438 \ifx\fmtname\nameofplainTeX
439 \expandafter\endbatchfile
440 \else
441 \expandafter\endgroup
442 \fi
443 %</internal>
444 % \fi
445 %
446 % \iffalse
447 %<*driver>
448 \ProvidesFile{schemata.dtx}
449 %</driver>
450 %
451 %<package>\expandafter\ifx \csname schemataLaTeX\endcsname\relax
452 %<package> \def\schemataLaTeX{LaTeX2e}\fi
453 %<package>\ifx\fmtname\schemataLaTeX
454 %<package>\expandafter\NeedsTeXFormat\expandafter{\schemataLaTeX}[2005/12/01]
455 %<package>\ProvidesPackage{schemata}
456 %<*package>
457 [2025/08/27 1.5 generic package to aid construction of topical categories]
458 %</package>
459 %<package>\else
460 %<package>\catcode`@=11\relax
461 %<package>\fi
462 %
463 %<*driver>
464 \documentclass[11pt]{ltxdoc}
465 %^^A Now only built with pdflatex.
466
467 %^^A Only load inputenc id on a sufficiently older distro.
468 \IfFileExists{utf8-2018.def}{}{\usepackage[utf8]{inputenc}}
469
470 %^^A Load polytonic Greek and US English.
471 \usepackage[T1]{fontenc}
472 \usepackage{lmodern}
473 \usepackage[polutonikogreek,american]{babel}
474 \newcommand{\gk}[1]{\foreignlanguage{polutonikogreek}{#1}}
475
476 \usepackage[textwidth=140mm,textheight=237mm,right=25mm,nohead]{geometry}
477 \usepackage{graphicx}
478 \usepackage{xcolor}
479 %^^A Dangerous bend ahead...
480 \usepackage{manfnt}
481 %^^A Use the MetaPost logo
482 \usepackage{mflogo}
483 \usepackage[toc]{multitoc}
484 \usepackage{\jobname}[2025/08/27]
485 \usepackage[numbered]{hypdoc}
486
487 \usepackage{fancyvrb}
488
489 %^^A Define fancyvrb defaults.
490 \fvset{gobble=2,numbers=left,fontsize=\small}
491
492 %^^A Display examples
493 \newcommand\DisplayEx[1][\empty]{%
494 \edef\arg{#1}%
495 \begin{minipage}{0.55\textwidth}
496 \ifx\arg\empty
497 \VerbatimInput[gobble=0]{\jobname.tmp}
498 \else
499 \VerbatimInput[gobble=0,#1]{\jobname.tmp}
500 \fi
501 \end{minipage}
502 \begin{minipage}{0.2\textwidth}
503 \input{\jobname.tmp}\medskip
504 \end{minipage}
505 }
506
507 %^^A Macros for marginalia.
508 \newcommand*\Warn{{\unless\ifinner\marginpar{\strut\small\raggedleft\dbend}\fi}}
509 \newcommand*\Info[1]{{\unless\ifinner\marginpar{\strut\small\raggedleft#1}\fi}}
510
511 \EnableCrossrefs
512 \CodelineIndex
513 \RecordChanges
514 \begin{document}
515 \DocInput{\jobname.dtx}
516 \end{document}
517 %</driver>
518 % \fi
519 %
520 % \CheckSum{642}
521 %
522 % \CharacterTable
523 % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
524 % Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
525 % Digits \0\1\2\3\4\5\6\7\8\9
526 % Exclamation \! Double quote \" Hash (number) \#
527 % Dollar \$ Percent \% Ampersand \&
528 % Acute accent \' Left paren \( Right paren \)
529 % Asterisk \* Plus \+ Comma \,
530 % Minus \- Point \. Solidus \/
531 % Colon \: Semicolon \; Less than \<
532 % Equals \= Greater than \> Question mark \?
533 % Commercial at \@ Left bracket \[ Backslash \\
534 % Right bracket \] Circumflex \^ Underscore \_
535 % Grave accent \` Left brace \{ Vertical bar \|
536 % Right brace \} Tilde \~}
537 %
538 %
539 % \changes{0.5}{2013/02/14}{Initial version}
540 % \changes{0.7}{2013/09/23}{Changed contact info}
541 % \changes{0.8}{2016/01/25}{Rewrote manual}
542 % \changes{1.0}{2020/03/13}{Ensure better multi-format operation}
543 % \changes{1.1}{2020/03/14}{Fix issue with \texttt{dtx} guards}
544 % \changes{1.2}{2020/11/23}{Updates to \texttt{Readme.md}, \texttt{Makefile}, \texttt{schematest.tex}, combine \texttt{Readme.md} and \texttt{schematest.tex} files in \texttt{dtx}}
545 % \changes{1.4}{2021/02/27}{Updates to \texttt{Readme.md}}
546 % \changes{1.5}{2025/08/27}{Updates to \texttt{Readme.md}, \texttt{Makefile}, \texttt{schematest.tex}, and this manual}
547 %
548 % \GetFileInfo{\jobname.dtx}
549 % \DoNotIndex{\advance, \atop, \bgroup, \catcode, \DeclareOption, \def, \edef, \dp, \egroup, \else, \endinput, \ExecuteOptions, \fi, \fmtname, \futurelet, \hbox, \hfil, \ht, \ifdim, \ifinner, \ifmmode, \ifx, \ignorespaces, \left, \long, \let, \newbox, \newcommand, \newdimen, \newif, \next, \ProcessOptions, \relax, \RequirePackage, \setbox, \right, \strut, \vbox, \vcenter, \vfil, \vskip, \wd}
550 %
551 %\title{\textsf{schemata} --- Generic package to aid construction of topical categories\thanks{This file
552 % describes version \fileversion, last revised \filedate.}
553 %}
554 %\author{Charles P. Schaum\thanks{E-mail: charles[dot][email protected]}}
555 %\date{Released \filedate}
556 %
557 %\maketitle
558 %
559 % \begin{abstract}
560 % \noindent The \textsf{schemata} package helps the creation of topical outlines that illustrate the breakdown of concepts and categories in academic texts from the late medieval to early modern periods.
561 % \end{abstract}\smallskip
562 %
563 % \tableofcontents
564 %
565 % \section{Introduction}
566 %
567 % This package uses boxes and math mode to typeset \emph{schemata} (plural of \gk{t'o sq~hma} or \emph{schema}, meaning \emph{form}, \emph{shape}, \emph{appearance}, etc.). One sees them in academic literature from at least the seventeenth through the nineteenth centuries.\footnote{Books that use this package include: Löhe, \textit{The Pastor} [\textit{Der evangelische Geistliche}] (St.~Louis, 2015) and Schaum and Coll\-ver, \textit{Breath of God, Yet Work of Man} (St.~Louis, 2019).}
568 %
569 % Packages like \emph{TikZ}, \textsf{PSTricks}, \MP, or other solutions have advantages over this one, especially for those seeking a top-to-bottom diagram.\footnote{For example: \textsc{H.~Dembowski}, \emph{Einf{\"u}hrung in die Christologie} (Darmstadt, 1993), 146.}
570 % Yet these packages may present challenges if one has to implement both open \emph{and} closed braces in a schema, which math mode allows.
571 % \newpage
572 %
573 % \section{Usage}
574 %
575 % \subsection[Loading and Options]{Package Loading and Options}
576 %
577 % The \textsf{schemata} package is a minimal ``wrapper'' for math mode. It can be used with \LaTeX{} or with ``generic'' formats, including \PlainTeX, eplain, and Lollipop. Currently, \textsf{schemata} will operate with \textsc{Con\TeX t} without halting, but the way that it sizes and aligns delimiters does not work well with \textsc{Con\TeX t}.
578 % \begin{quote}
579 % \fbox{\begin{tabular}{ll}
580 % {\Large\strut}For \LaTeX{} invoke: & \cmd{\usepackage}\oarg{options}\texttt{\{schemata\}}\\
581 % {\Large\strut}For generic use: & \cmd{\input}\texttt{\textvisiblespace schemata.sty}
582 % \end{tabular}}
583 % \end{quote}\smallskip
584 %
585 % \DescribeMacro{\schemataLaTeX}
586 % Normally, \textsf{schemata} uses generic \TeX{} macros if the format is not \LaTeXe. When using a \LaTeX-like format with a different name than \texttt{LaTeX2e}, one could insert the following before |\usepackage{schemata}|:
587 % \begin{quote}
588 % |\edef\schemataLaTeX{\fmtname}|
589 % \end{quote}
590 %
591 % Yet\Warn{} this is usually unneeded. Normally we want \cmd{\schemataLaTeX} to be undefined before \texttt{schemata.sty} is loaded to get the default value \texttt{LaTeX2e}. We recommend not using this macro unless you know what you are doing.\medskip
592 %
593 % \LaTeX\Info{options} users can choose one among four package options: \texttt{braces}, \texttt{brackets}, \texttt{parens}, and \texttt{groups}. These set the defaults for the delimiters used with \cmd{\schema} and \cmd{\Schema}. If no options are chosen, the default is \texttt{braces}.
594 %
595 % \subsection{Macro Overview}
596 %
597 % One can describe schemata as a grouping of boxes that contain content, whose relationships are demonstrated by delimiters. We start with the boxes and their content. Subsequently, we deal with the delimiters, then later, the manner of grouping and arrangement, as well as tweaks and tutorials.
598 %
599 % One need not enclose schemata within any math mode delimiters but one can use, for example, display math when constructing large schemata. The \cmd{\schema} and \cmd{\Schema} macros will ensure that they use math mode. Only the large examples in this manual are contained in a math environment.
600 %
601 % \subsubsection[\texttt{\textbackslash schemabox}]{Containers: \texttt{\textbackslash schemabox}}
602 %
603 % \DescribeMacro{\schemabox}
604 % Schemata contain vertically-centered lists of material in inner vertical mode. By design, it is \emph{not} a \cmd{\long} macro. When in a \cmd{\schema} or a \cmd{\Schema} (see below), a \cmd{\schemabox} stacks one or more lines of \cmd{\hbox}-enclosed text in a \cmd{\vbox.} It redefines the macro |\\| to close the current \cmd{\hbox} and begin a new one. A \cmd{\schemabox} can add kerns before and after each line of text to aid horizontal spacing (Section~\ref{sec:tweakschema}).
605 % \begin{quote}
606 % \fbox{\begin{tabular}{l}
607 % {\Large\strut}\cmd{\schemabox}\oarg{width}\marg{text}\\
608 % \end{tabular}}
609 % \end{quote}
610 % The \meta{width} of a \cmd{\schemabox} is a dimension, e.g., \texttt{3cm}. No text wrapping (as in a \cmd{\parbox}) takes place. If there is more than one line of text, each line of \meta{text} must be terminated explicitly by |\\|, except the final line. Usually, the first line of a \cmd{\schemabox} inserts a \cmd{\strut}, but that can be modified (Section~\ref{sec:tweakschema}).
611 % \newpage
612 %
613 % When not in internal vertical mode, \cmd{\schemabox} ignores \meta{width}, does not redefine the macro |\\|, and prints its argument as text to mitigate errors:
614 % \begin{quote}
615 % |Some text has \schemabox{line 1\\ line 2}.|
616 %
617 % Some text has \schemabox{line 1\\ line 2}.
618 % \end{quote}
619 %
620 % \subsubsection{Delimiters}
621 %
622 % \DescribeMacro{\DoBraces}
623 % Both generic \TeX{} and \LaTeX{} users can use these four macros to set or change the type of delimiters.
624 % \DescribeMacro{\DoBrackets}
625 % In both generic \TeX{} and \LaTeX, the default delimiter is braces.
626 % \DescribeMacro{\DoParens}
627 % \cmd{\DoBraces}, \cmd{\DoBrackets}, \cmd{\DoParens}, and \cmd{\DoGroups} do the same thing as the respective package options,
628 % \DescribeMacro{\DoGroups}
629 % except they also can change the delimiters within \cmd{\schema} and \cmd{\Schema}. They remain in force until the end of a given scope:\medskip
630 %
631 % Default assumptions include using braces, at least one uppercase letter on each side of a delimiter, and that delimiters open from left to right.
632 % \begin{quote}
633 % \begin{VerbatimOut}{\jobname.tmp}
634 % \schema
635 % {\schemabox{A}}
636 % {\schemabox{B\\C}}
637 % \end{VerbatimOut}
638 % \DisplayEx
639 % \end{quote}
640 %
641 % Now we change to brackets (\cmd{\DoBrackets}). We add a ``nudge'' before B and C for better spacing (Section~\ref{sec:tweakschema}):
642 % \begin{quote}
643 % \begin{VerbatimOut}{\jobname.tmp}
644 % \DoBrackets
645 % \schema
646 % {\schemabox{A}}
647 % {\NudgeSB[left]\schemabox{B\\C}}
648 % \end{VerbatimOut}
649 % \DisplayEx
650 % \end{quote}
651 %
652 % Change to parentheses. We use \cmd{\schema} with a closing delimiter and add a ``nudge'' after A and B for better spacing:
653 % \begin{quote}
654 % \begin{VerbatimOut}{\jobname.tmp}
655 % \DoParens
656 % \schema[close]
657 % {\NudgeSB\schemabox{A\\B}}
658 % {\schemabox{C}}
659 % \end{VerbatimOut}
660 % \DisplayEx
661 % \end{quote}
662 %
663 % As we change to groups we use the more complex macro \cmd{\Schema} with a nested closing delimiter on the right-hand side, as well as a ``nudge'' after B and C:
664 % \begin{quote}
665 % \begin{VerbatimOut}{\jobname.tmp}
666 % \DoGroups
667 % \Schema{0ex}{3ex}
668 % {\smallskip\schemabox{A}}
669 % {\Schema[close]{0ex}{3ex}
670 % {\NudgeSB\schemabox{B\\C}}
671 % {\smallskip\schemabox{D}}
672 % }
673 % \end{VerbatimOut}
674 % \DisplayEx
675 % \end{quote}
676 %
677 % We change delimiters within the schema below. We insert ``nudges'' both before and after B and C, and before D. See also Section~\ref{sec:multiple}.
678 % \begin{quote}
679 % \begin{VerbatimOut}{\jobname.tmp}
680 % \DoBrackets
681 % \Schema{0ex}{2.4ex}
682 % {\schemabox{A}}
683 % {\DoParens\Schema[close]{0ex}{2.4ex}
684 % {\NudgeSB[left]\NudgeSB[right]
685 % \schemabox{B\\C}}
686 % {\NudgeSB[left]\schemabox{D}}
687 % }
688 % \end{VerbatimOut}
689 % \DisplayEx
690 % \end{quote}
691 %
692 % One can add new delimiter types.\footnote{See \emph{The \TeX book}, page~146. Avoid using \cmd{\langle}, \cmd{\rangle}, \texttt{/}, and \cmd{\textbackslash}. They do not scale like the other delimiters and will not produce expected results in some cases.}
693 % In \PlainTeX\ one might see the following example. Both \cmd{\SwitchSB} and \cmd{\NudgeSB} are described in Section~\ref{sec:tweakschema}:
694 % \begin{quote}
695 % \begin{VerbatimOut}{\jobname.tmp}
696 % \catcode`@=11\relax
697 % \def\DoVerts{%
698 % \let\@schemata@LD\Vert%
699 % \let\@schemata@RD\Vert}
700 % \catcode`@=12\relax
701 % \DoVerts
702 % \schema{\SwitchSB\schemabox{A}}
703 % {\NudgeSB[left]\schemabox{B\\C\\D}}
704 % \end{VerbatimOut}
705 % \DisplayEx
706 % \end{quote}
707 %
708 % \subsubsection[\texttt{\textbackslash schema}]{Leaf Nodes: \texttt{\textbackslash schema}}
709 %
710 % \DescribeMacro{\schema}
711 % A ``simple'' schema has a left-hand side with vertically-centered vertical material, a brace, and a right-hand side with vertically-centered vertical material:
712 % \begin{quote}
713 % \fbox{\begin{tabular}{l}
714 % {\Large\strut}\cmd{\schema}\oarg{type}\marg{left side}\marg{right side}\\
715 % \end{tabular}}
716 % \end{quote}
717 % The \meta{left side} and \meta{right side} are vertical material in order to allow a \cmd{\smallskip} or other vertical adjustment as needed. The \meta{type} of a schema is \texttt{open} by default. The delimiter opens toward the right:
718 % \begin{quote}
719 % \begin{VerbatimOut}{\jobname.tmp}
720 % \schema
721 % {\schemabox{A}}
722 % {\schemabox{B\\C}}
723 % \end{VerbatimOut}
724 % \DisplayEx
725 % \end{quote}
726 %
727 % Any value of \meta{type} other than the string \texttt{open} makes a ``closed'' schema (the delimiter opens to the left). Especially with closed braces, one often adds a ``nudge'' to the left-hand side to negates a kern of \texttt{-0.2em} added by default.
728 % \begin{quote}
729 % \begin{VerbatimOut}{\jobname.tmp}
730 % \schema[closed]
731 % {\NudgeSB\schemabox{A}}
732 % {\schemabox{B\\C}}
733 % \end{VerbatimOut}
734 % \DisplayEx
735 % \end{quote}
736 %\smallskip
737 % In practice, \cmd{\schema} does not nest, so it is only useful for the rightmost elements or ``leaves'' of a large schema to make formatting the leaves more efficient. Using boxes, below we show where one would use \cmd{\schema} to populate the leaves:
738 % \begin{quote}
739 % \begin{VerbatimOut}{\jobname.tmp}
740 % \Schema{-0.4ex}{4.2ex}
741 % {\schemabox{A}}
742 % {\vbox{\noindent%
743 % \fbox{\schema
744 % {\schemabox{B}}
745 % {\schemabox{C\\D}}}\\[1ex]
746 % \fbox{\schema
747 % {\schemabox{E}}
748 % {\schemabox{F\\G}}}}}
749 % \end{VerbatimOut}
750 % \DisplayEx
751 % \end{quote}
752 %
753 % The sizing of a \cmd{\schema} changes automatically, depending on the height, depth, and context of the letters. This can look ugly if uniform delimiter size is desired. Use \cmd{\Schema} (next section) to enforce such uniformity.
754 % \newpage
755 %
756 % \subsubsection[\texttt{\textbackslash Schema}]{Branches and Root: \texttt{\textbackslash Schema}}
757 %
758 % \DescribeMacro{\Schema}
759 % The ``complex'' form of a schema also has a left-hand side with vertically-centered vertical material, a brace, and a right-hand side of vertically-centered vertical material, along with two arguments that adjust the layout:
760 % \begin{quote}
761 % \fbox{\begin{tabular}{l}
762 % {\Large\strut}\cmd{\Schema}\oarg{type}\marg{adjust}\marg{size}\marg{left side}\marg{right side}\\
763 % \end{tabular}}
764 % \end{quote}
765 %The \meta{type} is |open| by default. As above, any other \meta{type} except the exact string |open| will make it a ``closed'' schema. Both \meta{adjust} and \meta{size} are dimensions. We recommend expressing them as \texttt{ex}. This allows for easier scaling of the schema when changing the font size. Here is how to set \meta{adjust}:\footnote{Instead of setting \meta{adjust}, one could put vertical skips either before or after \cmd{\schemabox}, \cmd{\schema}, or \cmd{\Schema}. Yet using braces as delimiters tends to draw material toward the center cusp (if applicable), where \meta{adjust} keeps that centered look while allowing some adjustments.}
766 % \begin{quote}
767 % \begin{tabular}{lll}
768 % \textbf{negative} & left side and delimiter up & right side down\\[0.5ex]
769 % \textbf{positive} & left side and delimiter down & right side up\\
770 % \end{tabular}
771 % \end{quote}
772 %
773 % Set the delimiter \meta{size} to be a scaled value of ex just a bit larger than the number of lines of text that the delimiter spans.
774 %
775 % Adjustments must be done from right to left. Once a leaf or sub-tree is balanced, any attempt to re-balance the schema from left to right will throw everything off. We will return to this point especially in Section~\ref{sec:Loci} and thereafter.
776 %
777 % By using \cmd{\Schema} to adjust the delimiter height and centering, one can bypass the shortcomings of \cmd{\schema}, but at the cost of time. One has to traverse the schema at least twice to get the desired layout.
778 %
779 % \cmd{\Schema} lets one produce multiple schemata with the same look, i.e., the same brace heights and general appearance. One can nest and combine these similar schemata into complex layouts. See Section~\ref{sec:OpenClose}.\bigskip
780 %
781 % \begin{VerbatimOut}{\jobname.tmp}
782 % Both \cmd{\schema} and \cmd{\Schema} can be in running text:\\[1ex]
783 % \indent Here is one \schema{\schemabox{A}}{\schemabox{B\\C}}
784 % and the other \Schema{0ex}{2.5ex}{\schemabox{D}}{\schemabox{E\\F}}
785 % \end{VerbatimOut}
786 %
787 % \input{\jobname.tmp}
788 %
789 % \begin{quote}
790 % \VerbatimInput[gobble=0]{\jobname.tmp}
791 % \end{quote}
792 %
793 % Both \cmd{\schema} and \cmd{\Schema} will stack vertically if set sequentially. It does not matter which type of schema precedes or follows; for example:
794 %
795 % \begin{quote}
796 % \renewcommand*\SBNudgeFactor{\kern 0.22em}
797 % \begin{VerbatimOut}{\jobname.tmp}
798 % \schema
799 % {\schemabox{A}}
800 % {\schemabox{B\\C}}
801 %
802 % \Schema{0ex}{2.5ex}
803 % {\schemabox{D}}
804 % {\schemabox{E\\F}}
805 % \end{VerbatimOut}
806 % \DisplayEx
807 % \end{quote}
808 % \newpage
809 %
810 % Certainly, one need not use a \cmd{\schemabox} in either \cmd{\schema} or \cmd{\Schema}. For example, we make a macro \cmd{\Box} below to create one square centimeter of content:
811 % \def\Box{%^^A
812 % \hbox{%^^A
813 % \vrule%^^A
814 % \vbox to 1cm{\hrule\hbox to 1cm{\hfil}\vfil\hrule}%^^A
815 % \vrule%^^A
816 % }%^^A
817 % }
818 % \begin{quote}
819 % \begin{Verbatim}
820 % \def\Box{%
821 % \hbox{%
822 % \vrule%
823 % \vbox to 1cm{\hrule\hbox to 1cm{\hfil}\vfil\hrule}%
824 % \vrule%
825 % }%
826 % }
827 % \end{Verbatim}
828 % \end{quote}
829 %
830 % Now we begin with the trivial example of one \cmd{\Box} on each side of the delimiter:
831 % \begin{quote}
832 % \begin{VerbatimOut}{\jobname.tmp}
833 % \schema{\Box}{\Box}
834 % \end{VerbatimOut}
835 % \DisplayEx[numbers=none]
836 % \end{quote}
837 %
838 % This example is more complex, showing how each side stacks boxes vertically:
839 % \begin{quote}
840 % \begin{VerbatimOut}{\jobname.tmp}
841 % \schema{\Box}{\Box\Box}
842 % \end{VerbatimOut}
843 % \DisplayEx[numbers=none]
844 % \end{quote}
845 %
846 % Finally we use \cmd{\Schema} to get a schema that is both open and closed:
847 % \begin{quote}
848 % \begin{VerbatimOut}{\jobname.tmp}
849 % \Schema{-0.2ex}{0.9cm}
850 % {\Box}
851 % {
852 % \Schema[close]
853 % {-0.2ex}{0.9cm}
854 % {\Box\hbox{\Box\kern0.2em}}
855 % {\Box}
856 % }
857 % \end{VerbatimOut}
858 % \DisplayEx
859 % \end{quote}
860 %
861 % A kern of \texttt{0.2em} was added above to compensate for the automatic kern of \texttt{-0.2em}. This correction mimics the behavior of \cmd{\NudgeSB}.
862 %
863 % If not expressed in terms of \texttt{ex} height, which is quite useful for correlating the number of lines of text and white space in a schema to the actual height of a brace that is needed, then \meta{size} should be expressed as above: slightly less than half the height of the contents, e.g., \texttt{0.9cm} for a height of \texttt{2cm}.
864 %
865 % \subsection{Romancing the \texttt{\textbackslash schema}}
866 % \label{sec:tweakschema}
867 %
868 % \DescribeMacro{\LCschema}
869 % By default, a \cmd{\schemabox} adds a \cmd{\strut} to the first line because the topics in a schema often start with a capital letter.
870 % \DescribeMacro{\UCschema}
871 % The \cmd{\strut} causes the delimiter of a \cmd{\schema} to have the proper size in order to span that letter.
872 %
873 % If the first letter is not a capital letter, or if the text seems a little off-center, you can turn off this default feature of \cmd{\schemabox} by placing \cmd{\LCschema} before the \cmd{\schemabox} where the change is to occur. \cmd{\LCschema} prevents all subsequent uses of \cmd{\schemabox} from adding \cmd{\strut}. One restores the default behavior with \cmd{\UCschema}, also best placed before the intended \cmd{\schemabox}.
874 % \newpage
875 %
876 % Here is an example where an entire schema is in lowercase. Instead of putting \cmd{\LCschema} before a particular \cmd{\schemabox}, we change the look of the whole thing and then restore the default via \cmd{\UCschema}:\footnote{Based on axioms in August Pfeiffer, \textit{Thesaurus Hermeneuticus} (Frankfurt am Main, 1698).}
877 %
878 % \begin{VerbatimOut}{\jobname.tmp}
879 % \LCschema
880 % \Schema{0.1ex}{4.8ex}
881 % {\schemabox{sensus literalis}}
882 % {\schema
883 % {\schemabox{sensus\\literalis\\(improprie)}}
884 % {\schemabox{e parallelismo clarior\\
885 % ex analogia fidei\\ex evidentia rei}}
886 % \smallskip
887 % \schemabox{sensus literae}
888 % }
889 % \UCschema
890 % \end{VerbatimOut}
891 %
892 % \begin{quote}
893 % \VerbatimInput[gobble=0]{\jobname.tmp}
894 % \end{quote}
895 %
896 % \begin{displaymath}
897 % \input{\jobname.tmp}
898 % \end{displaymath}
899 %
900 % \DescribeMacro{\SwitchSB}
901 % The macro \cmd{\SwitchSB} toggles the insertion of a \cmd{\strut} to the opposite of what is in effect for just one \cmd{\schemabox}. Thus:
902 %
903 % \begin{quote}
904 % \begin{tabular}{ll}
905 % Current State & Using \cmd{\SwitchSB}\\[1ex]
906 % \strut\cmd{\UCschema} & no \cmd{\strut}\\
907 % \strut\cmd{\LCschema} & insert a \cmd{\strut}
908 % \end{tabular}
909 % \end{quote}
910 %
911 % \cmd{\SwitchSB} should be placed immediately before the \cmd{\schemabox} to be affected. Its effects are reset when that particular \cmd{\schemabox} terminates.
912 %
913 % Note, however, that mixing lowercase and uppercase-styles of \cmd{\schemabox} may put parts of a schema slightly off-center, meaning that one must \meta{adjust} a \cmd{\Schema} by a tenth of an ex, give or take. Also remember that one can add \cmd{\strut} as needed to make manual adjustments.\medskip
914 %
915 % \DescribeMacro{\NudgeSB}
916 % The macro \cmd{\NudgeSB} is another ``per-use'' macro that, by default, causes a particular \cmd{\schemabox} to add either one or two \texttt{0.2em} kerns to the end(s) of every line of text. This behavior resets outside of that \cmd{\schemabox}.
917 % \begin{quote}
918 % \fbox{\begin{tabular}{l}
919 % {\Large\strut}\cmd{\NudgeSB}\oarg{direction}\\
920 % \end{tabular}}
921 % \end{quote}
922 %
923 % The default argument of \meta{direction} is \texttt{right}; the kern is added to the right side of the text. Any other value for \meta{direction} causes a \cmd{\schemabox} to add a kern to the left side. One can add kerns to both sides of every line of text, e.g.:
924 % \begin{quote}
925 % |\NudgeSB[left]\NudgeSB[right]\schemabox{text}|
926 % \end{quote}
927 %
928 % Both \cmd{\schema} and \cmd{\Schema} insert a kern of \texttt{-0.2em} between the left-hand side and the delimiter to correct spacing when a delimiter opens to the right, especially braces. In some cases, we bypass the default with a nudge.
929 % \newpage
930 %
931 % \DescribeMacro{\SBNudgeFactor}
932 % This macro is the kern used by \cmd{\NudgeSB} to make its corrective. Sometimes you feel like a nudge, sometimes you don't, and sometimes you want to change the size of a nudge. Next we show how to do that within a local scope:
933 % \begin{quote}
934 % \begin{VerbatimOut}{\jobname.tmp}
935 % \bgroup
936 % \DoBrackets
937 % \renewcommand\SBNudgeFactor{\kern 1em}
938 % \Schema{0ex}{2.3ex}
939 % {
940 % \NudgeSB
941 % \schemabox{a}
942 % }
943 % {
944 % \Schema[close]{0ex}{2.4ex}
945 % {
946 % \NudgeSB[right]
947 % \NudgeSB[left]
948 % \schemabox{b\\c}
949 % }
950 % {
951 % \NudgeSB[left]
952 % \schemabox{d}
953 % }
954 % }
955 % \egroup
956 % \end{VerbatimOut}
957 % \DisplayEx
958 % \end{quote}
959 %
960 % \subsection{Tutorial}
961 %
962 % Now that we have explained what the macros do, let's take a journey together to discover a methodology for creating general forms of schemata.
963 %
964 % \subsubsection{Starting Off Basic}
965 %
966 % Let's ignore most of what we have learned so far and naively try \cmd{\schema}:
967 % \begin{quote}
968 % \begin{VerbatimOut}{\jobname.tmp}
969 % \schema{A}{B\\C}
970 % \end{VerbatimOut}
971 % \DisplayEx[numbers=none]
972 % \end{quote}
973 %
974 % Oh dear, that went badly. Oh, wait! Schemata hold internal vertical lists. That weird \cmd{\schemabox} is designed for internal vertical mode:
975 % \begin{quote}
976 % \begin{VerbatimOut}{\jobname.tmp}
977 % \schema
978 % {\schemabox{A}}
979 % {\schemabox{B\\C}}
980 % \end{VerbatimOut}
981 % \DisplayEx
982 % \end{quote}
983 %
984 % Now we are getting somewhere! But we really need a ``big'' side of a schema, or else we get:
985 % \begin{quote}
986 % \begin{VerbatimOut}{\jobname.tmp}
987 % \schema
988 % {\schemabox{A}}
989 % {\schemabox{B}}
990 % \end{VerbatimOut}
991 % \DisplayEx
992 % \end{quote}
993 % \newpage
994 %
995 % \subsubsection{\textit{Loci} 101}
996 % \label{sec:Loci}
997 %
998 % We move on from trivial examples to several real-world examples based on published material. Let's try a few examples from \emph{Loci Theologici} by Martin Chemnitz. We begin by using only \cmd{\schema}:
999 % \begin{quote}
1000 % \begin{VerbatimOut}{\jobname.tmp}
1001 % \schema
1002 % {
1003 % \schemabox{Subjectum theo-\\
1004 % logi\ae{} est Notitia\\
1005 % Dei. Considerat\\
1006 % ergo, Dei, vel}
1007 % }
1008 % {
1009 % \schema
1010 % {
1011 % \schemabox{\textsc{Essentiam},}
1012 % }
1013 % {
1014 % \schemabox{Unitate natur\ae{}.\\
1015 % Trinitate personarum.\\
1016 % Operibus ad intra.}
1017 % }
1018 % \schema
1019 % {
1020 % \schemabox{\textsc{Voluntatem},\\
1021 % manifestatam in\\
1022 % operibus ad extra;\\
1023 % ut in}
1024 % }
1025 % {
1026 % \schemabox{Creatione.\\
1027 % Sustentatione natur\ae{} laps\ae{}.\\
1028 % Reparatione.\\
1029 % Conversione.\\
1030 % Justificatione.\\
1031 % Sanctificatione \&\\
1032 % Glorificatione ejusdem.}
1033 % }
1034 % }
1035 % \end{VerbatimOut}
1036 % \VerbatimInput[gobble=0]{\jobname.tmp}
1037 %
1038 % \input{\jobname.tmp}
1039 % \end{quote}
1040 % \newpage
1041 %
1042 % This is not what we want to see; \cmd{\schema} works for the leaves on the right, but not for the ``root'' on the left. The brace adjusts to the entire right-hand side. Below, we demonstrate what we want and then show how we got there:
1043 %
1044 % \begin{quote}
1045 % \begin{VerbatimOut}{\jobname.tmp}
1046 % \Schema{-1ex}{8.7ex}
1047 % {
1048 % \schemabox{Subjectum theo-\\
1049 % logi\ae{} est Notitia\\
1050 % Dei. Considerat\\
1051 % ergo, Dei, vel}
1052 % }
1053 % {
1054 % \schema
1055 % {
1056 % \schemabox{\textsc{Essentiam},}
1057 % }
1058 % {
1059 % \schemabox{Unitate natur\ae{}.\\
1060 % Trinitate personarum.\\
1061 % Operibus ad intra.}
1062 % }\smallskip
1063 % \schema
1064 % {
1065 % \schemabox{\textsc{Voluntatem},\\
1066 % manifestatam in\\
1067 % operibus ad extra;\\
1068 % ut in}
1069 % }
1070 % {
1071 % \schemabox{Creatione.\\
1072 % Sustentatione natur\ae{} %
1073 % laps\ae{}.\\
1074 % Reparatione.\\
1075 % Conversione.\\
1076 % Justificatione.\\
1077 % Sanctificatione \&\\
1078 % Glorificatione ejusdem.}
1079 % }
1080 % }
1081 % \end{VerbatimOut}
1082 % \input{\jobname.tmp}
1083 % \vskip -2.5ex
1084 % \end{quote}
1085 %
1086 % \begin{enumerate}
1087 % \item We first adjust the spacing, starting from the leaves at right, going to the root on the left. We add a \cmd{\smallskip}, shown in \textcolor{red}{\bfseries red boldface}:
1088 % \begin{quote}
1089 % \VerbatimInput[gobble=0,firstline=13,lastline=16]{\jobname.tmp}
1090 % \VerbatimInput[gobble=0,firstline=17,lastline=17,
1091 % formatcom=\vskip -1ex,formatcom*=\color{red},
1092 % formatcom*=\bfseries]{\jobname.tmp}
1093 % \end{quote}
1094 %
1095 % One should be attentive to format-dependent macro behavior.\footnote{Using \cmd{\vskip} in \PlainTeX{} starts a new paragraph, so \cmd{\smallskip} cannot be used within the horizontal mode of a \cmd{\schemabox} when using \PlainTeX. \LaTeX\ allows more flexibility and permits one to place vertical skips more freely.}
1096 % In some cases, putting vertical space in the first or last lines of a \cmd{\schemabox}, regardless of format, will affect centering negatively.
1097 %
1098 % \item We have two \cmd{\schema} leaves and one root, so we only change one \cmd{\schema} into a \cmd{\Schema}. We count the lines of text, estimate, then revise.
1099 %
1100 % Below we have 8--9 lines of text from ``\textsc{Essentiam}'' to ``ut in.'' We estimate \meta{size} at \texttt{8.5ex} and \meta{adjust} at \texttt{0ex}. The large brace is too low, so we \meta{adjust} to \texttt{-1ex}, raising the left side and the delimiter, while lowering the right. We then refine \meta{size} to \texttt{8.7ex}.\footnote{Changes in \TeX\ distributions can change font metrics and thus, the metrics of your schemata.}
1101 % \begin{quote}
1102 % \VerbatimInput[gobble=0,firstline=1,lastline=1,
1103 % formatcom*=\color{red},formatcom*=\bfseries]{\jobname.tmp}
1104 % \end{quote}
1105 % \end{enumerate}
1106 %
1107 % After those two changes, we have the finished schema:
1108 % \begin{quote}
1109 % \VerbatimInput[gobble=0,firstline=1,lastline=7]{\jobname.tmp}
1110 %
1111 % \VerbatimInput[gobble=0,firstline=8]{\jobname.tmp}
1112 % \end{quote}
1113 %
1114 % \subsubsection{Going Big}
1115 %
1116 % Thus far, we have dealt with trivial examples while gaining knowledge:
1117 %
1118 % \begin{enumerate}
1119 % \item We usually use \cmd{\schemabox} for the contents of a schema.
1120 % \item Schemata usually open from left to right, from root to leaves.
1121 % \item We usually typeset leaves with \cmd{\schema} to save time.
1122 % \item We typeset other parts with \cmd{\Schema}.
1123 % \item We adjust spacing and delimiters by working from the leaves to the root.
1124 % \item We may need to consider differences among formats when using \cmd{\vskip}, \cmd{\smallskip}, etc. Also, \cmd{\newbox} is an \cmd{\outer} macro in \PlainTeX.
1125 % \item Sometimes, we need to use \cmd{\UCschema}, \cmd{\LCschema}, \cmd{\SwitchSB}, and \cmd{\NudgeSB}.
1126 % \end{enumerate}
1127 %
1128 % With this information, we will reproduce a schema found on page 13 of Martin Chemnitz, \textit{Loci Theologici} (Frankfurt, 1653). The image of the schema was obtained by the present author.\vfill
1129 %
1130 % \leavevmode\noindent\includegraphics[width=0.9\textwidth]{schemata.eps}
1131 %
1132 % \begin{itemize}
1133 % \item The braces are composed of vertical rules and other type sorts. We will replace them with the analogous standard \TeX\ brace delimiters.
1134 %
1135 % \item The Latin uses roman, italic and small caps. We will use \emph{s-finalis} where the original uses \emph{s-medialis}. We will retain some old-style ligatures.
1136 %
1137 % \item We will improve spacing between elements and we will not aim for an exact reproduction of line breaks.
1138 % \end{itemize}
1139 %
1140 % We begin by looking at the leaves, the rightmost bits of text enclosed by braces. We can use \cmd{\schema} in these cases. That results in the following individual snippets:
1141 %
1142 % \begin{quote}
1143 %
1144 % The first snippet starts at the top right of the original schema:
1145 % \begin{VerbatimOut}{\jobname.tmp}
1146 % \schema
1147 % {\schemabox{\textsc{Per se}:\\ scilicet.}}
1148 % {
1149 % \schemabox{Unus in essentia.}
1150 % \schemabox{Trinus in personis.}
1151 % }
1152 % \end{VerbatimOut}
1153 % \VerbatimInput[gobble=0]{\jobname.tmp}
1154 % \ \qquad\input{\jobname.tmp}
1155 % \newpage
1156 %
1157 % Next is the first large \cmd{\schema}, easy to confuse with the other large one:
1158 % \begin{VerbatimOut}{\jobname.tmp}
1159 % \schema
1160 % {\schemabox{Ad hominem\\ quem vel}}
1161 % {
1162 % \schemabox{Accusat \& terret, \textsc{Per Legem},\\
1163 % Consolatur \& erigit, \textsc{Per Evangelium}.\\
1164 % Salvat, \textsc{Per Christum}.\\
1165 % Renovat, \textsc{Per Spiritum Sanctum}.\\
1166 % Sanctificat, \textsc{Per Verbum} \& \textsc{Sacramenta}.\\
1167 % Castigat, tentat \& exercet, \textsc{Per Crucem}.\\
1168 % Glorificat \textsc{Per Resurrectionem Carnis}\\
1169 % \textsc{\quad Ad Vitam \AE{}ternam}.}
1170 % }
1171 % \end{VerbatimOut}
1172 % \VerbatimInput[gobble=0]{\jobname.tmp}
1173 % \ \qquad\input{\jobname.tmp}\medskip
1174 %
1175 % Next we have just one line of text, which is almost tucked in front of the leaf that comes after it, but it still is a leaf in its own right:
1176 % \begin{VerbatimOut}{\jobname.tmp}
1177 % \schemabox{Ante lapsum.}
1178 % \end{VerbatimOut}
1179 % \VerbatimInput[gobble=0]{\jobname.tmp}
1180 % \ \qquad\input{\jobname.tmp}
1181 % \end{quote}
1182 %
1183 % \begin{quote}
1184 % This next example looks bad, but structure precedes aesthetics. Later we will add vertical skips to get two groups of two lines each:
1185 % \begin{VerbatimOut}{\jobname.tmp}
1186 % \schema
1187 % {\schemabox{Post lapsum:}}
1188 % {
1189 % \schemabox{Ante Regenerationem \&\\
1190 % Renovationem S. Sancti.}
1191 % \schemabox{Post Regenerationem \&\\
1192 % Renovationem S. Sancti.}
1193 % }
1194 % \end{VerbatimOut}
1195 % \VerbatimInput[gobble=0]{\jobname.tmp}
1196 % \ \qquad\input{\jobname.tmp}\medskip
1197 % \newpage
1198 %
1199 % Here is the second large \cmd{\schema}, easy to confuse with the first:
1200 % \begin{VerbatimOut}{\jobname.tmp}
1201 % \schema
1202 % {\schemabox{\textsc{Deum},}}
1203 % {
1204 % \schemabox{P\oe{}nitentia agens, agnitis peccatis \&\\
1205 % ira Dei cognita \textsc{Ex Lege}.\\
1206 % Erigens se \textsc{Voce Evangelii}.\\
1207 % Credens \textsc{In Christum Salvatorem}.\\
1208 % Non repugnans \textsc{Spiritui Sancto} impellenti.\\
1209 % Audiens \textsc{Verbum}: \& utens \textsc{Sacramentis}.\\
1210 % Patienter \& constanter sufferens \textsc{Crucem}.\\
1211 % Sperans \& expectans glorificationem\\
1212 % \textsc{\quad In Resurrectione Carnis}\\
1213 % \textsc{\quad Ad Vitam \AE{}ternam}.}
1214 % }
1215 % \end{VerbatimOut}
1216 % \VerbatimInput[gobble=0]{\jobname.tmp}
1217 % \ \qquad\input{\jobname.tmp}\medskip
1218 %
1219 % Using one \cmd{\schemabox} on the right can do a decent job with spacing:
1220 % \begin{VerbatimOut}{\jobname.tmp}
1221 % \schema
1222 % {\schemabox{seipsum ratione}}
1223 % {\schemabox{Anim\ae{}\\ vel\\ Corporis}}
1224 % \end{VerbatimOut}
1225 % \VerbatimInput[gobble=0]{\jobname.tmp}
1226 % \ \qquad\input{\jobname.tmp}
1227 % \end{quote}
1228 %
1229 % \begin{quote}
1230 % Here we have a large leaf, later followed by another ``one-liner'':
1231 % \begin{VerbatimOut}{\jobname.tmp}
1232 % \schema
1233 % {\schemabox{Amicum ra-\\ tione vel}}
1234 % {
1235 % \schemabox{Religionis.\\
1236 % Politic\ae{} \& \OE{}conomic\ae{}.\\
1237 % Cognationis.\\
1238 % Agnationis.}
1239 % }
1240 % \end{VerbatimOut}
1241 % \VerbatimInput[gobble=0]{\jobname.tmp}
1242 % \ \qquad\input{\jobname.tmp}\medskip
1243 % \newpage
1244 %
1245 % And here is the second ``one-liner'' in the larger schema:
1246 % \begin{VerbatimOut}{\jobname.tmp}
1247 % \schemabox{Inimicum.}
1248 % \end{VerbatimOut}
1249 % \VerbatimInput[gobble=0]{\jobname.tmp}
1250 % \ \qquad\input{\jobname.tmp}
1251 % \end{quote}
1252 %
1253 % \phantomsection
1254 % \label{page:firstbig}
1255 % We build the leaves into the larger schema using \cmd{\Schema} with dummy values for both \meta{adjust} and \meta{size} in order to verify that the basic design is accurate:
1256 %
1257 % \begin{VerbatimOut}{\jobname.tmp}
1258 % \Schema{0ex}{5ex}
1259 % {
1260 % \schemabox{Subjectum \&\\
1261 % summa univer-\\
1262 % s\ae{} Scriptur\ae{},\\
1263 % est \textsc{Cognitio}\\
1264 % vel}
1265 % }
1266 % {
1267 % \Schema{0ex}{5ex}
1268 % {
1269 % \schemabox{\textsc{Dei}, qua-\\lis sit, aut}
1270 % }
1271 % {
1272 % \schema
1273 % {\schemabox{\textsc{Per se}:\\ scilicet.}}
1274 % {
1275 % \schemabox{Unus in essentia.}
1276 % \schemabox{Trinus in personis.}
1277 % }
1278 % \schema
1279 % {\schemabox{Ad hominem\\ quem vel}}
1280 % {
1281 % \schemabox{Accusat \& terret, \textsc{Per Legem},\\
1282 % Consolatur \& erigit, \textsc{Per Evangelium}.\\
1283 % Salvat, \textsc{Per Christum}.\\
1284 % Renovat, \textsc{Per Spiritum Sanctum}.\\
1285 % Sanctificat, \textsc{Per Verbum} \& \textsc{Sacramenta}.\\
1286 % Castigat, tentat \& exercet, \textsc{Per Crucem}.\\
1287 % Glorificat \textsc{Per Resurrectionem Carnis}\\
1288 % \textsc{\quad Ad Vitam \AE{}ternam}.}
1289 % }
1290 % }
1291 % \Schema{0ex}{5ex}
1292 % {
1293 % \schemabox{\textsc{Hominis},\\ qualis sit}
1294 % }
1295 % {
1296 % \Schema{0ex}{5ex}
1297 % {\schemabox{\textsc{Per se}:}}
1298 % {
1299 % \schemabox{Ante lapsum.}
1300 % \schema
1301 % {\schemabox{Post lapsum:}}
1302 % {
1303 % \schemabox{Ante Regenerationem \&\\
1304 % Renovationem S. Sancti.}
1305 % \schemabox{Post Regenerationem \&\\
1306 % Renovationem S. Sancti.}
1307 % }
1308 % }
1309 % \Schema{0ex}{5ex}
1310 % {\schemabox{Ad}}
1311 % {
1312 % \schema
1313 % {\schemabox{\textsc{Deum},}}
1314 % {
1315 % \schemabox{P\oe{}nitentia agens, agnitis peccatis \&\\
1316 % ira Dei cognita \textsc{Ex Lege}.\\
1317 % Erigens se \textsc{Voce Evangelii}.\\
1318 % Credens \textsc{In Christum Salvatorem}.\\
1319 % Non repugnans \textsc{Spiritui Sancto} impellenti.\\
1320 % Audiens \textsc{Verbum}: \& utens \textsc{Sacramentis}.\\
1321 % Patienter \& constanter sufferens \textsc{Crucem}.\\
1322 % Sperans \& expectans glorificationem\\
1323 % \textsc{\quad In Resurrectione Carnis}\\
1324 % \textsc{\quad Ad Vitam \AE{}ternam}.}
1325 % }
1326 % \schema
1327 % {\schemabox{seipsum ratione}}
1328 % {\schemabox{Anim\ae{}\\ vel\\ Corporis}}
1329 % \Schema{0ex}{5ex}
1330 % {\schemabox{Proximum,}}
1331 % {
1332 % \schema
1333 % {\schemabox{Amicum ra-\\ tione vel}}
1334 % {
1335 % \schemabox{Religionis.\\
1336 % Politic\ae{} \& \OE{}conomic\ae{}.\\
1337 % Cognationis.\\
1338 % Agnationis.}
1339 % }
1340 % \schemabox{Inimicum.}
1341 % }
1342 % }
1343 % }
1344 % }
1345 % \end{VerbatimOut}
1346 % \bgroup\small\begin{displaymath}
1347 % \input{\jobname.tmp}
1348 % \end{displaymath}\egroup\bigskip
1349 %
1350 % Although the initial result is not pleasing to the eye, the following code listing illustrates the structure of the schema above and serves as a basis for later revisions.
1351 %
1352 % \begin{quote}
1353 % \VerbatimInput[gobble=0,lastline=8]{\jobname.tmp}
1354 %
1355 % \VerbatimInput[gobble=0,firstline=9]{\jobname.tmp}
1356 % \end{quote}
1357 %
1358 % \begin{VerbatimOut}{\jobname.tmp}
1359 % \Schema{0ex}{5ex}
1360 % {
1361 % \schemabox{Subjectum \&\\
1362 % summa univer-\\
1363 % s\ae{} Scriptur\ae{},\\
1364 % est \textsc{Cognitio}\\
1365 % vel}
1366 % }
1367 % {
1368 % \Schema{0ex}{5ex}
1369 % {
1370 % \schemabox{\textsc{Dei}, qua-\\lis sit, aut}
1371 % }
1372 % {
1373 % \schema
1374 % {\schemabox{\textsc{Per se}:\\ scilicet.}}
1375 % {
1376 % \schemabox{Unus in essentia.}\smallskip
1377 % \schemabox{Trinus in personis.}
1378 % }\smallskip
1379 % \schema
1380 % {\schemabox{Ad hominem\\ quem vel}}
1381 % {
1382 % \schemabox{Accusat \& terret, \textsc{Per Legem},\\
1383 % Consolatur \& erigit, \textsc{Per Evangelium}.\\
1384 % Salvat, \textsc{Per Christum}.\\
1385 % Renovat, \textsc{Per Spiritum Sanctum}.\\
1386 % Sanctificat, \textsc{Per Verbum} \& \textsc{Sacramenta}.\\
1387 % Castigat, tentat \& exercet, \textsc{Per Crucem}.\\
1388 % Glorificat \textsc{Per Resurrectionem Carnis}\\
1389 % \textsc{\quad Ad Vitam \AE{}ternam}.}
1390 % }\medskip
1391 % }
1392 % \Schema{0ex}{5ex}
1393 % {
1394 % \schemabox{\textsc{Hominis},\\ qualis sit}
1395 % }
1396 % {
1397 % \Schema{0ex}{5ex}
1398 % {\schemabox{\textsc{Per se}:}}
1399 % {
1400 % \schemabox{Ante lapsum.}\smallskip
1401 % \schema
1402 % {\schemabox{Post lapsum:}}
1403 % {
1404 % \schemabox{Ante Regenerationem \&\\
1405 % Renovationem S. Sancti.}\medskip
1406 % \schemabox{Post Regenerationem \&\\
1407 % Renovationem S. Sancti.}\smallskip
1408 % }\smallskip
1409 % }
1410 % \Schema{0ex}{5ex}
1411 % {\schemabox{Ad}}
1412 % {
1413 % \schema
1414 % {\schemabox{\textsc{Deum},}}
1415 % {
1416 % \schemabox{P\oe{}nitentia agens, agnitis peccatis \&\\
1417 % ira Dei cognita \textsc{Ex Lege}.\\
1418 % Erigens se \textsc{Voce Evangelii}.\\
1419 % Credens \textsc{In Christum Salvatorem}.\\
1420 % Non repugnans \textsc{Spiritui Sancto} impellenti.\\
1421 % Audiens \textsc{Verbum}: \& utens \textsc{Sacramentis}.\\
1422 % Patienter \& constanter sufferens \textsc{Crucem}.\\
1423 % Sperans \& expectans glorificationem\\
1424 % \textsc{\quad In Resurrectione Carnis}\\
1425 % \textsc{\quad Ad Vitam \AE{}ternam}.}
1426 % }\smallskip
1427 % \schema
1428 % {\schemabox{seipsum ratione}}
1429 % {\schemabox{Anim\ae{}\\ vel\\ Corporis}}\smallskip
1430 % \Schema{0ex}{5ex}
1431 % {\schemabox{Proximum,}}
1432 % {
1433 % \schema
1434 % {\schemabox{Amicum ra-\\ tione vel}}
1435 % {
1436 % \schemabox{Religionis.\\
1437 % Politic\ae{} \& \OE{}conomic\ae{}.\\
1438 % Cognationis.\\
1439 % Agnationis.}
1440 % }\smallskip
1441 % \schemabox{Inimicum.}
1442 % }
1443 % }
1444 % }
1445 % }
1446 % \end{VerbatimOut}
1447 %
1448 % Now we show how to correct the spacing within and among elements. \textbf{Here we must work from leaves to root.} Any other approach would waste time repeatedly adjusting the leaves and branches. We show those lines that were changed in \textcolor{red}{\bfseries red boldface}, with some surrounding context. Remember that you can add a \cmd{\smallskip} within a \cmd{\schemabox} in \LaTeX{}, but not in \PlainTeX.
1449 %
1450 % We have split the text below into two boxes to make it format-agnostic. The first \cmd{\smallskip} adds space between two instances of \cmd{\schemabox}. The second \cmd{\smallskip} follows the closing brace of the right-hand side, not the \cmd{\schemabox}, in order to adjust the entire \cmd{\schema}.
1451 % \begin{quote}
1452 % \VerbatimInput[gobble=0,firstline=15,lastline=17]{\jobname.tmp}
1453 %
1454 % \VerbatimInput[gobble=0,firstline=18,lastline=18,
1455 % formatcom=\vskip -2.7ex,formatcom*=\color{red},
1456 % formatcom*=\bfseries]{\jobname.tmp}
1457 %
1458 % \VerbatimInput[gobble=0,firstline=19,lastline=19,
1459 % formatcom=\vskip -4.4ex]{\jobname.tmp}
1460 %
1461 % \VerbatimInput[gobble=0,firstline=20,lastline=20,
1462 % formatcom=\vskip -2.7ex,formatcom*=\color{red},
1463 % formatcom*=\bfseries]{\jobname.tmp}
1464 % \end{quote}
1465 %
1466 % Again, the skip comes after the close of a \cmd{\schema} to adjust the whole thing.
1467 % \begin{quote}
1468 % \VerbatimInput[gobble=0,firstline=29,lastline=31]{\jobname.tmp}
1469 %
1470 % \VerbatimInput[gobble=0,firstline=32,lastline=32,
1471 % formatcom=\vskip -2.7ex,formatcom*=\color{red},
1472 % formatcom*=\bfseries]{\jobname.tmp}
1473 % \end{quote}
1474 %
1475 % Below, the first \cmd{\smallskip} helps to separate the lone \cmd{\schemabox} from the \cmd{\schema} beneath it. The result allows us to ``tuck'' that small element as its own leaf in front of and above the larger leaf that follows.
1476 %
1477 % This also illustrates how the internal vertical lists contained by \cmd{\Schema} and \cmd{\schema} can hold heterogeneous material, which one can arrange as needed.
1478 %
1479 % A \cmd{\medskip} is placed between two instances of \cmd{\schemabox}, which slightly throws off the way that the brace spans the boxes. A small skip is put at the end of the last \cmd{\schemabox} to correct that.
1480 %
1481 % In simple cases like this particular leaf, we can offset one change in spacing with another change to avoid using \cmd{\Schema}. With anything more complex than that, however, using \cmd{\Schema} becomes inevitable.
1482 %
1483 % Finally, a \cmd{\smallskip} is added after the entire \cmd{\schema} on the right-hand side.
1484 % \begin{quote}
1485 % \VerbatimInput[gobble=0,firstline=39,lastline=41]{\jobname.tmp}
1486 %
1487 % \VerbatimInput[gobble=0,firstline=42,lastline=42,
1488 % formatcom=\vskip -2.7ex,formatcom*=\color{red},
1489 % formatcom*=\bfseries]{\jobname.tmp}
1490 %
1491 % \VerbatimInput[gobble=0,firstline=43,lastline=46,
1492 % formatcom=\vskip -4.4ex]{\jobname.tmp}
1493 %
1494 % \VerbatimInput[gobble=0,firstline=47,lastline=47,
1495 % formatcom=\vskip -2.7ex,formatcom*=\color{red},
1496 % formatcom*=\bfseries]{\jobname.tmp}
1497 %
1498 % \VerbatimInput[gobble=0,firstline=48,lastline=48,
1499 % formatcom=\vskip -4.4ex]{\jobname.tmp}
1500 %
1501 % \VerbatimInput[gobble=0,firstline=49,lastline=50,
1502 % formatcom=\vskip -2.7ex,formatcom*=\color{red},
1503 % formatcom*=\bfseries]{\jobname.tmp}
1504 %
1505 % \VerbatimInput[gobble=0,firstline=51,lastline=51,
1506 % formatcom=\vskip -4.4ex]{\jobname.tmp}
1507 % \end{quote}
1508 %
1509 % The skips below follow predictably at the end of each \cmd{\schema}:
1510 % \begin{quote}
1511 % \VerbatimInput[gobble=0,firstline=65,lastline=67]{\jobname.tmp}
1512 %
1513 % \VerbatimInput[gobble=0,firstline=68,lastline=68,
1514 % formatcom=\vskip -2.7ex,formatcom*=\color{red},
1515 % formatcom*=\bfseries]{\jobname.tmp}
1516 %
1517 % \VerbatimInput[gobble=0,firstline=69,lastline=70,
1518 % formatcom=\vskip -4.4ex]{\jobname.tmp}
1519 %
1520 % \VerbatimInput[gobble=0,firstline=71,lastline=71,
1521 % formatcom=\vskip -2.7ex,formatcom*=\color{red},
1522 % formatcom*=\bfseries]{\jobname.tmp}
1523 %
1524 % \VerbatimInput[gobble=0,firstline=72,lastline=81,
1525 % formatcom=\vskip -4.4ex]{\jobname.tmp}
1526 %
1527 % \VerbatimInput[gobble=0,firstline=82,lastline=82,
1528 % formatcom=\vskip -2.7ex,formatcom*=\color{red},
1529 % formatcom*=\bfseries]{\jobname.tmp}
1530 % \end{quote}
1531 %
1532 % Notice in the following schema how the addition of vertical space among the various elements helps make the entire schema easier to read. This is a big improvement over the original version done with a letterpress!
1533 %
1534 % Thus we have come to a rough halfway point. We have identified the various smaller elements of the schema, put them together in a larger structure, and given them the spacing needed to be aesthetically pleasing.
1535 %
1536 % \bgroup\small\begin{displaymath}
1537 % \input{\jobname.tmp}
1538 % \end{displaymath}\egroup\medskip
1539 %
1540 % \begin{VerbatimOut}{\jobname.tmp}
1541 % \Schema{0ex}{23ex}
1542 % {
1543 % \schemabox{Subjectum \&\\
1544 % summa univer-\\
1545 % s\ae{} Scriptur\ae{},\\
1546 % est \textsc{Cognitio}\\
1547 % vel}
1548 % }
1549 % {
1550 % \Schema{0ex}{8ex}
1551 % {
1552 % \schemabox{\textsc{Dei}, qua-\\lis sit, aut}
1553 % }
1554 % {
1555 % \schema
1556 % {\schemabox{\textsc{Per se}:\\ scilicet.}}
1557 % {
1558 % \schemabox{Unus in essentia.}\smallskip
1559 % \schemabox{Trinus in personis.}
1560 % }\smallskip
1561 % \schema
1562 % {\schemabox{Ad hominem\\ quem vel}}
1563 % {
1564 % \schemabox{Accusat \& terret, \textsc{Per Legem},\\
1565 % Consolatur \& erigit, \textsc{Per Evangelium}.\\
1566 % Salvat, \textsc{Per Christum}.\\
1567 % Renovat, \textsc{Per Spiritum Sanctum}.\\
1568 % Sanctificat, \textsc{Per Verbum} \& \textsc{Sacramenta}.\\
1569 % Castigat, tentat \& exercet, \textsc{Per Crucem}.\\
1570 % Glorificat \textsc{Per Resurrectionem Carnis}\\
1571 % \textsc{\quad Ad Vitam \AE{}ternam}.}
1572 % }\medskip
1573 % }
1574 % \Schema{0ex}{16ex}
1575 % {
1576 % \schemabox{\textsc{Hominis},\\ qualis sit}
1577 % }
1578 % {
1579 % \Schema{0ex}{5ex}
1580 % {\schemabox{\textsc{Per se}:}}
1581 % {
1582 % \schemabox{Ante lapsum.}\smallskip
1583 % \schema
1584 % {\schemabox{Post lapsum:}}
1585 % {
1586 % \schemabox{Ante Regenerationem \&\\
1587 % Renovationem S. Sancti.}\medskip
1588 % \schemabox{Post Regenerationem \&\\
1589 % Renovationem S. Sancti.}\smallskip
1590 % }\smallskip
1591 % }
1592 % \Schema{0ex}{16ex}
1593 % {\schemabox{Ad}}
1594 % {
1595 % \schema
1596 % {\schemabox{\textsc{Deum},}}
1597 % {
1598 % \schemabox{P\oe{}nitentia agens, agnitis peccatis \&\\
1599 % ira Dei cognita \textsc{Ex Lege}.\\
1600 % Erigens se \textsc{Voce Evangelii}.\\
1601 % Credens \textsc{In Christum Salvatorem}.\\
1602 % Non repugnans \textsc{Spiritui Sancto} impellenti.\\
1603 % Audiens \textsc{Verbum}: \& utens \textsc{Sacramentis}.\\
1604 % Patienter \& constanter sufferens \textsc{Crucem}.\\
1605 % Sperans \& expectans glorificationem\\
1606 % \textsc{\quad In Resurrectione Carnis}\\
1607 % \textsc{\quad Ad Vitam \AE{}ternam}.}
1608 % }\smallskip
1609 % \schema
1610 % {\schemabox{seipsum ratione}}
1611 % {\schemabox{Anim\ae{}\\ vel\\ Corporis}}\smallskip
1612 % \Schema{0ex}{5ex}
1613 % {\schemabox{Proximum,}}
1614 % {
1615 % \schema
1616 % {\schemabox{Amicum ra-\\ tione vel}}
1617 % {
1618 % \schemabox{Religionis.\\
1619 % Politic\ae{} \& \OE{}conomic\ae{}.\\
1620 % Cognationis.\\
1621 % Agnationis.}
1622 % }\smallskip
1623 % \schemabox{Inimicum.}
1624 % }
1625 % }
1626 % }
1627 % }
1628 % \end{VerbatimOut}
1629 %
1630 % Next we estimate lines of text and blank lines between the top and bottom elements on the right-hand side of each \cmd{\Schema}. We put that number as ex height in \meta{size}. We can use the listing itself for estimating.
1631 %
1632 % \begin{itemize}
1633 % \item From ``\textsc{Dei}, qualis sit, aut'' (``Salvat'' at right) to ``\textsc{Hominis}, qualis sit'' (``Sperans'' at right), put in the \cmd{\Schema} with ``Subjectum \& summa\dots''.
1634 % \VerbatimInput[gobble=0,lastline=1]{\jobname.tmp}
1635 %
1636 % \item From ``\textsc{Per se}: scilicet'' (``Unus'' at right) to ``Ad hominem quem vel'' (``Sanctificat'' at right), put in the \cmd{\Schema} with ``\textsc{Dei}, qualis sit, aut''.
1637 % \VerbatimInput[gobble=0,firstline=10,lastline=10]{\jobname.tmp}
1638 %
1639 % \item From ``\textsc{Per se}'' (``Renovationem'' at right) to ``Ad'' (``\textsc{ad Vitam}'' at right), put in the \cmd{\Schema} with ``Ad hominem quem vel''.
1640 % \VerbatimInput[gobble=0,firstline=34,lastline=34]{\jobname.tmp}
1641 %
1642 % \item From ``Ante lapsum'' to ``Post lapsum'', put in the \cmd{\Schema} with ``\textsc{Per se}''.
1643 % \VerbatimInput[gobble=0,firstline=39,lastline=39]{\jobname.tmp}
1644 %
1645 % \item From ``\textsc{Deum}'' (``Non repugnans'' at right) to ``Proximum'' (``Cognationis'' at right), put in the \cmd{\Schema} with ``Ad''.
1646 % \VerbatimInput[gobble=0,firstline=52,lastline=52]{\jobname.tmp}
1647 %
1648 % \item From ``Amicum ratione vel'' (``Politic\ae{}'' at right) to ``Inimicum'', put in the \cmd{\Schema} with ``Proximum''.
1649 % \VerbatimInput[gobble=0,firstline=72,lastline=72]{\jobname.tmp}
1650 % \end{itemize}
1651 %
1652 % The following schema illustrates our ``ball park'' figures:
1653 %
1654 % \bgroup\small\begin{displaymath}
1655 % \input{\jobname.tmp}
1656 % \end{displaymath}\egroup\bigskip
1657 %
1658 % Finally we tweak \meta{adjust} values by counting the lines (\texttt{ex}) in the direction the left side needs to move relative to the right, multiply the result by two, and make it negative for up and positive for down. We also adjust the final \meta{size} of the braces.
1659 % \begin{VerbatimOut}{\jobname.tmp}
1660 % \Schema{-25ex}{20.6ex}
1661 % {
1662 % \schemabox{Subjectum \&\\
1663 % summa univer-\\
1664 % s\ae{} Scriptur\ae{},\\
1665 % est \textsc{Cognitio}\\
1666 % vel}
1667 % }
1668 % {
1669 % \Schema{-6.4ex}{8.5ex}
1670 % {
1671 % \schemabox{\textsc{Dei}, qua-\\lis sit, aut}
1672 % }
1673 % {
1674 % \schema
1675 % {\schemabox{\textsc{Per se}:\\ scilicet.}}
1676 % {
1677 % \schemabox{Unus in essentia.}\smallskip
1678 % \schemabox{Trinus in personis.}
1679 % }\smallskip
1680 % \schema
1681 % {\schemabox{Ad hominem\\ quem vel}}
1682 % {
1683 % \schemabox{Accusat \& terret, \textsc{Per Legem},\\
1684 % Consolatur \& erigit, \textsc{Per Evangelium}.\\
1685 % Salvat, \textsc{Per Christum}.\\
1686 % Renovat, \textsc{Per Spiritum Sanctum}.\\
1687 % Sanctificat, \textsc{Per Verbum} \& \textsc{Sacramenta}.\\
1688 % Castigat, tentat \& exercet, \textsc{Per Crucem}.\\
1689 % Glorificat \textsc{Per Resurrectionem Carnis}\\
1690 % \textsc{\quad Ad Vitam \AE{}ternam}.}
1691 % }\medskip
1692 % }
1693 % \Schema{-13.4ex}{17.4ex}
1694 % {
1695 % \schemabox{\textsc{Hominis},\\ qualis sit}
1696 % }
1697 % {
1698 % \Schema{-4.4ex}{5ex}
1699 % {\schemabox{\textsc{Per se}:}}
1700 % {
1701 % \schemabox{Ante lapsum.}\smallskip
1702 % \schema
1703 % {\schemabox{Post lapsum:}}
1704 % {
1705 % \schemabox{Ante Regenerationem \&\\
1706 % Renovationem S. Sancti.}\medskip
1707 % \schemabox{Post Regenerationem \&\\
1708 % Renovationem S. Sancti.}\smallskip
1709 % }\smallskip
1710 % }
1711 % \Schema{4.2ex}{14.4ex}
1712 % {\schemabox{Ad}}
1713 % {
1714 % \schema
1715 % {\schemabox{\textsc{Deum},}}
1716 % {
1717 % \schemabox{P\oe{}nitentia agens, agnitis peccatis \&\\
1718 % ira Dei cognita \textsc{Ex Lege}.\\
1719 % Erigens se \textsc{Voce Evangelii}.\\
1720 % Credens \textsc{In Christum Salvatorem}.\\
1721 % Non repugnans \textsc{Spiritui Sancto} impellenti.\\
1722 % Audiens \textsc{Verbum}: \& utens \textsc{Sacramentis}.\\
1723 % Patienter \& constanter sufferens \textsc{Crucem}.\\
1724 % Sperans \& expectans glorificationem\\
1725 % \textsc{\quad In Resurrectione Carnis}\\
1726 % \textsc{\quad Ad Vitam \AE{}ternam}.}
1727 % }\smallskip
1728 % \schema
1729 % {\schemabox{seipsum ratione}}
1730 % {\schemabox{Anim\ae{}\\ vel\\ Corporis}}\smallskip
1731 % \Schema{2ex}{5.1ex}
1732 % {\schemabox{Proximum,}}
1733 % {
1734 % \schema
1735 % {\schemabox{Amicum ra-\\ tione vel}}
1736 % {
1737 % \schemabox{Religionis.\\
1738 % Politic\ae{} \& \OE{}conomic\ae{}.\\
1739 % Cognationis.\\
1740 % Agnationis.}
1741 % }\smallskip
1742 % \schemabox{Inimicum.}
1743 % }
1744 % }
1745 % }
1746 % }
1747 % \end{VerbatimOut}
1748 %
1749 % \begin{quote}
1750 % \VerbatimInput[gobble=0,lastline=1]{\jobname.tmp}
1751 %
1752 % \VerbatimInput[gobble=0,firstline=10,lastline=10]{\jobname.tmp}
1753 %
1754 % \VerbatimInput[gobble=0,firstline=34,lastline=34]{\jobname.tmp}
1755 %
1756 % \VerbatimInput[gobble=0,firstline=39,lastline=39]{\jobname.tmp}
1757 %
1758 % \VerbatimInput[gobble=0,firstline=52,lastline=52]{\jobname.tmp}
1759 %
1760 % \VerbatimInput[gobble=0,firstline=72,lastline=72]{\jobname.tmp}
1761 % \end{quote}
1762 %
1763 % \bgroup\small\begin{displaymath}
1764 % \input{\jobname.tmp}
1765 % \end{displaymath}\egroup
1766 % \newpage
1767 %
1768 % Here is the final listing for our schema:
1769 %
1770 % \begin{quote}
1771 % \VerbatimInput[gobble=0,lastline=51]{\jobname.tmp}
1772 % \newpage
1773 %
1774 % \VerbatimInput[gobble=0,firstline=52]{\jobname.tmp}
1775 % \end{quote}
1776 %
1777 % \subsubsection{Another example}
1778 %
1779 % We use \cmd{\DoGroups} in a local scope for this next schema. The listing illustrates a more extensive use of spacing. The macro \cmd{\gk} uses \textsf{babel} to create Greek text. The version of \cmd{\gk} in \texttt{schematest.tex} can use either \textsf{babel} or \textsf{polyglossia} to create Greek text, or it can just show a transliteration. In this listing we do not break each line following the macro \cmd{\\} in a \cmd{\schemabox}.
1780 %
1781 % \begin{VerbatimOut}{\jobname.tmp}
1782 % \DoGroups
1783 % \Schema{-26ex}{21.5ex}
1784 % {
1785 % \schemabox{Sacr\ae{}\\ litter\ae{}\\ loquuntur,\\ de}
1786 % }
1787 % {
1788 % \schema
1789 % {
1790 % \schemabox{\textsc{Deo}}
1791 % }
1792 % {
1793 % \schemabox{Uno, in Trinitate.}\smallskip
1794 % \schemabox{Trino, in unitate.}
1795 % }
1796 % \Schema{-16.5ex}{23.4ex}
1797 % {
1798 % \vskip30ex
1799 % \schemabox{\textsc{Dei}\\ \textsc{Operibus}}
1800 % }
1801 % {
1802 % \schema
1803 % {
1804 % \schemabox{\textsc{Intra},\\ qu\ae{} sunt\\ divisa, ut}
1805 % }
1806 % {
1807 % \schemabox{\textsc{Patris}, ab \ae{}terno gignere.\\
1808 % \textsc{Filii}, ab \ae{}terno genitum esse.\\
1809 % \textsc{Spiritus Sancti}, ab utroque\\
1810 % ab \ae{}terno procedete.}
1811 % }\medskip
1812 % \Schema{-2ex}{21ex}
1813 % {
1814 % \schemabox{\textsc{Extra},\\ qu\ae{} sunt\\ indivisa;\\
1815 % tervata\\ tamen\\ cujusque\\ person\ae{}\\
1816 % divinitatis\\ sua pro-\\ prietate}
1817 % }
1818 % {
1819 % \Schema{-0.8ex}{6.4ex}
1820 % {
1821 % \schemabox{Creatione\\ natur\ae{}}
1822 % }
1823 % {
1824 % \schema
1825 % {
1826 % \schemabox{Brute ut}
1827 % }
1828 % {
1829 % \schemabox{C\oe{}li} \smallskip
1830 % \schemabox{Elementorum} \smallskip
1831 % \schemabox{Mundi}
1832 % }\smallskip
1833 % \schema
1834 % {
1835 % \schemabox{\gk{logik~hs}, ut}
1836 % }
1837 % {
1838 % \schemabox{Angelorum.} \smallskip
1839 % \schemabox{Hominum: Ad\ae{},\\
1840 % Ev\ae{} \& procreatorum\\ exipsis.}
1841 % }
1842 % }
1843 % \schema
1844 % {
1845 % \schemabox{Sustenatione\\ natur\ae{} laps\ae{},}
1846 % }
1847 % {
1848 % \schemabox{Angelorum malorum,} \smallskip
1849 % \schemabox{Hominum: Ad\ae{}, Ev\ae{}\\
1850 % \& procreatorum exipsis.}
1851 % }
1852 % \Schema{2.6ex}{8.8ex}
1853 % {
1854 % \schemabox{Beneficiis\\ erga Ecc-\\ lesiam: ea\\
1855 % versantur\\ aut circa}
1856 % }
1857 % {
1858 % \Schema{2.2ex}{7ex}
1859 % {
1860 % \schemabox{Res, ut}
1861 % }
1862 % {
1863 % \schema
1864 % {
1865 % \schemabox{Verbum}
1866 % }
1867 % {
1868 % \schemabox{Legis} \smallskip
1869 % \schemabox{Evangelii} \smallskip
1870 % \schemabox{Sacramentorum}
1871 % }\smallskip
1872 % \schema
1873 % {
1874 % \schemabox{Signa vel Veteris\\
1875 % vel Novi Testa-\\ mentum ut sunt:}
1876 % }
1877 % {
1878 % \schemabox{Ceremoni\ae{}} \smallskip
1879 % \schemabox{Miracula}
1880 % }
1881 % }
1882 % \smallskip
1883 % \Schema{1ex}{5ex}
1884 % {
1885 % \schemabox{Personas}
1886 % }
1887 % {
1888 % \schema
1889 % {
1890 % \schemabox{Ecclesi\ae{}}
1891 % }
1892 % {
1893 % \schemabox{Universalis} \smallskip
1894 % \schemabox{Particularis}
1895 % }
1896 % \smallskip
1897 % \schemabox{Politi\ae, ut Magistratuum}
1898 % \smallskip
1899 % \schemabox{\OE{}conomi\ae, ut privatorum}
1900 % }
1901 % }\vskip 2ex
1902 % }
1903 % }
1904 % }
1905 % \end{VerbatimOut}
1906 %
1907 % \begin{quote}
1908 % \VerbatimInput[gobble=0,lastline=5]{\jobname.tmp}
1909 % \newpage
1910 %
1911 % \VerbatimInput[gobble=0,firstline=6,lastline=61]{\jobname.tmp}
1912 % \newpage
1913 %
1914 % \VerbatimInput[gobble=0,firstline=62,lastline=114]{\jobname.tmp}
1915 % \newpage
1916 %
1917 % \VerbatimInput[gobble=0,firstline=115]{\jobname.tmp}
1918 % \end{quote}
1919 %
1920 % \bgroup\footnotesize\begin{displaymath}
1921 % \input{\jobname.tmp}
1922 % \end{displaymath}\egroup
1923 % \newpage
1924 %
1925 % \subsubsection[Open and Closed]{Open and Closed Schemata}
1926 % \label{sec:OpenClose}
1927 %
1928 % Now we look at schemata that have both open and closed braces. One must use \cmd{\Schema} to get delimiters to be the same height. These schemata take the form:
1929 % \begin{quote}\ttfamily
1930 % \cmd{\Schema}\{\textrm{\meta{adjust}}\}\{\textrm{\meta{height}}\}\\
1931 % \{\textrm{\meta{$left_1$}}\}\\
1932 % \{\\
1933 % \hbox{}\quad\cmd{\Schema}[close]\{\textrm{\meta{adjust}}\}\{\textrm{\meta{height}}\}\\
1934 % \hbox{}\quad\{\textrm{\meta{$left_2$}}\}\\
1935 % \hbox{}\quad\{\textrm{\meta{$right_2$}}\}\\
1936 % \}
1937 % \end{quote}
1938 %
1939 % \newbox\mybox
1940 % \def\Box#1{%^^A
1941 % \setbox\mybox=\hbox{\vrule\vbox{\hrule%^^A
1942 % \vfil\hbox{\strut\space #1\space}%^^A
1943 % \vfil\hrule}\vrule}%^^A
1944 % \dimen0=\ht\mybox%^^A
1945 % \advance\dimen0 by2ex%^^A
1946 % \hbox{\vrule\vbox to \dimen0{\hrule%^^A
1947 % \vfil\hbox{{\Large\strut}\space #1\space}%^^A
1948 % \vfil\hrule}\vrule}}
1949 % Perhaps we can better illustrate this nesting by using a modified version of the \cmd{\Box} macro from above:
1950 %
1951 % \begin{displaymath}
1952 % \Schema{0ex}{2ex}
1953 % {\Box{\,$left_1$}}
1954 % {%^^A
1955 % \Box{%^^A
1956 % \Schema[close]{0ex}{2ex}
1957 % {\hbox{\Box{\,$left_2$}\kern0.2em}}
1958 % {\Box{\,$right_2$}}%^^A
1959 % }%^^A
1960 % }
1961 % \end{displaymath}\medskip
1962 %
1963 % Here is another, more complex example:\medskip
1964 %
1965 % \begin{quote}
1966 % \begin{Verbatim}
1967 % \Schema{0ex}{6ex}
1968 % {\Box{a}}
1969 % {%
1970 % \Box{%
1971 % \Schema[close]{0ex}{6ex}
1972 % {%
1973 % \Box{%
1974 % \Schema{0ex}{3ex}
1975 % {\Box{b}}
1976 % {%
1977 % \Box{%
1978 % \Schema[close]{0ex}{3ex}
1979 % {\hbox{\Box{c}\kern0.2em}}
1980 % {\Box{d}}
1981 % }
1982 % }
1983 % }
1984 % }
1985 % {\Box{e}}
1986 % }
1987 % }
1988 % \end{Verbatim}
1989 % \end{quote}
1990 %
1991 % \begin{displaymath}
1992 % \Schema{0ex}{6ex}
1993 % {\Box{a}}
1994 % {%^^A
1995 % \Box{%^^A
1996 % \Schema[close]{0ex}{6ex}
1997 % {%^^A
1998 % \Box{%^^A
1999 % \Schema{0ex}{3ex}
2000 % {\Box{b}}
2001 % {%^^A
2002 % \Box{%^^A
2003 % \Schema[close]{0ex}{3ex}
2004 % {\hbox{\Box{c}\kern0.2em}}
2005 % {\Box{d}}
2006 % }
2007 % }
2008 % }
2009 % }
2010 % {\Box{e}}
2011 % }
2012 % }
2013 % \end{displaymath}
2014 %
2015 % Now we move on to another example from the \textit{Loci}. As above, one must use \cmd{\Schema} to prevent the opening braces from being slightly larger than the closing braces. First we show the schema, then we show the listing.
2016 %
2017 % \begin{VerbatimOut}{\jobname.tmp}
2018 % \Schema{-1.4ex}{10ex}
2019 % {\schemabox{Qu\ae{} sit\\ \textsc{Dei}, vel}}
2020 % {
2021 % \Schema{-1ex}{5ex}
2022 % {\schemabox{\textsc{Essentia}, in}}
2023 % {
2024 % \vskip1ex\schemabox{Unitate divina,}
2025 % \medskip
2026 % \Schema{0ex}{3.4ex}
2027 % {\schemabox{Tribus perso-\\ nis divinitatis}}
2028 % {
2029 % \Schema[close]{0ex}{3.4ex}
2030 % {\NudgeSB\schemabox{Patre,\\ Filio,\\ Spiritui Sancto}}
2031 % {\schemabox{\gk{<omoous'iois}\\ \& co\ae{}ternis}}
2032 % }
2033 % }
2034 % \medskip
2035 % \Schema{-0.2ex}{6.4ex}
2036 % {\schemabox{\textsc{Voluntas},\\ revelatur in\\ actione, sive}}
2037 % {
2038 % \Schema{0ex}{3.4ex}
2039 % {\schemabox{Universali}}
2040 % {
2041 % \Schema[close]{0ex}{3.4ex}
2042 % {\schemabox{Creationis,\\ Sustenationis,\\ Propagationis,}}
2043 % {\schemabox{rerum creatarum.}}
2044 % }
2045 % \medskip
2046 % \schema
2047 % {\schemabox{Speciali, in beneficiis\\ erga Ecclesiam, eam}}
2048 % {\schemabox{Colligendo.\\ Justificando.\\
2049 % Conservando.\\ Glorificando.}}
2050 % }
2051 % }
2052 % \end{VerbatimOut}
2053 %
2054 % The macro \cmd{\gk} uses \textsf{babel}. The version included in \texttt{schematest.tex} can use \textsf{babel}, \textsf{polyglossia} or just transliterated text.
2055 %
2056 % \begin{quote}
2057 % \VerbatimInput[gobble=0]{\jobname.tmp}
2058 % \end{quote}
2059 %
2060 % \bgroup\small\begin{displaymath}
2061 % \input{\jobname.tmp}
2062 % \end{displaymath}\egroup
2063 % \newpage
2064 %
2065 % \subsection{Fixed-Width Boxes}
2066 % \label{sec:multiple}
2067 %
2068 % \begin{VerbatimOut}{\jobname.tmp}
2069 % \Schema{0ex}{15ex}
2070 % {\schemabox{\bfseries Curricula\\\bfseries Texts}}
2071 % {
2072 % \DoBrackets%
2073 % \setbox\mybox=\hbox{\bfseries III. Philosophical }%
2074 % \dimen0=\wd\mybox%
2075 % \schema
2076 % {\schemabox[\dimen0]
2077 % {\bfseries I. General\\Studies}}
2078 % {\NudgeSB[before]%
2079 % \schemabox
2080 % {1. Collected Works\\
2081 % 2. Encyclopedias}}
2082 % \medskip
2083 % \schema
2084 % {\schemabox[\dimen0]
2085 % {\bfseries II. Literary\\Disciplines}}
2086 % {\NudgeSB[before]%
2087 % \schemabox{1. Philology\\
2088 % 2. Historical Introduction\\
2089 % 3. Literary Theory\\
2090 % 4. Application}}
2091 % \medskip
2092 % \schema
2093 % {\schemabox[\dimen0]
2094 % {\bfseries III. Philosophical\\Disciplines}}
2095 % {\NudgeSB[before]%
2096 % \schemabox{1. Source Texts\\
2097 % 2. History of Philosophy\\
2098 % 3. General Surveys\\
2099 % 4. Specific Studies}}
2100 % \medskip
2101 % \schema
2102 % {\schemabox[\dimen0]
2103 % {\bfseries IV. Historical\\Disciplines}}
2104 % {\NudgeSB[before]%
2105 % \schemabox{1. General Surveys\\
2106 % 2. Specialized Works}}
2107 % }
2108 % \end{VerbatimOut}
2109 %
2110 % This final example illustrates using \cmd{\schemabox} with a fixed width. We have defined \cmd{\mybox} elsewhere with \cmd{\newbox}. Bear in mind that \cmd{\newbox} is an outer macro in \PlainTeX.
2111 %
2112 % \begin{quote}
2113 % \VerbatimInput[gobble=0]{\jobname.tmp}
2114 % \end{quote}
2115 % \newpage
2116 %
2117 % \bgroup\begin{displaymath}
2118 % \input{\jobname.tmp}
2119 % \end{displaymath}\egroup
2120 %
2121 %\StopEventually{^^A
2122 % \newgeometry{textwidth=160mm,textheight=237mm,right=25mm}
2123 % \PrintChanges\newpage\PrintIndex
2124 %}
2125 % \iffalse
2126 %<*package>
2127 % \fi
2128 %
2129 % \section{Implementation}
2130 %
2131 % Shorter macros are written entirely in both \LaTeX\ and \TeX. Longer macros implement both a \LaTeX\ front end and a generic front end with a common \TeX\ back end. If the format is \texttt{LaTeX2e} then the macros use the \LaTeXe{} front end. Otherwise they use generic \TeX, meaning \PlainTeX, eplain, and Lollipop\,---\,maybe others too, but they are not supported.
2132 %
2133 %In order to support the largest diversity of formats and \TeX\ engines, we avoid newer primitives like \cmd{\unless} and \texttt{\textbackslash ifdefined}. Thus, we must revert to the ``old'' way of testing whether or not a macro is defined.
2134 %
2135 % \begin{macro}{\schemataLaTeX}
2136 % \changes{1.0}{2020/03/13}{Added format-specific features}
2137 % \changes{1.3}{2020/03/13}{Fix format detection bug}
2138 % Below we manually duplicate with verbatim material what we put early in the \texttt{dtx} file for the versioning information to work. The \cmd{\schemataLaTeX} macro normally is undefined until it is assigned the value of \texttt{LaTeX2e}, to be compared with \cmd{\fmtname}. If we are not using \LaTeXe, we do the equivalent of \cmd{\makeatletter} in either \PlainTeX\ or eplain.\medskip
2139 %
2140 % \begin{quote}
2141 % \begin{Verbatim}[fontsize=\footnotesize]
2142 % %<package>\expandafter\ifx \csname schemataLaTeX\endcsname\relax
2143 % %<package> \def\schemataLaTeX{LaTeX2e}\fi
2144 % %<package>\ifx\fmtname\schemataLaTeX
2145 % %<package>\expandafter\NeedsTeXFormat\expandafter{\schemataLaTeX}[2005/12/01]
2146 % %<package>\ProvidesPackage{schemata}
2147 % %<*package>
2148 % [2025/08/27 1.5 generic package to aid construction of topical categories]
2149 % %</package>
2150 % %<package>\else
2151 % %<package>\catcode`@=11\relax
2152 % %<package>\fi
2153 % \end{Verbatim}
2154 % \end{quote}
2155 % \end{macro}
2156 % \makeatletter\advance\c@CodelineNo by 11\makeatother
2157 %
2158 % \subsection{Internal Variables}
2159 %
2160 % \begin{macro}{\@schemata@LaTeX}
2161 % \changes{1.3}{2020/12/02}{Added}
2162 % We declare the macro \cmd{\@schemata@LaTeX} to be the value of \cmd{\schemataLaTeX} to safeguard package operation. From this point onward we can display or query \cmd{\schemataLaTeX} for user-side tests without affecting package internals.
2163 %
2164 % \begin{macrocode}
2165 \edef\@schemata@LaTeX{\schemataLaTeX}
2166 % \end{macrocode}
2167 % \end{macro}
2168 %
2169 %Two box registers and two dimen registers are used to analyze the left-hand and right-hand vertical sizes of the boxes in a schema. Three more dimen registers are for scratchwork.
2170 %
2171 % \begin{macrocode}
2172 \newbox\@schemata@rhs%
2173 \newbox\@schemata@lhs%
2174 \newdimen\@schemata@rheight%
2175 \newdimen\@schemata@lheight%
2176 \newdimen\@schemata@one%
2177 \newdimen\@schemata@two%
2178 \newdimen\@schemata@three%
2179 % \end{macrocode}
2180 %
2181 % Two Boolean flags affect the height of a \cmd{\schemabox}, respectively setting and toggling that height for lowercase and uppercase content in order to add or remove space for boxes with only lowercase text.
2182 %
2183 % \begin{macrocode}
2184 \newif\if@schemata@LCBox%
2185 \newif\if@schemata@SWBox%
2186 % \end{macrocode}
2187 %
2188 % These Boolean flags determine if a kern should be added to the beginning or the end of each line in a \cmd{\schemabox} (helps with closed braces and certain delimiters).
2189 %
2190 % \begin{macrocode}
2191 \newif\if@schemata@LNudge%
2192 \newif\if@schemata@RNudge%
2193 % \end{macrocode}
2194 %
2195 % \subsection{Package Options}
2196 %
2197 % We set braces to be the default set of delimiters. Apart from \LaTeXe{} we ignore the options. Four options are implemented, namely, \texttt{braces} (the default), \texttt{brackets}, \texttt{parens}, and \texttt{groups}. Since the options are used infrequently, we naively process them in whatever order we get, each overwriting the last.
2198 %
2199 % \begin{macrocode}
2200 \ifx\fmtname\@schemata@LaTeX
2201 \DeclareOption{braces}%
2202 {\let\@schemata@LD\lbrace%
2203 \let\@schemata@RD\rbrace}
2204 \DeclareOption{brackets}%
2205 {\let\@schemata@LD\lbrack%
2206 \let\@schemata@RD\rbrack}
2207 \DeclareOption{parens}%
2208 {\let\@schemata@LD(%
2209 \let\@schemata@RD)}
2210 \DeclareOption{groups}%
2211 {\let\@schemata@LD\lgroup%
2212 \let\@schemata@RD\rgroup}
2213 \ExecuteOptions{braces}%
2214 \ProcessOptions\relax
2215 \else
2216 \let\@schemata@LD\lbrace%
2217 \let\@schemata@RD\rbrace%
2218 \fi
2219 % \end{macrocode}
2220 % \newpage
2221 %
2222 % \subsection {Macros}
2223 %
2224 % \begin{macro}{\DoBraces}
2225 % \changes{0.6}{2013/03/10}{Added macro}
2226 % \changes{1.0}{2020/03/13}{Ensure short macro}
2227 % Set the delimiters to be braces. This is local to a scope, including within a schema.
2228 %
2229 % \begin{macrocode}
2230 \ifx\fmtname\@schemata@LaTeX
2231 \newcommand*{\DoBraces}%
2232 {\let\@schemata@LD\lbrace%
2233 \let\@schemata@RD\rbrace}
2234 \else
2235 \def\DoBraces%
2236 {\let\@schemata@LD\lbrace%
2237 \let\@schemata@RD\rbrace}
2238 \fi
2239 % \end{macrocode}
2240 % \end{macro}
2241 %
2242 % \begin{macro}{\DoBrackets}
2243 % \changes{0.6}{2013/03/10}{Added macro}
2244 % \changes{1.0}{2020/03/13}{Ensure short macro}
2245 % Set the delimiters to be brackets. This is local, as above.
2246 %
2247 % \begin{macrocode}
2248 \ifx\fmtname\@schemata@LaTeX
2249 \newcommand*{\DoBrackets}%
2250 {\let\@schemata@LD\lbrack%
2251 \let\@schemata@RD\rbrack}
2252 \else
2253 \def\DoBrackets%
2254 {\let\@schemata@LD\lbrack%
2255 \let\@schemata@RD\rbrack}
2256 \fi
2257 % \end{macrocode}
2258 % \end{macro}
2259 %
2260 % \begin{macro}{\DoParens}
2261 % \changes{0.6}{2013/03/10}{Added macro}
2262 % \changes{1.0}{2020/03/13}{Ensure short macro}
2263 % Set the delimiters to be parentheses. This is local, as above.
2264 %
2265 % \begin{macrocode}
2266 \ifx\fmtname\@schemata@LaTeX
2267 \newcommand*{\DoParens}%
2268 {\let\@schemata@LD(%
2269 \let\@schemata@RD)}
2270 \else
2271 \def\DoParens%
2272 {\let\@schemata@LD(%
2273 \let\@schemata@RD)}
2274 \fi
2275 % \end{macrocode}
2276 % \end{macro}
2277 %
2278 % \begin{macro}{\DoGroups}
2279 % \changes{1.0}{2020/03/13}{Added macro}
2280 % Set the delimiters to be parentheses. This is local, as above.
2281 %
2282 % \begin{macrocode}
2283 \ifx\fmtname\@schemata@LaTeX
2284 \newcommand*{\DoGroups}%
2285 {\let\@schemata@LD\lgroup%
2286 \let\@schemata@RD\rgroup}
2287 \else
2288 \def\DoGroups%
2289 {\let\@schemata@LD\lgroup%
2290 \let\@schemata@RD\rgroup}
2291 \fi
2292 % \end{macrocode}
2293 % \end{macro}
2294 %
2295 % \begin{macro}{\LCschema}
2296 % \changes{0.6}{2013/03/10}{Added macro}
2297 % \changes{1.0}{2020/03/13}{Ensure short macro}
2298 % Prevent \cmd{\schemabox} from adding a \cmd{\strut} in the first line.
2299 %
2300 % \begin{macrocode}
2301 \ifx\fmtname\@schemata@LaTeX
2302 \newcommand*{\LCschema}{\@schemata@LCBoxtrue}
2303 \else
2304 \def\LCschema{\@schemata@LCBoxtrue}
2305 \fi
2306 % \end{macrocode}
2307 % \end{macro}
2308 %
2309 % \begin{macro}{\UCschema}
2310 % \changes{0.6}{2013/03/10}{Added macro}
2311 % \changes{1.0}{2020/03/13}{Ensure short macro}
2312 % Permit \cmd{\schemabox} to add a \cmd{\strut} in the first line (default).
2313 %
2314 % \begin{macrocode}
2315 \ifx\fmtname\@schemata@LaTeX
2316 \newcommand*{\UCschema}{\@schemata@LCBoxfalse}
2317 \else
2318 \def\UCschema{\@schemata@LCBoxfalse}
2319 \fi
2320 % \end{macrocode}
2321 % \end{macro}
2322 %
2323 % \begin{macro}{\SwitchSB}
2324 % \changes{0.6}{2013/03/10}{Added macro}
2325 % \changes{1.0}{2020/03/13}{Ensure short macro}
2326 % Flip the UC/LC settings for one \cmd{\schemabox}, which will reset this value on exit.
2327 %
2328 % \begin{macrocode}
2329 \ifx\fmtname\@schemata@LaTeX
2330 \newcommand*{\SwitchSB}{\@schemata@SWBoxtrue}%
2331 \else
2332 \def\SwitchSB{\@schemata@SWBoxtrue}
2333 \fi
2334 % \end{macrocode}
2335 % \end{macro}
2336 %
2337 % \begin{macro}{\NudgeSB}
2338 % \changes{0.8}{2016/01/25}{Added macro}
2339 % \changes{1.0}{2020/03/13}{Ensure short macro}
2340 % \changes{1.5}{2025/08/27}{Select kerns for left or right}
2341 % Add a kern to the beginning or the end (or both, if invoked twice) of each line in one \cmd{\schemabox}. This will be reset on exit from that \cmd{\schemabox}. First comes the front end:
2342 %
2343 % \begin{macrocode}
2344 \ifx\fmtname\@schemata@LaTeX
2345 \newcommand*{\NudgeSB}[1][right]{\@schemata@NudgeSB[#1]}
2346 \else
2347 \def\NudgeSB{\futurelet\@schemata@testchar\@schemata@N@dgeSB}
2348 \def\@schemata@N@dgeSB{%
2349 \ifx[\@schemata@testchar
2350 \let\next\@schemata@NudgeSB%
2351 \else
2352 \let\next\@schemata@@NudgeSB%
2353 \fi
2354 \next%
2355 }%
2356 \def\@schemata@@NudgeSB{\@schemata@NudgeSB[right]}
2357 \fi
2358 % \end{macrocode}
2359 % Next comes the common back end:
2360 % \begin{macrocode}
2361 \def\@schemata@NudgeSB[#1]{%
2362 \edef\@schemata@NudgeTest{#1}%
2363 \def\@schemata@NudgeDefault{right}%
2364 \ifx\@schemata@NudgeTest\@schemata@NudgeDefault
2365 \@schemata@RNudgetrue%
2366 \else
2367 \@schemata@LNudgetrue%
2368 \fi
2369 }
2370 % \end{macrocode}
2371 % \end{macro}
2372 %
2373 % \begin{macro}{\SBNudgeFactor}
2374 % \changes{1.0}{2020/03/13}{Added macro}
2375 % Define the \texttt{\textbackslash kern} to be added to the end of each line in one \cmd{\schemabox}. The default is \texttt{0.2em}, equal to the horizontal corrective.
2376 %
2377 % \begin{macrocode}
2378 \ifx\fmtname\@schemata@LaTeX
2379 \newcommand{\SBNudgeFactor}{\kern0.2em}
2380 \else
2381 \def\SBNudgeFactor{\kern0.2em}
2382 \fi
2383 % \end{macrocode}
2384 % \end{macro}
2385 % \newpage
2386 %
2387 % \begin{macro}{\schemabox}
2388 % \changes{0.6}{2013/03/10}{Added lowercase tweaks}
2389 % \changes{0.8}{2016/01/25}{Added nudge feature; fix errors when not in internal vertical mode}
2390 % \changes{1.0}{2020/03/13}{Create front- and back-end; ensure short}
2391 % \changes{1.2}{2020/11/23}{Fix namespace}
2392 % \changes{1.5}{2025/08/27}{Add kerns on left, right, or both}
2393 % If in internal vertical mode, restricted horizontal mode, or math mode, wrap a stack of \cmd{\hbox}es in a \cmd{\vbox}, then put that inside an \cmd{\hbox}. The first argument sets an optional width for those \cmd{\hbox}es. Normally insert a \cmd{\strut} in the first \cmd{\hbox}. The second argument contains the rows of horizontal material, where |\\| is redefined to end one \cmd{\hbox} and begin another. Add kerns as directed by \cmd{\NudgeSB}. When in any other mode, just display the second argument as text. First is the front end:
2394 %
2395 % \begin{macrocode}
2396 \ifx\fmtname\@schemata@LaTeX
2397 \newcommand*{\schemabox}[2][0pt]{\@schemata@schemabox[#1]{#2}}
2398 \else
2399 \def\schemabox{\futurelet\@schemata@testchar\@schemata@schemab@x}
2400 \def\@schemata@schemab@x{%
2401 \ifx[\@schemata@testchar
2402 \let\next\@schemata@schemabox%
2403 \else
2404 \let\next\@schemata@@schemab@x%
2405 \fi
2406 \next%
2407 }%
2408 \def\@schemata@@schemab@x#1{\@schemata@schemabox[0pt]{#1}}
2409 \fi
2410 % \end{macrocode}
2411 % Next comes the common back end:
2412 % \begin{macrocode}
2413 \def\@schemata@schemabox[#1]#2{%
2414 \ifinner
2415 \if@schemata@LCBox
2416 \def\@schemata@Adj{}%
2417 \if@schemata@SWBox\def\@schemata@Adj{\strut}\fi
2418 \else
2419 \def\@schemata@Adj{\strut}%
2420 \if@schemata@SWBox\def\@schemata@Adj{}\fi
2421 \fi
2422 \if@schemata@RNudge
2423 \let\@schemata@NudgeR\SBNudgeFactor%
2424 \else
2425 \def\@schemata@NudgeR{}%
2426 \fi
2427 \if@schemata@LNudge
2428 \let\@schemata@NudgeL\SBNudgeFactor%
2429 \else
2430 \def\@schemata@NudgeL{}%
2431 \fi
2432 \ifdim#1<1pt
2433 \def\\{\@schemata@NudgeR\egroup%
2434 \hbox\bgroup\@schemata@NudgeL\ignorespaces }%
2435 \vbox{\hbox\bgroup%
2436 \@schemata@Adj\@schemata@NudgeL\ignorespaces #2%
2437 \@schemata@NudgeR\egroup}%
2438 \else
2439 \def\\{\hfil\egroup%
2440 \hbox to #1\bgroup\@schemata@NudgeL\ignorespaces }%
2441 \vbox{\hbox to #1\bgroup%
2442 \@schemata@Adj\@schemata@NudgeL\ignorespaces #2%
2443 \hfil\egroup}%
2444 \fi
2445 \else
2446 #2%
2447 \fi
2448 \@schemata@SWBoxfalse%
2449 \@schemata@RNudgefalse%
2450 \@schemata@LNudgefalse%
2451 }
2452 % \end{macrocode}
2453 % \end{macro}
2454 %
2455 % \begin{macro}{\schema}
2456 % \changes{1.0}{2020/03/13}{Create front- and back-end; ensure long}
2457 % \changes{1.2}{2020/11/23}{Fix namespace}
2458 % \changes{1.5}{2025/08/27}{Better arg check}
2459 % This ``simple'' schema vertically centers two boxes of internal vertical material and puts a ``simple'' brace between the boxes based on the height of the box and the options passed to the schema.
2460 %
2461 % There is something of a ``magic'' value for adjusting the height used for the larger side of a \cmd{\schema}, namely \texttt{1.44265ex}. By using this adjustment, which is slightly larger than $\sqrt{2}$ times the ex-height of the font, the results look more aesthetically pleasing in terms of centering and size of the braces.
2462 %
2463 % By default, a schema has a box to the left, an open delimiter, and a box to the right. If any optional argument other than \texttt{open} is used, the schema prints a box to the left, a close brace, and a box to the right. First is the front end:
2464 %
2465 % \begin{macrocode}
2466 \ifx\fmtname\@schemata@LaTeX
2467 \newcommand{\schema}[3][open]{%
2468 \@schemata@schema[#1]{#2}{#3}}
2469 \else
2470 \long\def\schema{\futurelet\@schemata@testchar\@schemata@schem@}
2471 \long\def\@schemata@schem@{%
2472 \ifx[\@schemata@testchar
2473 \let\next\@schemata@schema%
2474 \else
2475 \let\next\@schemata@@schem@%
2476 \fi
2477 \next%
2478 }%
2479 \long\def\@schemata@@schem@#1#2{%
2480 \@schemata@schema[open]{#1}{#2}}
2481 \fi
2482 % \end{macrocode}
2483 % Next comes the common back end:
2484 % \begin{macrocode}
2485 \long\def\@schemata@schema[#1]#2#3{%
2486 \edef\@schemata@option{#1}%
2487 \def\@schemata@open{open}%
2488 \ifx\@schemata@option\@schemata@open
2489 \setbox\@schemata@rhs=\vbox{#3}%
2490 \@schemata@rheight=\ht\@schemata@rhs%
2491 \advance\@schemata@rheight\dp\@schemata@rhs%
2492 \advance\@schemata@rheight by 1.44265ex%
2493 \hbox{$\vcenter{#2}%
2494 \@schemata@lbrace{\@schemata@rheight}%
2495 \vcenter{#3}$}%
2496 \else
2497 \setbox\@schemata@lhs=\vbox{#2}%
2498 \@schemata@lheight=\ht\@schemata@lhs%
2499 \advance\@schemata@lheight\dp\@schemata@lhs%
2500 \advance\@schemata@lheight by 1.44265ex%
2501 \hbox{$\vcenter{#2}%
2502 \kern-0.2em\@schemata@rbrace{\@schemata@lheight}%
2503 \vcenter{#3}$}%
2504 \fi
2505 }
2506 % \end{macrocode}
2507 % \end{macro}
2508 %
2509 % \begin{macro}{\Schema}
2510 % \changes{1.0}{2020/03/13}{Create front- and back-end; ensure long}
2511 % \changes{1.2}{2020/11/23}{Fix namespace}
2512 % \changes{1.5}{2025/08/27}{Better arg check}
2513 % This is the general-purpose form of schemata. The arguments include whether it is an open or closed schema, the vertical adjustment of the left-hand side and delimiter over against the right-hand side, the size of the brace, and the contents of the left and right-hand sizes. It works about the same as above, but requires manual adjustment of the braces. Again we see the ``magic'' height adjustment value of \texttt{1.44265ex}. First is the front end:
2514 %
2515 % \begin{macrocode}
2516 \ifx\fmtname\@schemata@LaTeX
2517 \newcommand{\Schema}[5][open]{%
2518 \@schemata@Schema[#1]{#2}{#3}{#4}{#5}}
2519 \else
2520 \long\def\Schema{\futurelet\@schemata@testchar\@schemata@Schem@}
2521 \long\def\@schemata@Schem@{%
2522 \ifx[\@schemata@testchar
2523 \let\next\@schemata@Schema%
2524 \else
2525 \let\next\@schemata@@Schem@%
2526 \fi
2527 \next%
2528 }%
2529 \long\def\@schemata@@Schem@#1#2#3#4{%
2530 \@schemata@Schema[open]{#1}{#2}{#3}{#4}}
2531 \fi
2532 % \end{macrocode}
2533 % Next comes the common back end:
2534 % \begin{macrocode}
2535 \long\def\@schemata@Schema[#1]#2#3#4#5{%
2536 \edef\@schemata@option{#1}%
2537 \def\@schemata@open{open}%
2538 \@schemata@one=#2%
2539 \ifx\@schemata@option\@schemata@open
2540 \hbox{$\vcenter{\vskip1.44265\@schemata@one#4}%
2541 \@schemata@biglbrace{#2}{#3}\vcenter{#5}$}%
2542 \else
2543 \hbox{$\vcenter{\vskip1.44265\@schemata@one#4}\kern-0.2em%
2544 \@schemata@bigrbrace{#2}{#3}\vcenter{#5}$}%
2545 \fi
2546 }
2547 % \end{macrocode}
2548 % \end{macro}
2549 %
2550 % \begin{macro}{\@schemata@lbrace}
2551 % \changes{0.8}{2016/01/25}{Renamed}
2552 % \changes{1.0}{2020/03/13}{Ensure short macro}
2553 % Draw an on-center delimiter to the left of a simple box.
2554 %
2555 % \begin{macrocode}
2556 \ifx\fmtname\@schemata@LaTeX
2557 \newcommand*{\@schemata@lbrace}[1]{%
2558 \ifmmode
2559 \left.\vcenter{\vbox to #1{\vfil}}\right\@schemata@LD%
2560 \fi
2561 }
2562 \else
2563 \def\@schemata@lbrace#1{%
2564 \ifmmode
2565 \left.\vcenter{\vbox to #1{\vfil}}\right\@schemata@LD%
2566 \fi
2567 }
2568 \fi
2569 % \end{macrocode}
2570 % \end{macro}
2571 % \newpage
2572 %
2573 % \begin{macro}{\@schemata@rbrace}
2574 % \changes{0.8}{2016/01/25}{Renamed}
2575 % \changes{1.0}{2020/03/13}{Ensure short macro}
2576 % Draw an on-center delimiter to the right of a simple box.
2577 %
2578 % \begin{macrocode}
2579 \ifx\fmtname\@schemata@LaTeX
2580 \newcommand*{\@schemata@rbrace}[1]{%
2581 \ifmmode
2582 \left\@schemata@RD\vcenter{\vbox to #1{\vfil}}\right.%
2583 \fi
2584 }
2585 \else
2586 \def\@schemata@rbrace#1{%
2587 \ifmmode
2588 \left\@schemata@RD\vcenter{\vbox to #1{\vfil}}\right.%
2589 \fi
2590 }
2591 \fi
2592 % \end{macrocode}
2593 % \end{macro}
2594 %
2595 % \begin{macro}{\@schemata@biglbrace}
2596 % \changes{0.8}{2016/01/25}{Renamed; use absolute value of brace size}
2597 % \changes{1.0}{2020/03/13}{Ensure short; front- and back-end}
2598 % Draw a vertically-adjustable delimiter to the left of a complex assortment of boxes. Again we see the ``magic'' height adjustment value of \texttt{1.44265ex}, but both positive and negative. First is the front end:
2599 %
2600 % \begin{macrocode}
2601 \ifx\fmtname\@schemata@LaTeX
2602 \newcommand*{\@schemata@biglbrace}[2]{%
2603 \@schemata@@biglbrace{#1}{#2}}
2604 \else
2605 \def\@schemata@biglbrace#1#2{%
2606 \@schemata@@biglbrace{#1}{#2}}
2607 \fi
2608 % \end{macrocode}
2609 % Next comes the common back end:
2610 % \begin{macrocode}
2611 \def\@schemata@@biglbrace#1#2{%
2612 \@schemata@one=#1%
2613 \@schemata@two=#2%
2614 \@schemata@three=-\@schemata@two%
2615 \ifdim\@schemata@three>\@schemata@two%
2616 \@schemata@two=\@schemata@three\fi
2617 \ifdim\@schemata@one<0pt
2618 \ifmmode\vcenter{\hbox{$\left.%
2619 \vbox to 1.44265\@schemata@two{\vfil}%
2620 \right\@schemata@LD%
2621 \atop\vbox to -1.44265\@schemata@one{\vfil}$}}\fi
2622 \else
2623 \ifmmode\vcenter{\hbox{$\vbox to 1.44265\@schemata@one{\vfil}%
2624 \atop\left.%
2625 \vbox to 1.44265\@schemata@two{\vfil}%
2626 \right\@schemata@LD$}}\fi
2627 \fi
2628 }
2629 % \end{macrocode}
2630 % \end{macro}
2631 %
2632 % \begin{macro}{\@schemata@bigrbrace}
2633 % \changes{0.8}{2016/01/25}{Renamed; Use absolute value of brace size}
2634 % \changes{1.0}{2020/03/13}{Ensure short; front- and back-end}
2635 % Draw a vertically-adjustable delimiter to the right of a complex assortment of boxes. Again we see the ``magic'' height adjustment value of \texttt{1.44265ex}, but both positive and negative. First is the front end:
2636 %
2637 % \begin{macrocode}
2638 \ifx\fmtname\@schemata@LaTeX
2639 \newcommand*{\@schemata@bigrbrace}[2]{%
2640 \@schemata@@bigrbrace{#1}{#2}%
2641 }
2642 \else
2643 \def\@schemata@bigrbrace#1#2{%
2644 \@schemata@@bigrbrace{#1}{#2}%
2645 }
2646 \fi
2647 % \end{macrocode}
2648 % Next comes the common back end:
2649 % \begin{macrocode}
2650 \def\@schemata@@bigrbrace#1#2{%
2651 \@schemata@one=#1%
2652 \@schemata@two=#2%
2653 \@schemata@three=-\@schemata@two%
2654 \ifdim\@schemata@three>\@schemata@two%
2655 \@schemata@two=\@schemata@three\fi
2656 \ifdim\@schemata@one<0pt
2657 \ifmmode\vcenter{\hbox{$\left.%
2658 \vbox to 1.44265\@schemata@two{\vfil}%
2659 \right\@schemata@RD%
2660 \atop\vbox to -1.44265\@schemata@one{\vfil}$}}\fi
2661 \else
2662 \ifmmode\vcenter{\hbox{$\vbox to 1.44265\@schemata@one{\vfil}%
2663 \atop\left.%
2664 \vbox to 1.44265\@schemata@two{\vfil}%
2665 \right\@schemata@RD$}}\fi
2666 \fi
2667 }
2668 % \end{macrocode}
2669 % \end{macro}
2670 %
2671 % If we are not using \LaTeXe, we do the equivalent of \cmd{\makeatother}.
2672 %
2673 % \begin{macrocode}
2674 \ifx\fmtname\@schemata@LaTeX\else
2675 \catcode`@=12\relax
2676 \fi
2677 % \end{macrocode}
2678 % \Finale
2679 % \endinput
2680 %</package>
2681 %<*examples>
2682 %<<examplesvb
2683 \def\nameofplain{plain}
2684 \def\nameofeplain{eplain}
2685 \def\nameoflatex{LaTeX2e}
2686 \def\nameoflollipop{Lollipop}
2687 %
2688 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2689 % See README.md for compiling this document.
2690 %
2691 \ifx\fmtname\nameoflatex
2692 \documentclass[10pt]{article}
2693 \expandafter\ifx \csname Umathchar\endcsname\relax
2694 \usepackage[T1]{fontenc}
2695 \usepackage[polutonikogreek,american]{babel}
2696 \else
2697 \usepackage{fontspec}
2698 \usepackage{polyglossia}
2699 \setdefaultlanguage{american}
2700 \setotherlanguage[variant=ancient]{greek}
2701 \newfontfamily\greekfont{GFSDidot.otf}
2702 \fi
2703 %
2704 % Using the default option is a secondary test for mode detection.
2705 %
2706 \usepackage[braces]{schemata}[2021/02/27]
2707 \begin{document}
2708 \else
2709 \def\bfseries{\bf}
2710 \ifx\fmtname\nameoflollipop
2711 \input schemata.sty
2712 \font\scshape=cmcsc10
2713 \def\textsc#1{\bgroup\scshape #1\egroup}
2714 \Start
2715 \else
2716 \input schemata.sty
2717 \font\scshape=cmcsc10
2718 \def\textsc#1{\bgroup\scshape #1\egroup}
2719 \fi
2720 \fi
2721 %
2722 % Handle various ways of dealing with Greek.
2723 %
2724 \def\gk#1#2#3{%
2725 % Only show Greek text when using LaTeX2e
2726 \ifx\fmtname\nameoflatex
2727 \expandafter\ifx \csname Umathchar\endcsname\relax
2728 % pdflatex / latex
2729 \foreignlanguage{polutonikogreek}{#2}%
2730 \else
2731 % xelatex / lualatex
2732 \textgreek{#1}%
2733 \fi
2734 % All other formats
2735 \else
2736 % Show transliterated equivalents for Greek
2737 \bgroup\it #3\egroup%
2738 \fi
2739 }
2740
2741 Format: \fmtname\par
2742 Test value: \schemataLaTeX\par
2743 \catcode`@=11\relax
2744 Internal test value: \@schemata@LaTeX\par
2745 \catcode`@=12\relax\par
2746
2747 Due to restrictions for dealing with so many formats,\par
2748 Greek character text will appear with:\par
2749 \ \kern 1em pdflatex / latex (babel, converted Latin characters)\par
2750 \ \kern 1em xelatex / lualatex (polyglossia, native Greek text)\par
2751 All other formats will have transliterated text instead of Greek.\par
2752 \vfil
2753
2754 $$
2755 \Schema{-1ex}{8.7ex}
2756 {
2757 \schemabox{Subjectum theo-\\
2758 logi\ae{} est Notitia\\
2759 Dei. Considerat\\
2760 ergo, Dei, vel}
2761 }
2762 {
2763 \schema
2764 {
2765 \schemabox{\textsc{Essentiam},}
2766 }
2767 {
2768 \schemabox{Unitate natur\ae{}.\\
2769 Trinitate personarum.\\
2770 Operibus ad intra.}
2771 }\smallskip
2772 \schema
2773 {
2774 \schemabox{\textsc{Voluntatem},\\
2775 manifestatam in\\
2776 operibus ad extra;\\
2777 ut in}
2778 }
2779 {
2780 \schemabox{Creatione.\\
2781 Sustentatione natur\ae{} %
2782 laps\ae{}.\\
2783 Reparatione.\\
2784 Conversione.\\
2785 Justificatione.\\
2786 Sanctificatione \&\\
2787 Glorificatione ejusdem.}
2788 }
2789 }
2790 $$
2791
2792 \vfil
2793 \eject
2794
2795 \hbox{\ }
2796 \vfil
2797
2798 $$
2799 \Schema{-25ex}{20.6ex}
2800 {
2801 \schemabox{Subjectum \&\\
2802 summa univer-\\
2803 s\ae{} Scriptur\ae{},\\
2804 est \textsc{Cognitio}\\
2805 vel}
2806 }
2807 {
2808 \Schema{-6.4ex}{8.5ex}
2809 {
2810 \schemabox{\textsc{Dei}, qua-\\lis sit, aut}
2811 }
2812 {
2813 \schema
2814 {\schemabox{\textsc{Per se}:\\ scilicet.}}
2815 {
2816 \schemabox{Unus in essentia.}\smallskip
2817 \schemabox{Trinus in personis.}
2818 }\smallskip
2819 \schema
2820 {\schemabox{Ad hominem\\ quem vel}}
2821 {
2822 \schemabox{Accusat \& terret, \textsc{Per Legem},\\
2823 Consolatur \& erigit, \textsc{Per Evangelium}.\\
2824 Salvat, \textsc{Per Christum}.\\
2825 Renovat, \textsc{Per Spiritum Sanctum}.\\
2826 Sanctificat, \textsc{Per Verbum} \& \textsc{Sacramenta}.\\
2827 Castigat, tentat \& exercet, \textsc{Per Crucem}.\\
2828 Glorificat \textsc{Per Resurrectionem Carnis}\\
2829 \textsc{\quad Ad Vitam \AE{}ternam}.}
2830 }\medskip
2831 }
2832 \Schema{-13.4ex}{17.4ex}
2833 {
2834 \schemabox{\textsc{Hominis},\\ qualis sit}
2835 }
2836 {
2837 \Schema{-4.4ex}{5ex}
2838 {\schemabox{\textsc{Per se}:}}
2839 {
2840 \schemabox{Ante lapsum.}\smallskip
2841 \schema
2842 {\schemabox{Post lapsum:}}
2843 {
2844 \schemabox{Ante Regenerationem \&\\
2845 Renovationem S. Sancti.}\medskip
2846 \schemabox{Post Regenerationem \&\\
2847 Renovationem S. Sancti.}\smallskip
2848 }\smallskip
2849 }
2850 \Schema{4.2ex}{14.4ex}
2851 {\schemabox{Ad}}
2852 {
2853 \schema
2854 {\schemabox{\textsc{Deum},}}
2855 {
2856 \schemabox{P\oe{}nitentia agens, agnitis peccatis \&\\
2857 ira Dei cognita \textsc{Ex Lege}.\\
2858 Erigens se \textsc{Voce Evangelii}.\\
2859 Credens \textsc{In Christum Salvatorem}.\\
2860 Non repugnans \textsc{Spiritui Sancto} impellenti.\\
2861 Audiens \textsc{Verbum}: \& utens \textsc{Sacramentis}.\\
2862 Patienter \& constanter sufferens \textsc{Crucem}.\\
2863 Sperans \& expectans glorificationem\\
2864 \textsc{\quad In Resurrectione Carnis}\\
2865 \textsc{\quad Ad Vitam \AE{}ternam}.}
2866 }\smallskip
2867 \schema
2868 {\schemabox{seipsum ratione}}
2869 {\schemabox{Anim\ae{}\\ vel\\ Corporis}}\smallskip
2870 \Schema{2ex}{5.1ex}
2871 {\schemabox{Proximum,}}
2872 {
2873 \schema
2874 {\schemabox{Amicum ra-\\ tione vel}}
2875 {
2876 \schemabox{Religionis.\\
2877 Politic\ae{} \& \OE{}conomic\ae{}.\\
2878 Cognationis.\\
2879 Agnationis.}
2880 }\smallskip
2881 \schemabox{Inimicum.}
2882 }
2883 }
2884 }
2885 }
2886 $$
2887
2888 \vfil
2889 \eject
2890
2891 \bgroup
2892 {\tt\char`\\ DoParens}\DoParens
2893 \hbox{\ }
2894 \vfil
2895
2896 $$
2897 \Schema{-26ex}{21.5ex}
2898 {
2899 \schemabox{Sacr\ae{}\\
2900 litter\ae{}\\
2901 loquuntur,\\
2902 de}
2903 }
2904 {
2905 \schema
2906 {
2907 \schemabox{\textsc{Deo}}
2908 }
2909 {
2910 \schemabox{Uno, in Trinitate.}\smallskip
2911 \schemabox{Trino, in unitate.}
2912 }
2913 \Schema{-16.5ex}{23.4ex}
2914 {
2915 \vskip30ex
2916 \schemabox{\textsc{Dei}\\
2917 \textsc{Operibus}}
2918 }
2919 {
2920 \schema
2921 {
2922 \schemabox{\textsc{Intra},\\
2923 qu\ae{} sunt\\
2924 divisa, ut}
2925 }
2926 {
2927 \schemabox{\textsc{Patris}, ab \ae{}terno gignere.\\
2928 \textsc{Filii}, ab \ae{}terno genitum esse.\\
2929 \textsc{Spiritus Sancti}, ab utroque\\
2930 ab \ae{}terno procedete.}
2931 }
2932 \medskip
2933 \Schema{-2ex}{21ex}
2934 {
2935 \schemabox{\textsc{Extra},\\
2936 qu\ae{} sunt\\
2937 indivisa;\\
2938 tervata\\
2939 tamen\\
2940 cujusque\\
2941 person\ae{}\\
2942 divinitatis\\
2943 sua pro-\\
2944 prietate}
2945 }
2946 {
2947 \Schema{-0.8ex}{6.4ex}
2948 {
2949 \schemabox{Creatione\\
2950 natur\ae{}}
2951 }
2952 {
2953 \schema
2954 {
2955 \schemabox{Brute ut}
2956 }
2957 {
2958 \schemabox{C\oe{}li} \smallskip
2959 \schemabox{Elementorum} \smallskip
2960 \schemabox{Mundi}
2961 }
2962 \smallskip
2963 \schema
2964 {
2965 \schemabox{\gk{λογικῆς}{logik~hs}{logik\=es}, ut}
2966 }
2967 {
2968 \schemabox{Angelorum.} \smallskip
2969 \schemabox{Hominum: Ad\ae{},\\
2970 Ev\ae{} \& procreatorum\\
2971 exipsis.}
2972 }
2973 }
2974 \schema
2975 {
2976 \schemabox{Sustenatione\\
2977 natur\ae{} laps\ae{},}
2978 }
2979 {
2980 \schemabox{Angelorum malorum,} \smallskip
2981 \schemabox{Hominum: Ad\ae{}, Ev\ae{}\\
2982 \& procreatorum exipsis.}
2983 }
2984 \Schema{2.6ex}{8.8ex}
2985 {
2986 \schemabox{Beneficiis\\
2987 erga Ecc-\\
2988 lesiam: ea\\
2989 versantur\\
2990 aut circa}
2991 }
2992 {
2993 \Schema{2.2ex}{7ex}
2994 {
2995 \schemabox{Res, ut}
2996 }
2997 {
2998 \schema
2999 {
3000 \schemabox{Verbum}
3001 }
3002 {
3003 \schemabox{Legis} \smallskip
3004 \schemabox{Evangelii} \smallskip
3005 \schemabox{Sacramentorum}
3006 }
3007 \smallskip
3008 \schema
3009 {
3010 \schemabox{Signa vel Veteris\\
3011 vel Novi Testa-\\
3012 mentum ut sunt:}
3013 }
3014 {
3015 \schemabox{Ceremoni\ae{}} \smallskip
3016 \schemabox{Miracula}
3017 }
3018 }
3019 \smallskip
3020 \Schema{1ex}{5ex}
3021 {
3022 \schemabox{Personas}
3023 }
3024 {
3025 \schema
3026 {
3027 \schemabox{Ecclesi\ae{}}
3028 }
3029 {
3030 \schemabox{Universalis} \smallskip
3031 \schemabox{Particularis}
3032 }
3033 \smallskip
3034 \schemabox{Politi\ae, ut Magistratuum}
3035 \smallskip
3036 \schemabox{\OE{}conomi\ae, ut privatorum}
3037 }
3038 }\vskip2ex
3039 }
3040 }
3041 }
3042 $$
3043
3044 \vfil
3045 \eject
3046
3047 {\tt\char`\\ DoGroups}\DoGroups
3048 \hbox{\ }
3049 \vfil
3050
3051 $$
3052 \Schema{-26.5ex}{21ex}
3053 {
3054 \schemabox{Sacr\ae{}\\ litter\ae{}\\ loquuntur,\\ de}
3055 }
3056 {
3057 \schema
3058 {
3059 \schemabox{\textsc{Deo}}
3060 }
3061 {
3062 \schemabox{Uno, in Trinitate.}\smallskip\schemabox{Trino, in unitate.}
3063 }
3064 \Schema{-17ex}{23.4ex}
3065 {
3066 \vskip30ex
3067 \schemabox{\textsc{Dei}\\ \textsc{Operibus}}
3068 }
3069 {
3070 \schema
3071 {
3072 \schemabox{\textsc{Intra},\\ qu\ae{} sunt\\ divisa, ut}
3073 }
3074 {
3075 \schemabox{\textsc{Patris}, ab \ae{}terno gignere.\\ \textsc{Filii}, ab \ae{}terno genitum esse.\\ \textsc{Spiritus Sancti}, ab utroque\\ ab \ae{}terno procedete.\strut}
3076 }
3077 \medskip
3078 \Schema{-2ex}{21ex}
3079 {
3080 \schemabox{\textsc{Extra},\\ qu\ae{} sunt\\ indivisa;\\ tervata\\ tamen\\ cujusque\\ person\ae{}\\ divinitatis\\ sua pro-\\prietate}
3081 }
3082 {
3083 \Schema{-0.8ex}{6.4ex}
3084 {
3085 \schemabox{Creatione\\ natur\ae{}}
3086 }
3087 {
3088 \schema
3089 {
3090 \schemabox{Brute ut}
3091 }
3092 {
3093 \schemabox{C\oe{}li} \smallskip \schemabox{Elementorum} \smallskip \schemabox{Mundi}
3094 }
3095 \smallskip
3096 \schema
3097 {
3098 \schemabox{\gk{λογικῆς}{logik~hs}{logik\=es}, ut}
3099 }
3100 {
3101 \schemabox{Angelorum.} \smallskip \schemabox{Hominum: Ad\ae{},\\ Ev\ae{} \& procreatorum\\ exipsis.\strut}
3102 }
3103 }
3104 \schema
3105 {
3106 \schemabox{Sustenatione\\ natur\ae{} laps\ae{},}
3107 }
3108 {
3109 \schemabox{Angelorum malorum,} \smallskip \schemabox{Hominum: Ad\ae{}, Ev\ae{}\\ \& procreatorum exipsis.}
3110 }
3111 \Schema{2.6ex}{8.8ex}
3112 {
3113 \schemabox{Beneficiis\\ erga Ecc-\\ lesiam: ea\\ versantur\\ aut circa}
3114 }
3115 {
3116 \Schema{2.2ex}{7ex}
3117 {
3118 \schemabox{Res, ut}
3119 }
3120 {
3121 \schema
3122 {
3123 \schemabox{Verbum}
3124 }
3125 {
3126 \schemabox{Legis} \smallskip \schemabox{Evangelii} \smallskip \schemabox{Sacramentorum}
3127 }
3128 \smallskip
3129 \schema
3130 {
3131 \schemabox{Signa vel Veteris\\ vel Novi Testa-\\ mentum ut sunt:}
3132 }
3133 {
3134 \schemabox{Ceremoni\ae{}} \smallskip \schemabox{Miracula}
3135 }
3136 }
3137 \smallskip
3138 \Schema{0.6ex}{5.5ex}
3139 {
3140 \schemabox{Personas}
3141 }
3142 {
3143 \schema
3144 {
3145 \schemabox{Ecclesi\ae{}}
3146 }
3147 {
3148 \schemabox{Universalis} \smallskip \schemabox{Particularis}
3149 }
3150 \smallskip
3151 \schemabox{Politi\ae, ut Magistratuum}
3152 \smallskip
3153 \schemabox{\OE{}conomi\ae, ut privatorum}
3154 }
3155 }\vskip2ex
3156 }
3157 }
3158 }
3159 $$
3160
3161 \vfil
3162 \egroup
3163 \eject
3164
3165 \hbox{\ }
3166 \vfil
3167
3168 $$
3169 \Schema{-1.4ex}{10ex}
3170 {
3171 \schemabox{Qu\ae{} sit\\ \textsc{Dei}, vel}
3172 }
3173 {
3174 \Schema{-1ex}{5ex}
3175 {
3176 \schemabox{\textsc{Essentia}, in}
3177 }
3178 {
3179 \vskip1ex\schemabox{Unitate divina,}
3180 \medskip
3181 \Schema{0ex}{3.4ex}
3182 {
3183 \schemabox{Tribus perso-\\ nis divinitatis}
3184 }
3185 {
3186 \Schema[close]{0ex}{3.4ex}
3187 {
3188 \NudgeSB\schemabox{Patre,\\ Filio,\\ Spiritui Sancto}
3189 }
3190 {
3191 \schemabox{\gk{ὁμοουσίοις}{<omoous'iois}{homoousiois}\\ \& co\ae{}ternis}
3192 }
3193 }
3194 }
3195 \medskip
3196 \Schema{-0.2ex}{6.4ex}
3197 {
3198 \schemabox{\textsc{Voluntas},\\ revelatur in\\ actione, sive}
3199 }
3200 {
3201 \Schema{0ex}{3.4ex}
3202 {
3203 \schemabox{Universali}
3204 }
3205 {
3206 \Schema[close]{0ex}{3.4ex}
3207 {
3208 \schemabox{Creationis,\\Sustenationis,\\ Propagationis,}
3209 }
3210 {
3211 \schemabox{rerum creatarum.}
3212 }
3213 }
3214 \medskip
3215 \schema
3216 {
3217 \schemabox{Speciali, in beneficiis\\ erga Ecclesiam, eam}
3218 }
3219 {
3220 \schemabox{Colligendo.\\ Justificando.\\ Conservando.\\
3221 Glorificando.}
3222 }
3223 }
3224 }
3225 $$
3226
3227 \vfil
3228 % Use here especially in Plain TeX and the like.
3229 \newbox\mybox
3230
3231 $$
3232 \Schema{0ex}{15ex}
3233 {\schemabox{\bfseries Curricula\\\bfseries Texts}}
3234 {
3235 \DoBrackets%
3236 \setbox\mybox=\hbox{\bfseries III. Philosophical }%
3237 \dimen0=\wd\mybox%
3238 \schema
3239 {\schemabox[\dimen0]
3240 {\bfseries I. General\\Studies}}
3241 {\NudgeSB[before]%
3242 \schemabox
3243 {1. Collected Works\\
3244 2. Encyclopedias}}
3245 \medskip
3246 \schema
3247 {\schemabox[\dimen0]
3248 {\bfseries II. Literary\\Disciplines}}
3249 {\NudgeSB[before]%
3250 \schemabox{1. Philology\\
3251 2. Historical Introduction\\
3252 3. Literary Theory\\
3253 4. Application}}
3254 \medskip
3255 \schema
3256 {\schemabox[\dimen0]
3257 {\bfseries III. Philosophical\\Disciplines}}
3258 {\NudgeSB[before]%
3259 \schemabox{1. Source Texts\\
3260 2. History of Philosophy\\
3261 3. General Surveys\\
3262 4. Specific Studies}}
3263 \medskip
3264 \schema
3265 {\schemabox[\dimen0]
3266 {\bfseries IV. Historical\\Disciplines}}
3267 {\NudgeSB[before]%
3268 \schemabox{1. General Surveys\\
3269 2. Specialized Works}}
3270 }
3271 $$
3272
3273 \vfil
3274 \eject
3275
3276 \ifx\fmtname\nameoflatex \end{document} \fi
3277 \ifx\fmtname\nameoflollipop \Stop \fi
3278 \bye
3279 %examplesvb
3280 %</examples>
3281 \endinput