diff --git a/TeXmacs/plugins/physics/doc/physics.en.tmu b/TeXmacs/plugins/physics/doc/physics.en.tmu index cc5a405c12..a9b16ffe19 100644 --- a/TeXmacs/plugins/physics/doc/physics.en.tmu +++ b/TeXmacs/plugins/physics/doc/physics.en.tmu @@ -1,4 +1,4 @@ -> +> > @@ -35,6 +35,102 @@ <\equation*> |2>> + + > + + <\equation*> + |2>> + + + > + + <\equation*> + |2>||2>> + + + > + + <\equation*> + |2>||2>> + + + > + + <\equation*> + |2>||2>> + + + > + + <\equation*> + |2>||2>> + + + > + + <\equation*> + |2>||2>> + + + > + + <\equation*> + |2>||2>> + + + > + + <\equation*> + |2>||2>> + + + > + + <\equation*> + |2>||2>> + + + > + + <\equation*> + |2>||2>> + + + > + + <\equation*> + |2>|A||2>> + + + > + + <\equation*> + |2>|A||2>> + + + > + + <\equation*> + > + + + > + + <\equation*> + + + + > + + <\equation*> + + + + > + + <\equation*> + + diff --git a/TeXmacs/plugins/physics/packages/contrib/physics.ts b/TeXmacs/plugins/physics/packages/contrib/physics.ts index 537d4c1823..47f60d21fc 100644 --- a/TeXmacs/plugins/physics/packages/contrib/physics.ts +++ b/TeXmacs/plugins/physics/packages/contrib/physics.ts @@ -1,16 +1,16 @@ - + > <\body> - + <\src-purpose> This package contains macros for physics - + <\src-license> This software falls under the + + Braket operators + > + ||\|>>> \|>> @@ -29,7 +33,45 @@ |\>>> \>> + + ||\>>> + + \|\>> + + ,|]>>> + + ,]>> + + ,|]>>> + + ,]>> + + ,|}>>> + + ,}>> + + ,|}>>> + + ,}>> + + ||\>>> + + \|\|\>> + + \; + + + vectors + > + + >>> + + >>> + + |||||||||>|>>>>>>>> + + |||||||||>>|>>>>>>>> -> +> \ No newline at end of file diff --git a/devel/203_24.md b/devel/203_24.md new file mode 100644 index 0000000000..db82e05932 --- /dev/null +++ b/devel/203_24.md @@ -0,0 +1,25 @@ +# [203_24] 增强 physics 宏包支持 + +## 如何测试 + +在焦点工具栏的加号按键的 `contrib` 里启用 physics 宏包,检查如下命令 + +- `\braket`: 在braket内输入两个积分符号,braket的大小应该会根据符号大小自动变化。 +- `\braket*`: 在braket内输入两个积分符号,braket的大小应该不会变化。 +- `\comm`: 同上 +- `\comm*`: 同上 +- `\commutator`: 同上 +- `\commutator*`: 同上 +- `\acomm`: 同上 +- `\acomm*`: 同上 +- `\anticommutator`: 同上 +- `\anticommutator*`: 同上 +- `\mel`: 同上 +- `\mel*`: 同上 +- `\vb`: 输入一个字母,应当是粗体 +- `\vu`: 输入一个字母,应当粗体上方有 hat +- `\va`: 输入一个字母,应当粗体上方有 箭头 + + +## 2026/02/10 +为 Physics 宏包添加一些常用命令 \ No newline at end of file