summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/keycommand/README
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/keycommand/README')
-rw-r--r--Master/texmf-dist/doc/latex/keycommand/README15
1 files changed, 14 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/keycommand/README b/Master/texmf-dist/doc/latex/keycommand/README
index aaa4981ba4b..b41e8b81b01 100644
--- a/Master/texmf-dist/doc/latex/keycommand/README
+++ b/Master/texmf-dist/doc/latex/keycommand/README
@@ -18,7 +18,20 @@
%
% Documentation:
% (pdf)latex keycommand.dtx
-
+%
+% -----------------------------------------------------------------
+% Typical example:
+%
+% \newkeycommand+[\|]\myFigure[
+% caption={\textcolor{red}{<no caption given>},
+% placement=h}][OtherKeys][1]{%
+% |\begin{figure}|[\commandkey{placement}]
+% |\includegraphics|[\commandkey{OtherKeys}]{#1}
+% |\caption|{\commandkey{caption}}}
+% Usage :
+%
+% \myFigure[caption=small image,page=12,viewport=20 50 136 95,clip]{image.pdf}
+% -----------------------------------------------------------------