Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/datax-package/latexdatax.jl
Julia plugin for the datax LaTeX package
https://github.com/datax-package/latexdatax.jl
julia latex
Last synced: about 2 months ago
JSON representation
Julia plugin for the datax LaTeX package
- Host: GitHub
- URL: https://github.com/datax-package/latexdatax.jl
- Owner: Datax-package
- License: mit
- Created: 2020-11-15T20:29:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-01T12:33:25.000Z (over 1 year ago)
- Last Synced: 2024-11-02T07:14:09.813Z (about 2 months ago)
- Topics: julia, latex
- Language: Julia
- Homepage:
- Size: 35.2 KB
- Stars: 27
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LaTeXDatax
Save specified variables to a data file to be read into a LaTeX document using
the accompanying package `datax.sty`.## Installation
`using Pkg;Pkg.add("LaTeXDatax")`, and install [the datax package
[ctan]](https://ctan.org/tex-archive/macros/latex/contrib/datax).## Usage
```julia
using LaTeXDatax, Unitful
a = 25;@datax a b=3a c=3e8u"m/s" d="Raw string" filename:="data.tex"
``````latex
\documentclass{article}
\usepackage{siunitx}
\usepackage[dataxfile=data.tex]{datax}\begin{document}
The speed of light is \datax{c}.
\end{document}
```More detailed usage information is in the docstrings of the code, run `?@datax`
in REPL to read them.