CustomTeX v0.1.2
A CLI utility for setting up LaTeX projects
CustomTeX is a command line utility for setting up LaTeX projects based on some predefined styles for titles, section headers, theorems, etc.
For the moment, the utility is intended for a personal use, since there aren't many options for customization. However, we aim to design a more general system for creating LaTeX projects based on dynamic and fully customizable templates.
Installation
CustomTeX is a Python library and can be installed using pip:
pip install customtex
No additional dependencies are required.
Usage
To generate the main files of a LaTeX project with CustomTeX, you have to run the customtex command followed by the path, main file name and language options and the init or the template subcommand. For example:
customtex --path /path/to/directory --name main --lang english init [options]
This will create a LaTeX project with the following structure in the path/to/directory directory:
/path/to/directory
├── main.tex
└── tex
├── macros.tex
└── preamble.tex
The init subcommand
The init subcommand creates a project based on the options that the utility provides. Run customtex init --help to see the available options.
The template subcommand
The template subcommand creates a project based on a template. A template consist of a list of options from the init subcommand that are run when invoking the template option followed by the name of the template.
Run customtex template --help to see the available templates.
License
CustomTeX is licensed under the MIT license. See the LICENSE file for more information.
Release files for customtex 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| customtex-0.1.2.tar.gz | 8.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| customtex-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.7 kB
Release files / customtex-0.1.2.tar.gz
| Download URL | customtex-0.1.2.tar.gz |
|---|---|
| Size | 8.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2c17e91c8bad546c2de57a589077c19ccd3a345ed0a03146d3809e743e3899c0
|
|
BLAKE2b-256 checksum How to use checksums |
356c64c7c3b2081dcabae897ef012391a69b42d117765167a42772a256d23c2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.4 Darwin/22.3.0
|
Release files / customtex-0.1.2-py3-none-any.whl
| Download URL | customtex-0.1.2-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1e1fe0ca75066428da88e74d637b22e02f4293e5e0437bbaf1fac9850d33ea3d
|
|
BLAKE2b-256 checksum How to use checksums |
5cd2cbdb841b1a3e97142f39c2819eced788376bd33a264a01acc01e9f5e0741
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.10.4 Darwin/22.3.0
|