Using latex (amsmath) while publishing m code
19 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I am trying to publish m file and I want to use amsmath and amsfont from latex. How can I include it ? I want to use the following latex code in m file and publish it:
\begin{equation*}
\begin{aligned}
& \underset{X}{\text{minimize}}
& & \mathrm{trace}(X) \\
& \text{subject to}
& & X_{ij} = M_{ij}, \; (i,j) \in \Omega, \\
&&& X \succeq 0.
\end{aligned}
\end{equation*}
0 Commenti
Risposte (1)
Walter Roberson
il 12 Ott 2015
1 Commento
Walter Roberson
il 10 Ago 2018
The answer for Publishing turns out to be rather easier. See https://www.mathworks.com/matlabcentral/answers/232055-is-there-a-hook-that-will-allow-me-to-change-the-document-style-and-or-add-packages-to-the-latex-fil#answer_214261
Vedere anche
Categorie
Scopri di più su LaTeX in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!