Debian Codegraph @

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

raw
1 # `intexgral` – A LaTeX package for typesetting integrals
2
3 ---
4
5 ![Static Badge](https://img.shields.io/badge/LaTeX_3-blue?style=for-the-badge&logo=LaTeX&logoColor=%23008080&labelColor=%23EDE9E9&color=%23008080)
6
7 ![CTAN Version](https://img.shields.io/ctan/v/intexgral?style=flat-square&label=CTAN%20version&link=https%3A%2F%2Fctan.org%2Fpkg%2Fintexgral) ![CTAN License](https://img.shields.io/ctan/l/intexgral?style=flat-square&label=License&color=orange) ![Static Badge](https://img.shields.io/badge/Requires-expl3_2025--05--14-purple?style=flat-square) ![Static Badge](https://img.shields.io/badge/Verification_system-l3build-%2300007D?style=flat-square)
8
9 ---
10
11 ## Requirements
12
13 The package requires [pkginfograb](https://ctan.org/pkg/pkginfograb) and [derivative](https://ctan.org/pkg/derivative). Having installed these packages should normally ensure a LaTeX3 version newer than 2025-05-14, which is necessary for the good functioning of *intexgral*.
14
15 ## Installation
16
17 The latest version can be found on its [CTAN page](https://ctan.org/pkg/intexgral).
18
19 ## Usage
20
21 Simply write
22
23 ```TeX
24 \usepackage{intexgral}
25 ```
26
27 in the preamble of your document.
28
29 ## Description
30
31 The package provides a central macro `\integral` that helps typeset integrals. As it only contains one argument – the integrand – its use is heavily dependent of a `key = value` interface. The latter allows the user to customise many elements of an integral, including:
32
33 ##### On the package side
34
35 * Adaptation of the style to physics papers convention.
36 * Selection of the order of limits input.
37 * Choosing between upright or italic *d* for differentials.
38
39 ##### On the macro side
40
41 * Changing the symbol.
42 * Automate the composition of integrals with limits.
43 * Fine adjustment of differentials.
44 * Inclusion of the Jacobian.
45
46 The package also offers a couple of auxiliary macros to help enhance the use of some keys:
47
48 * `\NewLimitsKeyword` (and its variant) to associate keywords with common limits.
49 * `\NewVariableKeyword` (and its variant) to associate keywords to common lists of differential (and Jacobian).
50 * `NewSymbolKeyword` (and its variant) to associate symbols to user-friendly keys.
51 * `\differentials` to precisely place the differentials wherever the user wants to.
52
53 and much more... See the [documentation](https://mirrors.ircam.fr/pub/CTAN/macros/latex/contrib/intexgral/intexgral-en.pdf) for exhaustive presentation of all the features along with examples.
54
55 ## Author
56
57 Copyright 2025-present Valentin Dao
58
59 This work may be distributed and/or modified under the conditions of The [LaTeX Project Public License v1.3c](https://www.latex-project.org/lppl/lppl-1-3c.pdf) or later.
60
61 This work has the LPPL status *maintained*.
62
63 The current maintainer of of this work is Valentin Dao (`[email protected]`)
64
65 Contribution: Anthony Saint-Criq
66
67 ## This work consits of the files
68
69 * `README.md` (this file)
70 * Quick introduction to the package.
71 * `build.lua`
72 * Configuration file to build the package.
73 * `intexgral.ins`
74 * Installation file to extract the different main components of the package.
75 * `intexgral-fr.dtx`
76 * The **D**ocumented **T**e**X** file containing the French documentation
77 * `intexgral-en.dtx`
78 * The **D**ocumented **T**e**X** file containing the English documentation
79
80 Both `.dtx` files, when run through the `.ins` file, will produce the following:
81
82 * `intexgral.sty`
83 * The source code of the package.
84 * `intexgral-fr.pdf`
85 * The French documentation in PDF format.
86 * `intexgral-en.pdf`
87 * The English documentation in PDF format.
88
89 ## Change log
90
91 * Version 3.0.1 (2026-01-02)
92 * Fixed bug with jacobian and special syntax ([issue #3](https://github.com/ankaa3908/intexgral/issues/3)).
93 * Fixed French and English documentations (issues [#4](https://github.com/ankaa3908/intexgral/issues/4), [#6](https://github.com/ankaa3908/intexgral/issues/6) and [#7](https://github.com/ankaa3908/intexgral/issues/7)).
94 * Changed *positive* and *real* limits keywords; they now contain a + sign ([issue #5](https://github.com/ankaa3908/intexgral/issues/5)).
95
96 * Version 3.0.0 (2025-12-24)
97 * Added *special* syntax.
98 * Added `domain*` and `mode` keys.
99 * Added `\IntegralSetup` and `\NewSymbolKeyword` macros.
100 * Removed `\defaultdiff`, `\defaultvdiff` and `\vdiffstyle` in favour of `\IntegralSetup`.
101 * Removed keys controlling both the symbol and the limits, now managed at a higher level through `\NewSymbolKeyword`.
102 * Removed `int-split` key in favour of `mode`.
103 * Removed `\NewIntegralSymbol`
104 * Modified the names of some keys (`variables` to `variables`, `lower-lim` and `upper-lim` to `llimit` and `ulimit`, `int-symb` to `symbol`, `invert-differentials` and `hide-differentials` to `invert-diff` and `hide-diff`).
105 * Assigned `hide-diff` to a local option rather than a package one.
106 * Assigned `limits-mode` to a package option instead of a macro key.
107 * Version 2.0.1 (2025-09-13)
108 * Compatibiliy issue between unicode-math and amssymb depending on the loading order ([issue #2](https://github.com/ankaa3908/intexgral/issues/2))
109 * Version 2.0.0 (2025-09-09)
110 * Added `\intexgralsetup`, `\defaultdiff`, `\defaultvdiff` and `\vdiffstyle`.
111 * Changed warning messages related to non-existing symbols. They are now only triggered when the integral is typeset.
112 * Removed `diff-vec_style` key in favour of `\vdiffstyle` and warning messages about misuse of semi-colon in conjunction with the `int-split` key.
113 * Fixed bug where the integrand was not reset when `\integral` was used successively in the same TeX group. Details can be [found here](https://tex.stackexchange.com/questions/749990/issue-with-integral-command-from-intexgral-package-in-math-mode).
114
115 * Version 1.1.0 (2025-07-29)
116 * Added starred variants for the keys controlling both the symbol and and the limits (keys `single`, `contour` etc).
117
118 * Version 1.0.0 (2025-07-26)
119 * Initial version