Debian Codegraph @

texmf-dist/doc/latex/bxenclose/README.md

raw
1 BXenclose Package
2 =================
3
4 LaTeX: To enclose the document body with some pieces of code
5
6 The package enables authors to designate in the preamble to make the
7 document body enclosed with the given pieces of code. As is known,
8 there are already various mechanisms provided by LaTeX kernel or
9 packages that attach “hooks” at the beginning and end of documents.
10 This package tries harder to win the race, that is, place the given
11 code as close to the real document body as possible.
12
13 ### System requirement
14
15 * TeX format: LaTeX.
16 * TeX engine: Anything.
17 * Dependent packages: None.
18
19 ### Installation
20
21 - `*.sty` → $TEXMF/tex/latex/BXenclose
22
23 ### License
24
25 This package is distributed under the MIT License.
26
27 The bxenclose Package
28 ---------------------
29
30 ### Package Loading
31
32 \usepackage{bxenclose}
33
34 No options are available.
35
36 ### Usage
37
38 This package defines the following single command:
39
40 \enclosebodywith{<begin>}{<end>}
41
42 This command makes the document body enclosed with `<begin>` and
43 `<end>`. That is, `<begin>` is executed immediately before the body
44 text (probably after other “begin-document hooks” provided by LaTeX
45 itself and other packages) and `<end>` is executed immediately after
46 the body text (probably before other “end-document hooks”).
47
48 Note that both `<begin>` and `<end>` code are treated as part of the
49 document body. In particular, `<begin>` code cannot contain any
50 preamble-restricted commands (such as `\listfiles`).
51
52 Revision History
53 ----------------
54
55 * Version 0.2 〈2016/04/01〉
56 - The first public version.
57
58 --------------------
59 Takayuki YATO (aka. "ZR")
60 http://zrbabbler.sp.land.to/