tex-fmt: add page (#15043)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:

committed by
GitHub

parent
86961dea3c
commit
41af2d87b0
16
pages/common/tex-fmt.md
Normal file
16
pages/common/tex-fmt.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# tex-fmt
|
||||||
|
|
||||||
|
> Format LaTeX source code.
|
||||||
|
> More information: <https://github.com/WGUNDERWOOD/tex-fmt>.
|
||||||
|
|
||||||
|
- Format a file, overwriting the original:
|
||||||
|
|
||||||
|
`tex-fmt {{path/to/file.tex}}`
|
||||||
|
|
||||||
|
- Check if a file is correctly formatted:
|
||||||
|
|
||||||
|
`tex-fmt --check {{path/to/file.tex}}`
|
||||||
|
|
||||||
|
- Format a file read from `stdin` and print to `stdout`:
|
||||||
|
|
||||||
|
`cat {{path/to/file.tex}} | tex-fmt --stdin`
|
Reference in New Issue
Block a user