[問題] 請教一些問題、使用習慣優劣

看板LaTeX (論文排版)作者 (泡泡)時間12年前 (2013/05/25 20:48), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/2 (看更多)
抱歉最近剛接觸tex 可能是智障問題 可以隨便罵我沒關係 我會虛心接受.... 問題一:theorem 與 proof 的間距 最近用到用 amsthm 的 thm package 用到 proof 的時候 發現proof的 headspace 最小大概30pt左右 就算我在 \newtheoremstyle{theorem} 裡面改成 0pt 他還是那麼大 還是要在其他地方改? 前面設定是這樣: \newtheoremstyle{theorem} {0pt}%above space {0pt}%below space {}%body font {}%indent (empty=0pt) {\bfseries}%head font {\\}%head punct {0pt}%head space {}%custom head space \theoremstyle{theorem} \newtheorem{Thm}{Theorem}[section] \newtheorem{Def}[Thm]{Definition} \newtheorem{Lem}[Thm]{Lemma} \newtheorem{Ex}[Thm]{Example} \newtheorem{Note}[Thm]{Note} \newtheorem{Exercise}[Thm]{Exercise} 內文是這樣: \begin{Thm} blabla... \end{Thm} \begin{Thm} blabla... \end{Thm} \begin{proof} blabla... \end{proof} \begin{Def} blabla... \end{Def} \begin{Thm} blabla... \end{Thm} \begin{proof} blabla... \end{proof} 編譯出來是這樣:(png) http://cl.ly/PCMk 是我改錯了嗎? 問題二:習慣問題 以前寫程式的時候總是會有一些個人習慣,有好有壞,壞的當然努力改 現在寫tex也因為偷懶... 就是我把左右括號newcommand成這樣 \newcommand\Sb[1]{\left(#1\right)} \newcommand\Mb[1]{\left[#1\right]} \newcommand\Bb[1]{\left\{#1\right\}} \newcommand\Abs[1]{\left|{#1}\right|} \Sb代表small bracket \Mb代表middle bracket \Bb代表big bracket \Abs代表絕對值 不過只有看到我這樣用 我看到許多人還是直接用left right 我會這樣用除了懶惰 還有我個人認為這樣比較清楚 我要問的是,除去我個人因素,這樣用會有什麼後遺症嗎?(壞習慣要改阿) -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.43.164.54

05/31 15:38, , 1F
後遺症大概是以後學弟看到會整個砍掉XDDD
05/31 15:38, 1F
文章代碼(AID): #1HeBCBau (LaTeX)
文章代碼(AID): #1HeBCBau (LaTeX)