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: 3 months ago
JSON representation
A tool for merging multiple figures into one
- Host: GitHub
- URL: https://github.com/koushikphy/mfig
- Owner: Koushikphy
- License: mit
- Created: 2022-11-06T12:45:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-08T13:45:38.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T20:31:07.333Z (4 months ago)
- Topics: eps, images, latex, latex-documentation, pdf, subfigure, tex
- Language: Python
- Homepage:
- Size: 141 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
## `mfig`: A tool for merging multiple figures into one
[](https://pypi.org/project/mfig/)
[](https://pypi.org/project/mfig/)
[](https://pypistats.org/packages/mfig/)
[](https://pypi.org/project/mfig/)
[](https://pypi.org/project/mfig/)
[](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 |