From 1267e56426be0702177637c1eadae17ffc9468f4 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 4 Nov 2011 23:25:04 +0000 Subject: new latex package easyfig (1nov11) git-svn-id: svn://tug.org/texlive/trunk@24501 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/easyfig/README | 15 + Master/texmf-dist/doc/latex/easyfig/easyfig.pdf | Bin 0 -> 186936 bytes Master/texmf-dist/source/latex/easyfig/easyfig.dtx | 439 +++++++++++++++++++++ Master/texmf-dist/source/latex/easyfig/easyfig.ins | 10 + Master/texmf-dist/tex/latex/easyfig/easyfig.sty | 133 +++++++ Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc | 1 + Master/tlpkg/tlpsrc/easyfig.tlpsrc | 0 8 files changed, 599 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/latex/easyfig/README create mode 100644 Master/texmf-dist/doc/latex/easyfig/easyfig.pdf create mode 100644 Master/texmf-dist/source/latex/easyfig/easyfig.dtx create mode 100644 Master/texmf-dist/source/latex/easyfig/easyfig.ins create mode 100644 Master/texmf-dist/tex/latex/easyfig/easyfig.sty create mode 100644 Master/tlpkg/tlpsrc/easyfig.tlpsrc (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/easyfig/README b/Master/texmf-dist/doc/latex/easyfig/README new file mode 100644 index 00000000000..ca55ae25a64 --- /dev/null +++ b/Master/texmf-dist/doc/latex/easyfig/README @@ -0,0 +1,15 @@ +LaTeX package 'easyfig' +~~~~~~~~~~~~~~~~~~~~~~~ +Copyright (c) 2011 by Martin Scharrer +WWW: http://latex.scharrer.me/ +CTAN: http://www.ctan.org/pkg/easyfig +Code repository: https://bitbucket.org/martin_scharrer/easyfig + +Provides \Figure[]{} to easily include +an image as figure in the most common form (centered and with caption and label). +Caption and label can be set using the 'caption' and 'label' key. The label defaults +to 'fig:' if not used. + +The package uses the authors other package 'adjustbox' to center and image and to +allow for easy further modifications. + diff --git a/Master/texmf-dist/doc/latex/easyfig/easyfig.pdf b/Master/texmf-dist/doc/latex/easyfig/easyfig.pdf new file mode 100644 index 00000000000..e82cfdcb8f7 Binary files /dev/null and b/Master/texmf-dist/doc/latex/easyfig/easyfig.pdf differ diff --git a/Master/texmf-dist/source/latex/easyfig/easyfig.dtx b/Master/texmf-dist/source/latex/easyfig/easyfig.dtx new file mode 100644 index 00000000000..02576e385b5 --- /dev/null +++ b/Master/texmf-dist/source/latex/easyfig/easyfig.dtx @@ -0,0 +1,439 @@ +% \iffalse meta-comment +%<=*COPYRIGHT> +%% Copyright (C) 2011 by Martin Scharrer +%% --------------------------------------------------------------------------- +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `maintained'. +%% +%% The Current Maintainer of this work is Martin Scharrer. +%% +%% This work consists of the files easyfig.dtx and easyfig.ins +%% and the derived filebase easyfig.sty. +%% +%<=/COPYRIGHT> +% \fi +% +% \iffalse +%<*driver> +\ProvidesFile{easyfig.dtx}[% +%<=*DATE> + 2011/10/31 +%<=/DATE> +%<=*VERSION> + v1.0 +%<=/VERSION> + Easily include images as figures] +\documentclass{ydoc} +\GetFileInfo{easyfig.dtx} +\usepackage{easyfig}[\filedate] +\usepackage{flafter} +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\OnlyDescription +\optionaloff +\begin{document} + \DocInput{\jobname.dtx} + \PrintChanges + \PrintIndex +\end{document} +% +% \fi +% +% \CheckSum{0} +% +% \CharacterTable +% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} +% +% +% \changes{<+version+>}{<+date+>}{<+log+>} +% +% \DoNotIndex{\newcommand,\newenvironment} +% +% \GetFileInfo{easyfig.dtx} +% \author{Martin Scharrer} +% \email{martin@scharrer.me} +% \ifdefined\repository +% \repository{https://bitbucket.org/martin_scharrer/easyfig} +% \fi +% +% \maketitle +% +% \begin{abstract}\noindent +% This package aims to simplify the most common usage of \env{figure} environments +% to include a single image with a caption and label. +% \end{abstract} +% +% \section{Introduction} +% A very high percentage of all \LaTeX\ figures aim to simply display a simple image with a caption and label. +% A common way to code this is: +% \begin{lstlisting}[gobble=4,numbers=none] +% \begin{figure} +% \centering +% \includegraphics[]{} +% \caption{} +% \label{