From 899f74725ef26bec837b6c3564ffd0108c6db6ec Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 29 Mar 2010 23:36:00 +0000 Subject: keycommand update (29mar10) git-svn-id: svn://tug.org/texlive/trunk@17616 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/keycommand/README | 15 ++++++++++++++- .../doc/latex/keycommand/keycommand-example.pdf | Bin 135984 -> 147252 bytes .../doc/latex/keycommand/keycommand-example.tex | 10 ++++------ .../texmf-dist/doc/latex/keycommand/keycommand.pdf | Bin 220135 -> 191903 bytes 4 files changed, 18 insertions(+), 7 deletions(-) (limited to 'Master/texmf-dist/doc/latex/keycommand') 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}{}, +% 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} +% ----------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/keycommand/keycommand-example.pdf b/Master/texmf-dist/doc/latex/keycommand/keycommand-example.pdf index 61fc8d38dcb..894a4b77550 100644 Binary files a/Master/texmf-dist/doc/latex/keycommand/keycommand-example.pdf and b/Master/texmf-dist/doc/latex/keycommand/keycommand-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/keycommand/keycommand-example.tex b/Master/texmf-dist/doc/latex/keycommand/keycommand-example.tex index c508e28c21a..8e07e07c262 100644 --- a/Master/texmf-dist/doc/latex/keycommand/keycommand-example.tex +++ b/Master/texmf-dist/doc/latex/keycommand/keycommand-example.tex @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% keycommand : an easy way to define commands with optional keys [v2.z 2009/08/26] +%% keycommand : key-value interface for commands and environments in LaTeX [v3.0 2010/03/28] %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -22,16 +22,14 @@ %% keycommand-example.tex %% %% keycommand : an easy way to define commands with optional keys -%% Copyright (C) 2009 by Florent Chervet +%% Copyright (C) 2009-2010 by Florent Chervet %% - \ProvidesFile{keycommand-example} -\documentclass{article} +\documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} \usepackage[american]{babel} -\usepackage{keycommand} -\usepackage{framed} +\usepackage{keycommand,framed,fancyvrb} \makeatletter \parindent\z@ \newkeycommand\Rule[raise=.4ex,width=1em,thick=.4pt][1]{% diff --git a/Master/texmf-dist/doc/latex/keycommand/keycommand.pdf b/Master/texmf-dist/doc/latex/keycommand/keycommand.pdf index 83be1a41c1d..76eb62bc544 100644 Binary files a/Master/texmf-dist/doc/latex/keycommand/keycommand.pdf and b/Master/texmf-dist/doc/latex/keycommand/keycommand.pdf differ -- cgit v1.2.3