Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/9999years/latexdef
https://github.com/9999years/latexdef
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/9999years/latexdef
- Owner: 9999years
- License: lppl-1.3c
- Created: 2019-10-26T06:07:24.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-06-06T21:51:33.000Z (over 2 years ago)
- Last Synced: 2024-12-16T04:17:01.227Z (24 days ago)
- Language: Rust
- Homepage:
- Size: 31.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Imagine this but with pretty colors:
$ latexdef def @newcommand author box parskip thanks begin bedgin
\def is primitive.
\@newcommand = #1[#2] -> \kernel@ifnextchar [{\@xargdef #1[#2]}{\@argdef #1[#2]}
\author = #1 -> \gdef \@author {#1}
\box is primitive.
\parskip is primitive.
\thanks = #1 -> \footnotemark \protected@xdef \@thanks {\@thanks \protect \footnotetext [\the \c@footnote ]{#1}}
\begin = #1 -> \@ifundefined {#1}{\def \reserved@a {\@latex@error {Environment #1 undefined}\@eha }}{\def \reserved@a {\def \@currenvir {#1}\edef \@currenvline {\on@line }\csname #1\endcsname }}\@ignorefalse \begingroup \@endpefalse \reserved@aFurther:
$ latexdef --help
latexdef 0.1.0
Rebecca Turner
Prints definitions of LaTeX macros.USAGE:
latexdef [FLAGS] [OPTIONS] ... --documentclass --engineFLAGS:
-e, --expl3 Enable LaTeX3e features with the expl3 package
--math Load common math packages (amsmath, amssymb, amsthm, mathtools)
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
--documentclass Document class to use [default: article]
--engine TeX engine to run. [default: latex]
-p, --packages ... Packages to loadARGS:
... Commands to show definitions ofInstall with:
cargo install latexdef