Library to write Matlab variables into LaTeX

Version 1.4.1 (226 KB) by fhz
Library with functions to create strings with the LaTeX syntax and LaTeX files through Matlab.
655 Downloads
Updated 4 Sep 2024

View License

Title: Matlab to LaTeX Library
Summary: Library with functions to create strings with the LaTeX syntax and LaTeX files through Matlab.
Description: My library of functions to handle with the creation of strings with LaTeX syntax and also files directed from Matlab.
It uses some functions from my "File Manipulation Library", to read and create files.
Some features are the full generation of files to insert figures and programming codes into LaTeX given a folder with them and a filter.
Some aided functions to converted notation as needed.
Functions to operate with matrices and vectors, even with imaginary parts or symbolic variables.
Functions to add to a struct the main LaTeX-commands, which is very useful while writing a LaTeX report through Matlab.
A function to write the general solution of linear ODEs is given as example of the full usage of this library.
All functions have examples of its usages.
New ideas and suggestions are welcome since the functions of this library were the ones I created to solve problems I faced.
Update Version 1.2.0:
fc_lib_latex_struct_strings_02_table
Now has \multicolumn and \multirow syntax in it.
fc_lib_latex_tab_num
Option for use with longtable environment
New function:
fc_lib_latex_add_tabular_longtable
Creates variation ot insert the environments tabular and longtable
fc_lib_latex_stringOnly_cell
Converts cells with numbers and NaN into only strings content.
It let's other functions to properly work dealing only if a simples data type.
fc_lib_latex_tab_line_colMerge
Based on the MSWord version, this function rewrites the syntax of a tabular string writing the proper syntax to \multicolumn usage.
Update Version 1.3.0:
Minor errors corrected
Added functions to run the example with eigenvalues.
New functions:
fc_lib_latex_add_tabular_longtable
fc_lib_latex_arrayToMatrix
fc_lib_latex_block_environment
fc_lib_latex_cell_to_tab_line
fc_lib_latex_check_ref_file
fc_lib_latex_compile_from_matlab
fc_lib_latex_converted_notation
fc_lib_latex_create_citelist
fc_lib_latex_polynom_write
fc_lib_latex_stringOnly_cell
fc_lib_latex_tab_line_colMerge
Update Version 1.4.0:
fc_lib_latex_bibtex_alphaSort_entries_single_file
fc_lib_latex_bibtex_standard_alphaSort_united
fc_lib_latex_bibtex_standard_entries_single_file

Cite As

fhz (2024). Library to write Matlab variables into LaTeX (https://www.mathworks.com/matlabcentral/fileexchange/72155-library-to-write-matlab-variables-into-latex), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Matlab_FHZ_latex_library/latex_library

Matlab_FHZ_latex_library/latex_library/Examples_writing_EDO_order_n

Matlab_FHZ_latex_library/latex_library/auxiliar_functions

Version Published Release Notes
1.4.1

Update name

1.4.0

Added bibtex manipulation files.

1.3.0

Update Version 1.3.0:

Minor errors corrected
Added functions to run the example with eigenvalues.

New functions added.

1.2.0

Update: fc_lib_latex_struct_strings_02_table,
fc_lib_latex_tab_num.

New function: fc_lib_latex_add_tabular_longtable, fc_lib_latex_stringOnly_cell, fc_lib_latex_tab_line_colMerge.

1.1.0

2 new functions have benn added:
fc_lib_latex_ponto_para_virgula;
fc_lib_latex_string_add_lines.

1.0.0