TABLE2LATEX
버전 3.0 (1.21 KB) 작성자:
ELENI ALOUPOGIANNI
TABLE2LATEX converts a table to the tabular form for use in LaTeX.
table2latex converts a table to the tabular form for use in LaTeX.
Input args
T: a table of elements
selectedCols: index vector of table columns that need to be
printed. Default: All columns.
label: the label for references to the table. Default: Empty.
caption: the caption of the table. Default: Empty.
colWidths: the widths for each column. Default: Equally adjusted
width.
isLandscape: flag to rotate table to landscape mode. Default:
Vertical mode.
notes: a cell array of additional notes after the table. Default: Not
used.
isAfterpage: flag to execute commands after pagebreak. Default: no
afterpage.
Output args
Ttex: the formatted text for the table
Dependencies
None
LaTeX requirements for landscape view:
\usepackage{afterpage}
\usepackage{pdflscape} %rotates page
LaTeX requirements for table notes:
\usepackage[flushleft]{threeparttable}
Usage
Ttex = table2latex(T);
Ttex = table2latex(T, [1:5]);
Ttex = table2latex(T, [], 'tab:table1', 'Experimental Values', [], false, {'These are example values.'}, false);
The function prints the formatted table, which then
can be copied and pasted to LaTeX as is.
Created by foxelas [https://github.com/foxelas/] (2022)
인용 양식
ELENI ALOUPOGIANNI (2024). TABLE2LATEX (https://github.com/foxelas/Matlab-assisting-functions/releases/tag/3.0), GitHub. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2019b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
3.0 | See release notes for this release on GitHub: https://github.com/foxelas/Matlab-assisting-functions/releases/tag/3.0 |
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.