latexTable
Converts matrices, cells or MATLAB tables to LaTeX table code. Easy to use and very flexible:
- takes MATLAB matrices, cells or tables as input
- gives code for a LaTeX table containing your data as output
- handles numeric and text/string data
- easy including in your code for automation
- easy direct saving as a LaTex document (see example 2 in runExamples.m)
Optional features are:
- table positioning
- column/row labels
- column/row-wise formatting (like setting the number of digits etc.)
- pivoting the table (90 degree rotation making columns rows and vice versa)
- setting the default symbol for NaN values
- LaTeX column alignment
- LaTeX table borders, caption, label
- output a complete LaTeX document instead of a plain table
A little example:
input.data=[1,3;4,2]; % set up data
latexTable(input) % obtain LaTeX code
For further details and examples can be found in latexTable.m and runExamples.m
인용 양식
Eli Duenisch (2024). latexTable (https://github.com/eliduenisch/latexTable), GitHub. 검색 날짜: .
MATLAB 릴리스 호환 정보
플랫폼 호환성
Windows macOS Linux카테고리
- MATLAB > Language Fundamentals > Data Types > Tables >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > LaTeX >
태그
도움
도움 준 파일: latex4matlab, print_table, Online portfolio selection with transaction costs including market impact costs, printtable(content, Name, Value)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.21.0.0 | new feature for positioning the table in your LaTex document, addional examples, some minor fixes |
|
|
1.19.0.0 | added README.md for github, added BSD 2 license comment (the default license at MathWorks File Exchange) |
|
|
1.18.1.0 | minor changes |
|
|
1.18.0.0 | updated description |
|
|
1.17.0.0 | updated summary |
||
1.16.0.0 | fixed git repo upload |
||
1.15.0.0 | using github repo next trial |
||
1.14.0.0 | updated version date, switched back from github to regular upload |
||
1.13.0.0 | function can now process data values given as strings (code proposed by JMP Phillips) |
|
|
1.12.0.0 | it is now possible to use MATLAB tables without row and/or column names |
||
1.11.0.0 | Fixed output when no row and/or column labels are set. Thank you Dimitar Atanasov for mentioning! |
||
1.10.0.0 | changed title |
||
1.9.0.0 | Improved documentation. |
||
1.8.0.0 | Changed file descriptions. |
||
1.7.0.0 | Some changes in the documentation. |
||
1.6.0.0 | This update enables pivoting of the table (=transpose data and labels). The data format definition can now be applied column- or row-wise. |
||
1.5.0.0 | It is now possible to use the new MATLAB datatype 'table' as data input.
|
||
1.4.0.0 | Updated comments in example script |
||
1.3.0.0 | Changes in comment section |
||
1.2.0.0 | Added a script to run an simple example of latexTable.m |
||
1.1.0.0 | Now you can set a replacement value for NaNs in your MATLAB data, e.g. use an empty string for a blank space or '-' for a minus sign. |
||
1.0.0.0 |