How can I align TeX equations when using the publish functionality of the MATLAB Editor?
3 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2014 年 11 月 5 日
回答済み: MathWorks Support Team
2014 年 11 月 6 日
I would like to align the = and the minus sign in
k = a +b
- c+d
so that they are below each other in TeX/LaTeX formatted comments when using the publish functionality of the MATLAB Editor.
採用された回答
MathWorks Support Team
2014 年 11 月 5 日
In order to obtain the alignment you would like to have, please use the following code:
%%
% $$
% \begin{array}{cl}
% k&=a+b\\
% &+c+d\end{array}
% $$
Note that using LaTeX commands from the amsmath package like eqnarray or equation are not supported by the "publish" function.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Adding custom doc についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!