Sometime in the mid-1980s I convinced the powers that be that the H&SS
division should stop using troff
for technical manuscripts and switch
to LaTeX, so I felt some obligation to provide support for the staff
members who were coerced into using it. I created a handful of style
files (.sty) and later on document classes (.cls) for use in the
division. I also wrote a few for my own use, including kbordermatrix.sty
, my modification of Knuth's \bordermatrix
command. I offer them here for
anyone who is interested. I have not put them on the CTAN because I
do not want the responsibility of supporting them properly. But do
feel free to help yourself to any of them. I offer no warranty. The
usual rules apply: You may freely copy and use these files. You may
give them away free to anyone. You may freely modify them, as long as
you change the name of the files.
The self-documenting files include detachable latex-able documentation
at the end of the file (after \endinput
).
\timestamp
command, optionally used by hssnotes
.
\bordermatrix
macro for plain TeX and it was translated and made part of LaTeX even though it is not mentioned in Lamport's manual. One problem with it is that it does not align well with matrices made using LaTeX's array environment. Another problem from my point of view is that it uses parentheses instead of brackets as delimiters. The kbordermatrix package defines a \kbordermatrix
macro that deals with both these issues. (Documentation)
SignaturePanel
environment, which creates an array of signature lines with names
underneath. Spacing is governed by two dimensions,
SignatureBoxWidth
(default is .45\textwidth
)
and SignatureBoxHeight
(default is 36pt
).
These determine the size of the box left for the signature. Here is a
sample:
\begin{SignaturePanel} Member 1 \and Member 2 \and Member 3 \\ Chair \end{SignaturePanel}
The names are separated by \and
and may contain line
breaks (\\
), much like the \author
command.
\figinpar
macro that takes five arguments in the
first package and six arguments in the second package. These govern
the location (left or right margin for the second version), delay in
lines, cutout height (in lines), cutout width (as a dimension with
units), figure content, and paragraph content. There is a little
bit of documentation in the form of contents at the start of each
file.
The command does not deal at all well with page breaks in the middle
of the figure, and indeed I have no idea what proper behavior should
be. It seems to ignore \noindent
commands, which I
work around with a kludge \kern-\parindent
. The
command uses a \parshape
command to make the hole, and
the figure is encapsulated in a minipage
environment,
saved in a box, and placed with a \vadjust\moveright
construction, but it doesn't always end up where I think it should
be.
I don't really have the time or intellect to figure out how to make them better, but they may be useful to you as is. I use them a lot.