Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/koushikphy/mfig

A tool for merging multiple figures into one
https://github.com/koushikphy/mfig

eps images latex latex-documentation pdf subfigure tex

Last synced: about 1 month ago
JSON representation

A tool for merging multiple figures into one

Awesome Lists containing this project

README

        

## `mfig`: A tool for merging multiple figures into one
[![Alt text](https://img.shields.io/pypi/v/mfig.svg?logo=pypi)](https://pypi.org/project/mfig/)
[![Alt text](https://img.shields.io/pypi/pyversions/mfig.svg?logo=python)](https://pypi.org/project/mfig/)
[![Alt text](https://img.shields.io/pypi/dm/mfig.svg)](https://pypistats.org/packages/mfig/)
[![Alt text](https://img.shields.io/pypi/l/mfig.svg)](https://pypi.org/project/mfig/)
[![Alt text](https://img.shields.io/pypi/status/mfig.svg)](https://pypi.org/project/mfig/)
[![Alt text](https://github.com/koushikphy/mfig/actions/workflows/python-publish.yml/badge.svg)](https://github.com/Koushikphy/mfig/releases/latest)

https://github.com/Koushikphy/mfig/assets/43264301/11813b52-0754-41ef-816a-c3203a859936

### 🛠️ Installation
Download and install the latest package from the [release section](https://github.com/Koushikphy/mfig/releases/latest) or directly by pip
```
pip install mfig
```

__✔ Prerequisite__
1. Working LaTeX environment with `pdflatex` and necessary packages. Install `texlive-latex-extra`.
2. `pdfcrop`. Install `texlive-extra-utils`.

### 🚀Usage
Run the installed `mfig` utility to use this tool. Description of different arguments, can also be checked with `mfig -h` option.

⚡ Check the [example section](example/Readme.md) for details usage.

| Argument | Description|
| ----------- | -----------
| `-i` | List of input figures |
| `-o` | Output file name |
| `-it` | Position of the subfigure index, possible values are:
`i` (inner),
`b` (bottom),
`t` (top-right corner),
`n` (no index) |
| `-ir` | Number of figures in one row |
| `-w` | Width of each figures. |
| `-v` | Vertical space between each rows |
| `-s` | Shift as x,y coordinate in position
for inner index type option |