我可以投影文本
\psSolid[oject=text, text = zyz]
但想把 LaTeX 中的内容$\alpha$
作为文本。\psProjection
逐字打印:$\alpha$
。
是否可以强制使用 LaTeX?
以下是来自的一个稍微修改过的例子pst-solides3d
文档:
\documentclass{article}
\usepackage{pst-solides3d}
\begin{document}
\psset{viewpoint=50 20 30 rtp2xyz,Decran=50}
\begin{pspicture}(-4,-4)(4,5)
\psset{unit=0.5}
\psset{solidmemory}
\psSolid[object=cube,a=8,action=draw,name=A,linecolor=red]%
\psset{fontsize=100}
\psSolid[object=plan,action=none,definition=solidface,args=A 0,name=P0]
\psProjection[object=texte,linecolor=red,text=$\alpha$,plan=P0]%
\psSolid[object=plan,action=none,definition=solidface,args=A 1,name=P1]
\psProjection[object=texte,linecolor=red,text=$\beta$,plan=P1]%
\psSolid[object=plan,action=none,definition=solidface,args=A 4,name=P4]
\psProjection[object=texte,linecolor=red,text=$\epsilon$,plan=P4]%
\axesIIID(4,4,4)(6,6,6)
\end{pspicture}
\end{document}
答案1
\documentclass[pstricks]{standalone}
\usepackage{pst-solides3d}
\begin{document}
\psset{viewpoint=50 20 30 rtp2xyz,Decran=50}
\begin{pspicture}[solidmemory](-4,-4)(4,4)
\psset{unit=0.5}
\psSolid[object=cube,a=8,action=draw,name=A,linecolor=red]%
\psset{fontsize=150,PSfont=Symbol}%%%%%%%%%%%%%%%%%%%%%
\psSolid[object=plan,action=none,definition=solidface,args=A 0,name=P0]
\psProjection[object=texte,linecolor=red,text=a,plan=P0]%
\psSolid[object=plan,action=none,definition=solidface,args=A 1,name=P1]
\psProjection[object=texte,linecolor=red,text=b,plan=P1]%
\psSolid[object=plan,action=none,definition=solidface,args=A 4,name=P4]
\psProjection[object=texte,linecolor=red,text=e,plan=P4]%
\axesIIID(4,4,4)(6,6,6)
\end{pspicture}
\end{document}