CTAN has a new package: easyfig
This package provides \Figure[<key=value pairs>]{<image filename>} 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:<image filename>' if not used. The package uses the authors other package 'adjustbox' to center and image and to allow for easy further modifications.
This package is located at http://mirror.ctan.org/macros/latex/contrib/easyfig . More information is at http://www.ctan.org/pkg/easyfig (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
Thanks for the upload. For the CTAN Team Rainer Schöpf
easyfig – Simplifying the use of common figures
The package provides the command \Figure[<key=value>...]{<image filename>} to simplify the business of including an image as figure in the most common form (centred and with caption and label). Caption and label are set using the caption and label keys; the label fig:<image filename> is used if none is given.
If the here key is given, the figure is not ‘floated’, and the user is responsible for placement.
The package uses the author’s package adjustbox to centre an image and to simplify further modifications.
As adjustbox now provides keys to turn images or other material into floats or non-floats, including captions, easyfig has become quite redundant.
Package | easyfig |
Version | 1.2a 2018-03-30 |
Copyright | 2011–2018 Martin Scharrer |
Maintainer | Martin Scharrer |