# 於 Google 簡報中插入方程式 > 作者:王一哲 > 日期:2020/3/22 <br /> ## 前言 最近我在準備下學期的教材,為了能夠便於分享及共同編輯教材,再加上本校資訊組為全校師生申請到 G Suite,我決定採用 Google 簡報製作上課用的投影片,用 Google 文件製作學習單。但是 Google 簡報現在並沒有插入方程式的功能,於是我找到了這個效果不錯但有點麻煩的解決方案。 <br /> ## 使用線上工具產生方程式 我通常使用的網站為 [latex.codecogs.com](https://latex.codecogs.com/eqneditor/editor.php),在格子裡輸入方程式對應的 $\LaTeX$ 編碼,例如我想要顯示方程式是加上馬克士威修正的安培定律,需要輸入的編碼如下 ```latex \nabla \times \mathbf{B} = \mu_0 \left ( \mathbf{J} + \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t} \right ) ``` 網站會自動產生成方程式,可以將它下載並儲存成 gif、png、pdf 或 svg 檔,在此我選擇存成 svg 檔,這樣在放大之後才不會變成馬賽克。 <br /> <img style="display: block; margin-left: auto; margin-right: auto" height="100%" width="100%" src="https://imgur.com/tROkfqp.png"> <div style="text-align:center">latex.codecogs.com</div> <br /> 如果想要改變字體的顏色,例如改為白色,可以將編碼改為 ```latex {\color{white} \nabla \times \mathbf{B} = \mu_0 \left ( \mathbf{J} + \varepsilon_0 \frac{\partial \mathbf{E}}{\partial t} \right )} ``` 網站有產生方程式,但因為底色也是白色,所以好像什麼都看不到。 <img style="display: block; margin-left: auto; margin-right: auto" height="100%" width="100%" src="https://imgur.com/8upfvQc.png"> <div style="text-align:center">latex.codecogs.com 字體為白色</div> <br /> ## 上傳至 Google 雲端硬碟並轉檔 將剛才下載的 svg 檔上傳至 Google 雲端硬碟,在檔案上雙擊滑鼠左鍵,選擇使用 **CloudConvert** 開啟檔案,接著頁面會自動轉到 [CloudConvert](https://cloudconvert.com/) 網站。 <img style="display: block; margin-left: auto; margin-right: auto" height="100%" width="100%" src="https://imgur.com/59llNOX.png"> <div style="text-align:center">選擇開啟工具</div> <br /> 選擇輸出的格式為 **emf** 再按右下角的 **Convert**,完成轉檔之後就會在 Google 雲端硬碟裡看到轉檔後的 emf 檔。 <img style="display: block; margin-left: auto; margin-right: auto" height="100%" width="100%" src="https://imgur.com/D68CDCW.png"> <div style="text-align:center">CloudConvert 網站</div> <br /> <img style="display: block; margin-left: auto; margin-right: auto" height="100%" width="100%" src="https://imgur.com/4tgaauC.png"> <div style="text-align:center">CloudConvert 網站已完成轉檔</div> <br /> ## 將 emf 檔插入 Google 簡報 在要插入的檔案上雙擊滑鼠左鍵,選擇使用 **Google 繪圖** 開啟檔案。 <img style="display: block; margin-left: auto; margin-right: auto" height="100%" width="100%" src="https://imgur.com/DZzT6Lt.png"> <div style="text-align:center">選擇使用 Google 繪圖開啟檔案</div> <br /> 選取方程式圖片,按 **Ctrl + C** 複製圖片。 <img style="display: block; margin-left: auto; margin-right: auto" height="100%" width="100%" src="https://imgur.com/GF3z7Rf.png"> <div style="text-align:center">Google 繪圖</div> <br /> 切換到想要插入圖片的 Google 簡報檔頁面,按 **Ctrl + V** 貼上圖片。由於圖片格式為向量圖檔,將圖片放大之後不會變成馬賽克。 <img style="display: block; margin-left: auto; margin-right: auto" height="100%" width="100%" src="https://imgur.com/ZRvR9sD.png"> <div style="text-align:center">插入方程式圖片至 Google 簡報(白底黑字)</div> <br /> 我也測試了黑底白字的效果,看起來也不錯。這是測試用的 [Google 簡報檔連結](https://docs.google.com/presentation/d/12T7QaCBRsM7kCuVg2nOvCH_OSjyBU9gd4kMHi7d4Aw0/edit?usp=sharing)。 <img style="display: block; margin-left: auto; margin-right: auto" height="100%" width="100%" src="https://imgur.com/JdzUFsZ.png"> <div style="text-align:center">插入方程式圖片至 Google 簡報(黑底白字)</div> <br /> ## 結語 這個方法雖然可行,看起來效果也不錯,但畢竟步驟還是多了一點,而且無法直接在 Google 簡報中修改方程式,如果想要修改方程式就只能從頭開始再插入另一張圖片。如果 Google 簡報能夠直接插入 svg 檔,應該會是最方便的解決方案。 <br /> ## 參考資料 GRAPHIC DESIGN How can I import a vector drawing into Google Slides? [https://graphicdesign.stackexchange.com/questions/115814/how-can-i-import-a-vector-drawing-into-google-slides](https://graphicdesign.stackexchange.com/questions/115814/how-can-i-import-a-vector-drawing-into-google-slides) --- ###### tags:`電腦`、`Google`
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.