<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>数学工具</title>
  <link rel="alternate" type="text/html" href="http://www.kzeng.info/taxonomy/term/657"/>
  <link rel="self" type="application/atom+xml" href="http://www.kzeng.info/taxonomy/term/657/atom/feed"/>
  <id>http://www.kzeng.info/taxonomy/term/657/atom/feed</id>
  <updated>2006-10-28T17:04:40-04:00</updated>
  <entry>
    <title>完成 Drutex 配置</title>
    <link rel="alternate" type="text/html" href="http://www.kzeng.info/node/1475" />
    <id>http://www.kzeng.info/node/1475</id>
    <published>2006-10-28T00:00:43-04:00</published>
    <updated>2006-10-28T17:04:40-04:00</updated>
    <author>
      <name>kzeng</name>
    </author>
    <category term="drutex" />
    <category term="latex" />
    <category term="数学工具" />
    <category term="Drupal" />
    <summary type="html"><![CDATA[呵呵，完成了DruTex的配置，现在可以很方便的输入数学公式了，譬如 Cobb-Douglas Production Function: $Q_t=v{K_t}^\alpha{L_t}^{1-\alpha}$。这是一个比较纯粹的 LaTex 环境。

其实DruTex配置起来挺简单的。只需要在服务器端安装 LaTex，然乎 ImageMagick 或者 dvipng 任选其一即可。后两者主要是用于LaTex输出结果到图片的转化。我先开始没有仔细的阅读安装说明，以为必须安装dvipng，所以写信给我的 hosting service 开通了 SSH 接入的全部权限，自己安装了 dvipng。安装之后才发现并无必要。呵呵，输入一个较为复杂的 Infinite Geometric Series 试一下：$$\sum_{k=0}^\infty ar^k = \lim_{n\to\infty}\frac{a(1-r^{n+1})}{1-r} = \lim_{n\to\infty}\frac{a}{1-r} - \lim_{n\to\infty}{\frac{ar^{n+1}}{1-r}} = \frac{a}{1-r}$$
    ]]></summary>
    <content type="html"><![CDATA[呵呵，完成了DruTex的配置，现在可以很方便的输入数学公式了，譬如 Cobb-Douglas Production Function: $Q_t=v{K_t}^\alpha{L_t}^{1-\alpha}$。这是一个比较纯粹的 LaTex 环境。

其实DruTex配置起来挺简单的。只需要在服务器端安装 LaTex，然乎 ImageMagick 或者 dvipng 任选其一即可。后两者主要是用于LaTex输出结果到图片的转化。我先开始没有仔细的阅读安装说明，以为必须安装dvipng，所以写信给我的 hosting service 开通了 SSH 接入的全部权限，自己安装了 dvipng。安装之后才发现并无必要。呵呵，输入一个较为复杂的 Infinite Geometric Series 试一下：$$\sum_{k=0}^\infty ar^k = \lim_{n\to\infty}\frac{a(1-r^{n+1})}{1-r} = \lim_{n\to\infty}\frac{a}{1-r} - \lim_{n\to\infty}{\frac{ar^{n+1}}{1-r}} = \frac{a}{1-r}$$
    ]]></content>
  </entry>
</feed>
