Skip to main content

A CLI utility for setting up LaTeX projects

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

customtex-0.1.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

customtex-0.1.2-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file customtex-0.1.2.tar.gz.

File metadata

  • Download URL: customtex-0.1.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.4 Darwin/22.3.0

File hashes

Hashes for customtex-0.1.2.tar.gz
Algorithm Hash digest
SHA256 2c17e91c8bad546c2de57a589077c19ccd3a345ed0a03146d3809e743e3899c0
MD5 a6c5dead9e143c47c111f08980132f2e
BLAKE2b-256 356c64c7c3b2081dcabae897ef012391a69b42d117765167a42772a256d23c2d

See more details on using hashes here.

File details

Details for the file customtex-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: customtex-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.4 Darwin/22.3.0

File hashes

Hashes for customtex-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e1fe0ca75066428da88e74d637b22e02f4293e5e0437bbaf1fac9850d33ea3d
MD5 ea2244117a47f54bf8e28a18ee9fd6bc
BLAKE2b-256 5cd2cbdb841b1a3e97142f39c2819eced788376bd33a264a01acc01e9f5e0741

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page