From 1e4d2da8470dd935921a9cfb6015815a9f32d86a Mon Sep 17 00:00:00 2001 From: Marc Franquesa Date: Mon, 21 Oct 2024 12:19:15 +0200 Subject: [PATCH 1/2] Add options section to README --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 9d25a4c..529e266 100644 --- a/README.md +++ b/README.md @@ -218,3 +218,19 @@ Vim plugin, does not apply indentation - [latex-formatter](https://github.com/nfode/latex-formatter). Visual Studio plugin, uses latexindent as the backend + +## Options + +tex-fmt only offers the following options: + +| Option | Default | Description | +| --- | --- | --- | +| `tab` | `2` | Number of spaces to use as tab size. | +| `usetabs` | | Use tabs instead of spaces for indentation. | + + From a6dc04e6f062d2ce97058c15ee60ff3bdf7859b8 Mon Sep 17 00:00:00 2001 From: Marc Franquesa Date: Thu, 24 Oct 2024 11:21:08 +0200 Subject: [PATCH 2/2] add all flags --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 529e266..7b9dc47 100644 --- a/README.md +++ b/README.md @@ -221,16 +221,18 @@ Visual Studio plugin, uses latexindent as the backend ## Options -tex-fmt only offers the following options: +The following options are offered by tex-fmt: | Option | Default | Description | | --- | --- | --- | +| `check` | | Check formatting, do not modify files. | +| `print` | | Print to STDOUT, do not modify files. | +| `keep` | | Keep lines, do not wrap. | +| `verbose` | | Show info log messages. | +| `quiet` | | Hide warning messages. | +| `trace` | | Show trace log messages. | +| `stdin` | | Process STDIN as a single file, output formatted text to STDOUT. | | `tab` | `2` | Number of spaces to use as tab size. | | `usetabs` | | Use tabs instead of spaces for indentation. | +| `wrap` | `80` | Line length for wrapping. | -