====== Tips ====== This wiki site is built using [[https://www.dokuwiki.org | dokuwiki]], you can see [[wiki/syntax]] for common usage. ===== Latex / Katex ===== We use Katex for rendering math formula. It is a lightweight (though a bit limit) math renderer. You can check out its usage here https://katex.org/docs/supported.html If you want to define some macro, you can use 'gdef'. For example, adding this $\gdef\qlb{\overline{\mathbb Q}_l}$ then you can use $\gdef\qlb{\overline{\mathbb Q}_l}$ %%\qlb%% to show $\qlb$. Be sure to use curly braces to enclose the thing. We also have some built-in macro as {{math104-s21:s:pasted:20210414-232650.png?linkonly|in here}}. ===== Copy and Paste Pictures ===== This is [[https://www.dokuwiki.org/plugin:imgpaste | imgpaste ]] plugin. If you are at the edit box of a page, and if your clipboard has some image in it (say, you just take screenshot of your mac, or have right-clicked on an image on an website and clicked 'copy image'), then you can Ctrl+V (or Cmd + V in macOS), to paste the image into the location. This is especially useful, if you have an iPad and a Mac, then if you draw some picture on your iPad, you can copy the image on your iPad, then paste it to your Mac (there is a magical cloud clipboard).