LaTeX和Inkscape的一些使用技巧
LaTeX
LaTeX公式格式网站
在线公式编辑器:
https://latexlive.com/
LaTeX中文
(1)选择Xelatex编译器
(2)在引用包的位置中添加\usepackage{CJKutf8};并且在\begin{document}下方添加\begin{CJK}{UTF8}{gbsn};在\end{document}的上方添加\end{CJK}
参考:
https://blog.csdn.net/qr457535344/article/details/128846843
https://xiaowen.blog.csdn.net/article/details/124393321
Inkscape
Inkscape的图像字符输入
- 扩展——渲染——formula:可以插入 Latex 公式。提前需要安装 TexText (http://www.elisanet.fi/ptvirtan/software/textext/)
- 字符输入,在formula的高级设置里添加:\usepackage{mathptmx}\usepackage{amsmath}\usepackage{amssymb}\usepackage{amsfonts}\usepackage{bm} ——其中,bm包用于加粗图像的字符
- \boldsymbol{V}_{\mathbf{1BR}}~\mathbf{(mV)}(注意左右要加$号),boldsymbol是加粗斜体。其他形式参考:https://blog.csdn.net/weixin_41661099/article/details/102664743
Formula位置:
Formula的填写:
报错注意
注意:如果报! LaTeX Error: File `amsmath.sty’ not found. 则需要在MiKTeX控制台安装amsmath和amscls这两个宏包,参考:
(1)https://blog.csdn.net/qq_50632468/article/details/119845274
(2)https://blog.csdn.net/ZhuWho/article/details/43940269
MiKTeX需要下载,注意添加环境变量,界面如下:
\write18的警告并不是错误,解释详见:
https://zhuanlan.zhihu.com/p/73409925?from_voters_page=true&utm_id=0