Skip to main content

If you got a problem or suggestions to improve the scripts, please create an issue in git.

Using textable:

textable.latex_tab(data=[arr1,arr2],names=[r"title column 1",r"title column 2"], filename=r"example.tex",caption=r"Beautiful caption",label=r"important_label",dec_points=[2,0])

Where data_array must be an array of arrays; names_array must be an array of strings, containing the column-names, filename has to be a string,too.

dec_points sets precision for each column. dec_points is ignored, if uncertainty-arrays are used as input. Instead, the rounding rules by Particle Data Group are used (as in uncertainties-package implemented)

For an example, have a look at example.py

label must be a string.

To write long tables, use

textable.long_tab(data=[arr1,arr2],names=[r"title column 1",r"title column 2"], filename=r"example.tex",caption=r"Beautiful caption",label=r"important_label",dec_points=[2,0])

Btw: You do not need to add prefix "tab:".

If you want to see the results, compile the .tex-file. To do so, easiest way is to use the makefile. That will compile main.tex where the generated example.tex is included.

Version: 0.0.5: Fixed errors with uncertainties

Metadata

Release files for tab2latex 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tab2latex 0.1.7
File Size Uploaded Provenance Actions
tab2latex-0.1.7.tar.gz 3.6 kB Without provenance Details for tab2latex-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tab2latex 0.1.7
File Interpreter ABI Platform Actions
tab2latex-0.1.7-py3-none-any.whl Python 3 none any Details for tab2latex-0.1.7-py3-none-any.whl

Total release size: 8.8 kB

Release files / tab2latex-0.1.7.tar.gz

Download URL tab2latex-0.1.7.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3a96b2a144204eaaa2cf108e166a2869e6ca605c13a9e36ca463a01023576c09
BLAKE2b-256 checksum
How to use checksums
823c28456c346574fcfffe4275749a851a1f04123eeb92ebf455f20cca1e7a98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15+

Release files / tab2latex-0.1.7-py3-none-any.whl

Download URL tab2latex-0.1.7-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fe8aec73432fb9ee57ab864546f45d88b1fe0b95f70303f63181c56974fd8de
BLAKE2b-256 checksum
How to use checksums
a06ed1c9d74c181acce9e7cd6a6cd93ddc1cbd5aff0c837acb77e51e2a640789
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15+

Security for tab2latex 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page