Try   HackMD

Overleaf 使用方法

Overleaf 介紹

LaTeX 是一款非常好用的文件編輯器,透過類似寫程式的編輯方式,可以弄出很漂亮的數學式還有自動弄出整齊的排版。Overleaf 是最主流的 LaTeX 線上編輯器。推薦大家有空學 > < 做報告真的很方便。

共編連結

https://www.overleaf.com/2228648893cxncjkcdjyzg

調整環境

Overleaf 整體介面長這樣:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

點左上角的 Menu 可以進入環境設定:

  • Compiler 是 LaTeX 的編譯器,選 XeLaTeX 這樣才能編譯英文以外的語言。
  • Spell Check 可以關掉,不然紅色波浪滿礙眼ㄉ。
  • Editor Theme, Font Size, Font Family 可以依照個人需求調整。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

編譯方法

按一下 Recompile 或在編輯介面輸入快速鍵 Ctrl + Enter 可以編譯文件,編譯出來的結果會在右半邊顯示。

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

上傳圖片

把照片檔放到某個資料夾底下:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

之後到 tex 檔插入程式碼:

\begin{center} \includegraphics[width=\textwidth]{Image_HW1/TestImage.png} \end{center}

重新編譯應該就看得到圖片了!

P.S. center 代表把照片置中,includegraphics 是插入圖片的語法 owo