%\iffalse % MetaComment %% %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + %% | Copyright(C) 1997-2010 by F. Bosisio | %% | | %% | This program can be redistributed and/or modified under | %% | the terms 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 LaTeX distributions | %% | version 2005/12/01 or later. | %% | | %% | This work has the LPPL maintenance status `maintained'. | %% | The Current Maintainer of this work is F. Bosisio. | %% | | %% | This work consists of files graphfig.dtx and graphfig.html | %% | and of the derived files graphfig.sty and graphfig.pdf. | %% | | %% | E-mail: fbosisio@bigfoot.com | %% | CTAN location: macros/latex/contrib/bosisio/ | %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + %% %% If you make any improvment, find any bug or have %% any suggestion, please let me know about it. %% %<*package,driver> %\fi % \def\FileName{graphfig} %\iffalse % MetaComment % %<*package> %\fi \def\fileversion{2.2} \def\filedate{1997/12/15} \def\docdate{2005/04/09} \def\filedescr{Commands to include graphics files (FB)} % %\iffalse % MetaComment % %<*dtx> %- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % This section is the installation driver % \def\batchfile{\FileName.dtx} % \input docstrip % \keepsilent % \askforoverwritefalse % \generateFile{\FileName.sty}{f}{\from{\FileName.dtx}{package}} % \generateFile{\FileName.drv}{f}{\from{\FileName.dtx}{driver}} % \Msg{******************************************************} \Msg{*} \Msg{* To produce the documentation run the} \Msg{* file `\FileName.drv' through LaTeX.} \Msg{*} \Msg{******************************************************} % \endbatchfile % % End of the installation driver %- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % % % This section is the documentation driver % %<+driver>\documentclass[12pt,a4paper]{article} %<+driver>\usepackage{doc} %<+driver> \EnableCrossrefs %<+driver> \CodelineIndex %<+driver> \RecordChanges %<+driver> %\OnlyDescription % Uncomment not to see the implementation %<+driver>\begin{document} %<+driver> \DocInput{\FileName.dtx} %<+driver> \PrintIndex %<+driver> \PrintChanges %<+driver>\end{document} % % End of the documentation driver %- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - %<*package> %\fi % % \changes{v0.1}{21 April 1997}{First release} % \changes{v0.2}{5 July 1997}{Added the ``\texttt{clip}'' option to ``\texttt{psfig}''} % \changes{v0.3}{29 August 1997}{Modified the ``\texttt{@PS@Figure}'' command} % \changes{v1.0}{8 September 1997}{Documentation added} % \changes{v1.1}{19 November 1997}{Improved the ``SubFigure'' command} % \changes{v1.2}{11 December 1997}{Fixed a bug in ``SubFigure'' references} % \changes{v1.3}{12 December 1997}{Standard ``graphics'' package instead of ``psfig''} %\iffalse % MetaComment % The previous change has been suggested by Sebastian Rahtz (spqr@ftp.tex.ac.uk) %\fi % \changes{v2.0}{15 December 1997}{``graphfile'' instead of ``PSFigure/SubFigure''} % \changes{v2.1}{5 March 1999}{Added copyright notice and changed addresses} % \changes{v2.2}{9 April 2005}{Usage of the double-quote character (") avoided} % % \MakeShortVerb{\|} % % \title{Package \texttt{\FileName}\thanks{This is version \fileversion, % last revised \filedate; documentation date \docdate}} % \author{F. Bosisio\\\normalsize E-mail: \texttt{fbosisio@bigfoot.com}} % \date{\filedate} % \maketitle % % \begin{abstract} % Documentation for the package \texttt{\FileName}. % \end{abstract} % % \section{Introduction} % This package provides some commands to make the use of graphic % files in \LaTeX{} simpler. % % \noindent % It declares the ``|Figure|'' environment (capitalized!) and % the two commands ``|\graphfile|'' and ``|\graphfile*|''. % Combining this commands, it it possible to include graphic % files in a \LaTeX{} document very simply. % % \section{Required packages} % This package uses the ``|\includegraphics*|'' command defined in the % standard |graphics| package. % Moreover, it uses the package |subfigure| when the |subfigure| % option is specified, and the |float| package if the |AllowH| % option is used. % % \section{The options} % At now, two options are available: ``|subfigure|'' and ``|AllowH|''. % % \noindent % The ``|subfigure|'' option allow the use of sub-figures % inside a |Figure| environment, in order to place multiple % pictures in a single \LaTeX{} figure (cfr. the |subfigure| % standard package). % % \noindent % The ``|AllowH|'' option allow the use of the ``|H|'' float specifier % for the |Figure| environment, in order to place the figure exaclty % where the command is placed (cfr. the |float| standard package). % % \section{The \texttt{Figure} environment and its relatives} % The ``|Figure|'' environment (capitalized!) is somewhat different % from the standard \LaTeX{} ``|figure|'' environment: besides an % optional argument used to specify the placement parameters (which % now defaults to ``|[htbp]|''), it has a mandatory argument specifying % the ``caption'' and another optional argument, used as a ``label'' for % cross-referencies: % % \begin{verbatim} % \begin{Figure}[]{}[