Debian Codegraph @

texmf-dist/doc/latex/mathsemantics/README.md

raw
1 # MathSemantics.sty
2
3 [![documentation](https://badgen.net/badge/documentation/pdf/green)](https://ronnybergmann.net/MathSemantics.sty/mathsemantics-documentation.pdf)
4 ![LaTeX](https://badgen.net/badge/language/LaTeX/blue)
5 [![GitHub license](https://badgen.net/github/license/kellertuer/MathSemantics.sty)](https://github.com/kellertuer/MathSemantics.sty/blob/master/LICENSE)
6
7
8 This LaTeX package `mathsemantics.sty` provides both syntactic and semantic helpers to typeset math in LaTeX. The syntactic layer eases typesetting of formular in general, while the semantic layer provides commands like `\inner{x}{y}` to unify
9 typesetting of inner products. These not only unify typesetting of math formulae but also allow to easily adapt Notation if a user prefers to.
10 The semantic layer is split into topics.
11
12 ## Example
13
14 Instead of always writing
15
16 ```latex
17 \lVert x \rVert
18 ```
19
20 for the norm and maybe having to manually increase _both_ delimiters for example in
21
22 ```latex
23 \Bigr\lVert \frac{x}{2} \Bigr\rVert
24 ```
25
26 with the commands from this package this simplifies to
27
28 ```latex
29 \norm{x}
30 ```
31
32 and
33
34 ```latex
35 \norm[Big]{\frac{1}{2}}
36 ```
37
38 For a comprehensive overview over all commands, see the [mathsemantics-documentation.pdf](https://ronnybergmann.net/MathSemantics.sty/mathsemantics-documentation.pdf).