How to add asmMath package (or other package) to Matlab-latex?

19 vues (au cours des 30 derniers jours)
Jerry Rahmqvist
Jerry Rahmqvist le 1 Sep 2019
Commenté : Walter Roberson le 21 Août 2023
They describe a way to add a package to the Matlab-latex interpreter.
I don't find the tex.m file that was located in previous release in the folder: MATLAB root\toolbox\matlab\graphics
What I want is to add the bold part on the line below
standardhead = [' \nofiles \documentclass{mwarticle} \usepackage{amsfonts, amsbsy, amssymb} \begin{document}']
to a function called localDecorateInputString , now I don't find the file tex.m that have this function.
and add this bold part to the function localGetTeXPath in same file as above.
texpath{1} = blah blah blah...
texpath{end} = blah blah blah...
texpath{end+1} = 'C:\amslatex\';
How to do this in R2019a?

Réponse acceptée

Walter Roberson
Walter Roberson le 1 Sep 2019
There is no known way to do this in current MATLAB releases, with the exception that the Report Generator has a facility to add arbitrary latex.
  2 commentaires
Mohammed Azharuddin
Mohammed Azharuddin le 21 Août 2023
@Walter Roberson Is there any changes or way to include additional packages like mathbb or si unit now in 2022b or so?
Walter Roberson
Walter Roberson le 21 Août 2023
No there is no way yet.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by