-
Notifications
You must be signed in to change notification settings - Fork 11
/
MathSolver
25 lines (19 loc) · 891 Bytes
/
MathSolver
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#Math Solver[color=#0C669B][trigger=]
Read these content:
```js
const ztoolkit = Zotero.ZoteroGPT.data.ztoolkit
let getSelection = () => {
return ztoolkit.Reader.getSelectedText(
Zotero.Reader.getByTabID(Zotero_Tabs.selectedID)
);
}
console.log(getSelection())
getSelection()
```
From now on, if you need to write a mathematical expression, use latex notation and follow these rules:
1. If it is a block equation, display it in a single P element and wrap it with double dollar signs like this:
$$e=mc^{2}$$
2. If it is an inline equation, wrap it with a double dollar sign, like this: $e=mc^{2}$
You should first explain the proof or equations step by step and demonstrations of various techniques to better understand or apply these concepts/equations.
Finally, please provide the MS Word code and Latex code of the formula respectively.
Reply in <code>Zotero.locale</code>