我想在那张图片上添加一些数学符号。我该怎么做?(我正在使用其他软件制作图片。)
答案1
我使用 Inkscape。它生成此代码(您必须调用它而不是图像):
\begingroup%
\makeatletter%
\providecommand\color[2][]{%
\errmessage{(Inkscape) Color is used for the text in Inkscape, but the package 'color.sty' is not loaded}%
\renewcommand\color[2][]{}%
}%
\providecommand\transparent[1]{%
\errmessage{(Inkscape) Transparency is used (non-zero) for the text in Inkscape, but the package 'transparent.sty' is not loaded}%
\renewcommand\transparent[1]{}%
}%
\providecommand\rotatebox[2]{#2}%
\ifx\svgwidth\undefined%
\setlength{\unitlength}{477.88bp}%
\ifx\svgscale\undefined%
\relax%
\else%
\setlength{\unitlength}{\unitlength * \real{\svgscale}}%
\fi%
\else%
\setlength{\unitlength}{\svgwidth}%
\fi%
\global\let\svgwidth\undefined%
\global\let\svgscale\undefined%
\makeatother%
\begin{picture}(1,0.49522056)%
\put(0,0){\includegraphics[width=\unitlength]{fig/car.pdf}}%
\put(0.96548473,0.04397513){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{$x(t)$}}}%
\put(0.02012794,0.44631517){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{$r[x(t)]$}}}%
\end{picture}%
\endgroup%
看这个部分:
\begin{picture}(1,0.49522056)%
\put(0,0){\includegraphics[width=\unitlength]{fig/car.pdf}}%
\put(0.96548473,0.04397513){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{$x(t)$}}}%
\put(0.02012794,0.44631517){\color[rgb]{0,0,0}\makebox(0,0)[lb]{\smash{$r[x(t)]$}}}%
\end{picture}%
很容易理解:
- 包括想象(就我的情况而言
fig/car.pdf
)。 - 添加您需要的所有 TeX 框(还有 Math)。
在用 LaTeX 函数重新编辑代码后,我在 Inkscape 中只写了一些字母,以供参考。