作者ip3311 (泡泡)
看板LaTeX
标题[问题] 请教一些问题、使用习惯优劣
时间Sat May 25 20:48:08 2013
抱歉最近刚接触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
1F:推 guteres:後遗症大概是以後学弟看到会整个砍掉XDDD 05/31 15:38