%\iffalse % MetaComment %% %% + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + %% | Copyright(C) 1997-1999 by Francesco Bosisio | %% | | %% | This program can be redistributed and/or modified under the | %% | terms of the LaTeX Project Public License Distributed from | %% | CTAN archives in directory macros/latex/base/lppl.txt; | %% | either version 1 of the License, or any later version. | %% | | %% | E-mail: fbosisio@bigfoot.com | %% | Web page: http://www.bigfoot.com/~fbosisio/LaTeX | %% | CTAN location: macros/latex/contrib/supported/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.0} \def\filedate{1997/15/12} \def\docdate{1997/15/12} \def\filedescr{Commands to include graphics files (BF)} % %\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} % % \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}\\ % \small Web page: \texttt{http://www.bigfoot.com/$\sim$fbosisio/LaTeX}} % \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 agrument specifying % the ``caption" and another optional argument, used as a ``label" for % cross-referencies: % % \begin{verbatim} % \begin{Figure}[]{}[