Debian Codegraph @

texmf-dist/source/latex/sttools/sttools.dtx

raw
1 % \iffalse meta-comment
2 %
3 % Copyright (C) 2025 by Sigitas Tolu\v{s}is <[email protected]>
4 % ---------------------------------------------------------------------------
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either version 1.3
7 % of this license or (at your option) any later version.
8 % The latest version of this license is in
9 % http://www.latex-project.org/lppl.txt
10 % and version 1.3 or later is part of all distributions of LaTeX
11 % version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status `maintained'.
14 %
15 % The Current Maintainer of this work is Sigitas Tolu\v{s}is.
16 %
17 % This work consists of the files sttools.dtx and sttools.ins
18 % and the derived filebases: boundbox.sty, cuted.sty, floatpag.sty,
19 % flushend.sty, marginal.sty, midfloat.sty, stabular.sty,
20 % stfloats.sty, texsort.sty.
21 %
22 % Also available from:
23 % http://www.vtex.lt/tex/download/macros/
24 %
25 % \fi
26 %
27 % \iffalse
28 %<*driver>
29 \ProvidesFile{sttools.dtx}
30 %</driver>
31 %
32 %<*driver>
33 \documentclass{ltxdoc}
34 \begin{document}
35 \DocInput{sttools.dtx}
36 \end{document}
37 %</driver>
38 % \fi
39 %
40 % \CheckSum{0}
41 %
42 % \CharacterTable
43 % {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
44 % 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
45 % Digits \0\1\2\3\4\5\6\7\8\9
46 % Exclamation \! Double quote \" Hash (number) \#
47 % Dollar \$ Percent \% Ampersand \&
48 % Acute accent \' Left paren \( Right paren \)
49 % Asterisk \* Plus \+ Comma \,
50 % Minus \- Point \. Solidus \/
51 % Colon \: Semicolon \; Less than \<
52 % Equals \= Greater than \> Question mark \?
53 % Commercial at \@ Left bracket \[ Backslash \\
54 % Right bracket \] Circumflex \^ Underscore \_
55 % Grave accent \` Left brace \{ Vertical bar \|
56 % Right brace \} Tilde \~}
57 %
58 %
59 % \DoNotIndex{\newcommand,\newenvironment}
60 %
61 % \providecommand*{\url}{\texttt}
62 % \GetFileInfo{sttools.dtx}
63 % \title{The \textsf{sttools} collection}
64 % \author{Sigitas Tolu\v{s}is \\ \url{[email protected]}}
65 % \date{2025.10.13}
66 %
67 % \maketitle
68 %
69 % \section{Introduction}
70 %
71 % This is collection of various
72 % packages historically placed in a bundle and maintained by Sigitas Tolu\v{s}is.
73 %
74 % \section{Usage}
75 %
76 % \begin{itemize}
77 %
78 % \item \textbf{cuted.sty, v2.10 2025/12/15} -- place some material
79 % page width wide at any
80 % place on twocolumn page with existing text reformatted under inserted
81 % material (\cs{preCutedStrip}\marg{...} and \cs{postCutedStrip}\marg{...}
82 % can be used to add extra stuff before and after the |strip|);
83 %
84 % -- toggle between onecolumn and twocolumn layouts within the same document
85 % using the following commands: \cs{switchonecolumn} and \cs{switchtwocolumn};
86 % \\\texttt{(2021/10/04): rewrite with new balance algorithm and options;
87 % \\(2025/01/29): bugfix version with improved funcionality;
88 % \\(2025/06/18): adapt to the latest latex kernel;
89 % \\(2025/10/13): bugfix version;
90 % \\(2025/12/15): bugfix and improved version}.
91 %
92 % \item \textbf{cuted2024.sty, v2.5 2025/10/13} (readded for the LaTeX kernel before 2025):
93 % \\\texttt{(2025/10/13): bugfix version;
94 % \\\texttt{(2025/12/15): removed}.
95 %
96 % \item \textbf{floatpag.sty, v2.0 2021/10/04} -- set pagestyle for floats page;
97 % \\ \texttt{(2021/10/04): removed latex209 compatibility; added rotated dblfloat support};
98 %
99 % \item \textbf{flushend.sty, v4.3 2025/06/18} -- balance page in twocolumn mode;
100 % \\\texttt{(2014/03/03): totally rewritten with new algorithm to support footnotes,
101 % top floats and column break before one line section title.
102 % \\(2014/04/24): bugfix version;
103 % \\(2015/03/27): bugfix version with improved funcionality:
104 % \\ - spreaded or fixed right column height;
105 % \\ - optional old algorithm for backward compatability;
106 % \\(2015/04/14): set debug option off by default; keeplastbox modified;
107 % \\(2016/06/21): bugfix compatibility with luatexja package;
108 % \\(2017/03/27): bugfix for get@@footnoterule@@box; options for some checks on/off;
109 % \\(2020/10/14): bugfix development and test;
110 % \\(2020/10/16): bugfix version: modern with noautobase;
111 % \\(2021/10/04): another rewrite with new balance algorithm and options;
112 % \\(2025/02/11): adapt to the latest latex kernel and a new hook;
113 % \\(2025/06/18): adapt to the latest latex kernel}.
114 %
115 % \item \textbf{midfloat.sty, v1.1 2012/05/29} -- insert onecolumn stuff in twocolumn
116 % page;
117 % \\\texttt{(2025/06/18): removed}.
118 %
119 % \item \textbf{stabular.sty, v2.3 2025/06/18} -- use modified tabular environment;
120 % \\\texttt{(2014/03/20): removed extra stuff and left only possibility to break
121 % on page boundary;
122 % \\added tabular variant from array packag;
123 % \\(2021/10/04): sync with array bugfix version for tabular;
124 % \\(2025/04/10): code polishing;
125 % \\(2025/06/18): adapt to the latest latex kernel}.
126 %
127 % \item \textbf{stfloats.sty, v3.4 2025/06/18} -- enable enriched floats output mechanism;
128 % \\\texttt{(2016/06/28): compatibility bugfix with 2015 latexrelease;
129 % \\(2017/03/27): compatibility bugfix with 2017-05-01 latexrelease;
130 % \\(2025/06/18): adapt to the latest latex kernel}.
131 %
132 % \item \textbf{texsort.sty, v1.1 2012/05/29} -- sort numerical values; \\\texttt{TODO:
133 % extend (rewrite) to support alphnanumerical values for sorting.
134 % \\(2025/10/13): removed}.
135 % \end{itemize}
136 %
137 % Just load any of the provided packages in the standard way:
138 % |\usepackage{|\meta{package}|}| or
139 % |\RequirePackage{|\meta{package}|}|.
140 %
141 % \medskip
142 % To read documentation: |texdoc |\meta{package}.
143 %
144 % \StopEventually{}
145 %
146 % \Finale
147 \endinput