Forgot password
 Register account
View 536|Reply 2

tikzjax里面的latex公式不支持颜色

[Copy link]

3211

Threads

7832

Posts

52

Reputation

Show all posts

hbghlyj posted 2021-12-1 03:09 |Read mode
  1. \begin{tikzpicture}
  2. \draw[blue] node at (0,0){$t$};
  3. \end{tikzpicture}
Copy the Code
显示出来是黑的!

3211

Threads

7832

Posts

52

Reputation

Show all posts

original poster hbghlyj posted 2021-12-1 08:45
好像web2js没有这个问题
tikzjax和web2js是什么关系啊
  1. \documentclass{article}
  2. \usepackage{tikz}
  3. \begin{document}
  4. \begin{tikzpicture}
  5. \draw[blue] node at (0,0){\Huge$t$} ;
  6. \end{tikzpicture}
  7. \end{document}
Copy the Code
这里有一个范例,可以把网络连接暂时关闭,会发现它仍可以编译,所以它是完全运行于浏览器中的.

3211

Threads

7832

Posts

52

Reputation

Show all posts

original poster hbghlyj posted 2021-12-1 17:35
tikzjax里面好像×号变成了÷号,但是web2js就没有此问题
  1. \begin{tikzpicture}
  2. \draw[ultra thick,-latex,blue!50!red](0,0)--(0,3)node[pos=0.7,right]{$u\times v$};
  3. \end{tikzpicture}
Copy the Code

Quick Reply

Advanced Mode
B Color Image Link Quote Code Smilies
You have to log in before you can reply Login | Register account

$\LaTeX$ formula tutorial

Mobile version

2025-7-20 05:47 GMT+8

Powered by Discuz!

Processed in 0.013052 seconds, 22 queries