2010年4月8日 星期四

amscd

作者: hantis (呢呢是豬) 看板: Hantis
標題: [隨寫] Note: amscd
時間: Thu Apr  8 11:54:55 2010


   This is an extremely useful package for communative diagrams,
   such as

      after 10 years
   A ----------------> B

   The above example can be obtained by

   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
   ...
   \usepackage{amscd}
   ...

   \[
   \begin{CD}
   A @>\text{after 10 years}>> B
   \end{CD}
   \]
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

   Note that the CD environment must be inside the math mode.
   So \begin{align*}\begin{CD} XXX \end{CD}\end{align*} is ok,
   and so is $\begin{CD} XXX \end{CD}$.

沒有留言:

張貼留言