2014-10-29 36 views
1

matlab乳膠字符串中的豎條|使用什麼符號?LaTeX翻譯器的垂直條

當使用|時,它變成水平劃線,而其他選項\mid, \|, ...都顯示爲導致分析錯誤。

我需要它e。 G。像在$ |x| $

回答

3
fig = figure(1);clf; 
set(fig,'defaulttextinterpreter','latex'); 
title('$|x|$'); 

結果絕對值: enter image description here

+0

以爲我忘了''$符號或者這樣......至少它的工作現在 – embert 2014-10-29 08:34:09