无法在渐近线中创建 3d `\mathfrak` 标签

无法在渐近线中创建 3d `\mathfrak` 标签

尝试这个:

\documentclass{standalone}

\usepackage{amssymb}

\usepackage[inline]{asymptote}

\begin{document}

\begin{asy}
settings.outformat="pdf";
settings.prc=false;
settings.render=1;
import three;
label("$\mathfrak g$",(0,0,0));
\end{asy}

\end{document} 

运行之后pdflatex我调用asymptote并得到以下结果:

This is pdfTeX, Version 3.141592653-2.6-1.40.24 (MiKTeX 22.12) (preloaded format=pdflatex.fmt)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2022-11-01> patch level 1
L3 programming layer <2022-12-17>
(C:\Users\me\AppData\Roaming\MiKTeX\tex/latex/tools\.tex File ignored)
(fraklab-1_.tex (C:\Program Files\MiKTeX\tex/latex/base\article.cls
Document Class: article 2022/07/02 v1.4n Standard LaTeX document class
(C:\Program Files\MiKTeX\tex/latex/base\size12.clo))
(C:\Program Files\MiKTeX\tex/latex/l3backend\l3backend-pdftex.def)
No file .aux.
! I can't write on file `.aux'.
\document ...ate \openout \@mainaux \jobname .aux
                                                  \immediate \write \@mainau...
l.10 \begin{document}

(Press Enter to retry, or Control-C to exit; default file extension is `.tex')
Please type another output file name
! Emergency stop.
\document ...ate \openout \@mainaux \jobname .aux
                                                  \immediate \write \@mainau...
l.10 \begin{document}

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on .log.
    g=tex ? _texpath(s,p) : textpath(s,p);
     ^
C:\Program Files\Asymptote/plain_Label.asy: 664.6: texpath failed

没有 一切都正常\mathfrak

我能做些什么?

答案1

  • 您必须在环境中导入该mathfrak模块asy

  • 更改settings.render

     \documentclass[border=5mm]{standalone}
     \usepackage{amssymb}
     \usepackage[inline]{asymptote}
     \begin{document}
     \begin{asy}
     settings.outformat="pdf";
     settings.prc=false;
     // settings.render=1;
     // at least 4
     settings.render=10;
     import three;
     usepackage("amssymb");// <--- this line
     label("$\mathfrak g$",(0,0,0));
     \end{asy}
     \end{document}  
    

相关内容