我相信不少理工科系的同學需要輸入數學公式,我用的是LibreOffice,但內建的編輯器在網路上能找到的教材實在太少了,LaTex還比較多,今天就來教怎麽在Linux上安裝LaTex編輯器的外掛。
- 安裝依賴(打開終端機)
Debian/Ubuntu系列
sudo apt install texlive-latex-base dvisvgm dvipng fonts-texgyre
Fedora/RHEL系列
sudo dnf install texlive dvisvgm dvipng texlive-tex-gyre
Windows或是其他安裝方式可以參考這篇:http://roland65.free.fr/texmaths/install.html - 下載插件
到LibreOffice插件官網:https://extensions.libreoffice.org/搜尋TexMath(網址:https://extensions.libreoffice.org/en/extensions/show/texmaths-1)下載.oxt文件。 - 安裝插件
打開LibreOffice的插件管理工具
安裝下載的插件 - 重啓LibreOffice,右上角會有圓周率的按鈕,即可完成!
- 需要注意的是,編輯器會沒有顯示任何符號,但是是可以正常渲染出目標公式。
參考資料
- What Happened to The Latex Symbols In the Libreoffice-Texmaths Equation Editor?. URL:https://askubuntu.com/questions/1141686/what-happened-to-the-latex-symbols-in-the-libreoffice-texmaths-equation-editor
- TexMath官網。http://roland65.free.fr/texmaths/install.html
- Notes for learning R and LaTeX on Ubuntu。https://juyin529.wordpress.com/2013/05/31/208/



沒有留言:
張貼留言