version 1.2.0 (116 KB) by
fhz

Library with functions to create strings with the LaTeX syntax and LaTeX files through Matlab.

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.

New functions version 1.1.0:

fc_lib_latex_ponto_para_virgula: Replace "." (dot) for "," (comma) for non-English users

fc_lib_latex_string_add_lines: Given two strings, s1 and s2 and a vector of numbers n. This function insert the lines of s2 into s1 in the lines given by n. If n has the same numbers in sequence, i.e., n = [2 2 2 2 6], it will insert the first four lines of s2 in sequence at the second line of s1 -- the original second line will be inserted after this subset o s1 -- and the fifth (and last) line of s2 into the sixth (original) line of s1.

Version 1.2.0:

Update:

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.

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

Created with
R2017a

Compatible with any release

**Inspired by:**
File Manipulation Library

**Inspired:**
Compensators design in the frequency domain., Matlab to MSWord function library

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

Start Hunting!Create scripts with code, output, and formatted text in a single executable document.

ROBERTA NOGUEIRAROBERTA NOGUEIRAAmadeus AlcantaraVery useful and well written!

johnny yangFelipe F. GomesIvana Bandeira