TABLE2LATEX

TABLE2LATEX converts a table to the tabular form for use in LaTeX.
402 download
Aggiornato 8 nov 2020
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)

Cita come

ELENI ALOUPOGIANNI (2024). TABLE2LATEX (https://github.com/foxelas/Matlab-assisting-functions/releases/tag/3.0), GitHub. Recuperato .

Compatibilità della release di MATLAB
Creato con R2019b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
3.0

See release notes for this release on GitHub: https://github.com/foxelas/Matlab-assisting-functions/releases/tag/3.0

Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.