Debian Codegraph @

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

raw
1 # The datax package
2
3 A LaTeX package to insert data from a script in a document. Interacting plugins
4 available at [Github, Datax-package](https://github.com/Datax-package).
5
6 ## Example usage
7 Julia script:
8 ```julia
9 using LaTeXDatax, Unitful
10 a = 25u"m"
11 b = 13
12 c = "Literal string"
13 @datax a b c
14 ```
15
16 LaTeX document
17 ```tex
18 \documentclass{article}
19 \usepackage{datax}
20 \usepackage{siunitx}
21 \begin{document}
22 The calculated length was \(a=\datax{a}\).
23 \end{document}
24 ```
25
26 ## Supported languages
27
28 Language | Repo | Maintainer
29 ----- | ----- | -----
30 Julia | [LaTeXDatax.jl](https://github.com/Datax-package/LaTeXDatax.jl) | David Gustavsson
31 MATLAB | [LaTeXDatax.m](https://github.com/Datax-package/Datax.m) | David Gustavsson
32 Python | [LaTeXDatax.py](https://github.com/Datax-package/LaTeXDatax.py) | David Gustavsson
33
34 If your language isn't listed above, check [the
35 super-repo](https://github.com/Datax-package). Extending it to your language of
36 choice should be fairly simple, just make it so your script can write
37 `\pgfkeyssetvalue{/datax/<tag>}{<value>}` to a file. If you end up writing a
38 plugin for a language, or if you want to request one, please make a feature
39 request or send me an e-mail.
40
41 ## Copyright and license
42 Copyright 2020 − 2022 David Gustavsson ([email protected])
43
44 This package may be distributed and/or modified under the conditions of the
45 LaTeX Project Public License, either version 1.3 of this license or (at your
46 option) any later version. The latest version of this license is in:
47
48 http://www.latex-project.org/lppl.txt
49
50 and version 1.3 or later is part of all distributions of
51 LaTeX version 2005/12/01 or later.
52