diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:46:03 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:46:03 +0000 |
commit | 873660d1a83ece926fe7206288dda9c36b349c1b (patch) | |
tree | a48f77125c309a355b5d0eb58d6b24446abe9d62 /Master/texmf-dist/tex/generic/genmisc/laps.tex | |
parent | 2939242967231097459df0fc3150fabc2f639111 (diff) |
generic 1
git-svn-id: svn://tug.org/texlive/trunk@613 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/genmisc/laps.tex')
-rw-r--r-- | Master/texmf-dist/tex/generic/genmisc/laps.tex | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/generic/genmisc/laps.tex b/Master/texmf-dist/tex/generic/genmisc/laps.tex new file mode 100644 index 00000000000..b8b2d54b646 --- /dev/null +++ b/Master/texmf-dist/tex/generic/genmisc/laps.tex @@ -0,0 +1,14 @@ +%%% File: Laps.TeX +\catcode`\@=11 % Let's pretend @ is a letter +% Vertical `laps'; cf. \llap and \rlap +\long\def\ulap#1{\vbox to \z@{\vss#1}} +\long\def\dlap#1{\vbox to \z@{#1\vss}} + +% And centered horizontal and vertical `laps' +\def\xlap#1{\hbox to \z@{\hss#1\hss}} +\long\def\ylap#1{\vbox to \z@{\vss#1\vss}} + +% And a `lap' centered on its midpoint +\long\def\zlap#1{\ylap{\xlap{#1}}} + +\catcode`\@=12 % That's enough pretending for one day. |