summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/l3experimental/xcoffins/xcoffins.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-09-07 23:32:55 +0000
committerKarl Berry <karl@freefriends.org>2011-09-07 23:32:55 +0000
commit996a539c5bd7795ddb5e2db3b2e2c16ea93d1048 (patch)
tree01e99da20019143bb2fe8e25f1a292f144b956c4 /Master/texmf-dist/source/latex/l3experimental/xcoffins/xcoffins.dtx
parentd048b0fd24845bf48f447a005cdc5acbc6811675 (diff)
l3experimental 2729 (5sep11)
git-svn-id: svn://tug.org/texlive/trunk@23863 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3experimental/xcoffins/xcoffins.dtx')
-rw-r--r--Master/texmf-dist/source/latex/l3experimental/xcoffins/xcoffins.dtx25
1 files changed, 24 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/l3experimental/xcoffins/xcoffins.dtx b/Master/texmf-dist/source/latex/l3experimental/xcoffins/xcoffins.dtx
index 369a7c2a50b..9e5199255aa 100644
--- a/Master/texmf-dist/source/latex/l3experimental/xcoffins/xcoffins.dtx
+++ b/Master/texmf-dist/source/latex/l3experimental/xcoffins/xcoffins.dtx
@@ -35,7 +35,7 @@
%%
%
%<*driver|package>
-\RequirePackage{xparse,l3coffins-scaling}
+\RequirePackage{xparse}
\GetIdInfo$Id: xcoffins.dtx 2349 2011-05-11 18:44:37Z joseph $
{L3 Experimental design-level coffins}
%</driver|package>
@@ -149,6 +149,16 @@
% name of the \meta{coffin} is not globally-unique.
% \end{function}
%
+% \begin{function}{\BoxToCoffin}
+% \begin{syntax}
+% \cs{BoxToCoffin} \meta{box}
+% \end{syntax}
+% Adds coffin structure to the \meta{box}, which should be a \LaTeXe{}
+% \enquote{user} box (e.g.~one created using \cs{newsavebox}). This function
+% allows standard \LaTeXe{} box material to be used in coffin-based
+% alignments.
+% \end{function}
+%
% \begin{function}{\SetHorizontalCoffin}
% \begin{syntax}
% \cs{SetHorizontalCoffin} \meta{coffin} \Arg{material}
@@ -706,6 +716,19 @@
{ \coffin_new:N #1 }
% \end{macrocode}
% \end{macro}
+%
+% \begin{macro}{\BoxToCoffin}
+% For allowing a user-level \LaTeXe{} box to be used as a coffin.
+% \begin{macrocode}
+\NewDocumentCommand \BoxToCoffin { m }
+ {
+ \prop_clear_new:c { l_coffin_corners_ \int_value:w #1 _prop }
+ \prop_clear_new:c { l_coffin_poles_ \int_value:w #1 _prop }
+ \coffin_update_corners:N #1
+ \coffin_update_poles:N #1
+ }
+% \end{macrocode}
+% \end{macro}
%
% \begin{macro}{\SetHorizontalCoffin}
% \begin{macro}{\SetVerticalCoffin}