如何在xfig中使用特殊字符

如何在xfig中使用特殊字符

我正在嘗試在 中寫入特殊字元xfig。我將字元代碼放入$符號中,就像通常在乳膠中所做的那樣

$x_1$ 或 $\mu$ 或 $\sigma$

我嘗試設定Text Flags, Special Flag = Special,但沒有幫助。當我以格式匯出檔案時.eps,字元顯示為 ie $x_1$ or $\mu$ or $\sigma$。如何解決這個問題。

答案1

EPS 匯出不運行 LaTeX,因此標籤被解釋為純文字。

跑步fig2dev透過 LaTeX:

fig2dev -Lpstex myfigure.fig >myfigure.pstex
fig2dev -Lpstex_t myfigure.pstex >myfigure.pstex_t

然後將該圖包含在 (La)TeX 文件中。

\documentclass{minimal}
\usepackage{graphics}
\begin{document}
\input{myfigure.pstex_t}
\end{document}

相關內容