MiKTex(一)安装

35473阅读 9评论2012-04-11 kenvifire
分类:WINDOWS

一、 MikTex是LaTex的一个发布版本,在下载,安装即可。
二、简单示例

点击(此处)折叠或打开

  1. \documentclass[a4paper,12pt]{article}
  2. \begin{document}

  3. The foundations of the rigorous study of \emph{analysis}
  4. were laid in the nineteenth century, notably by the
  5. mathematicians Cauchy and Weierstrass. Central to the
  6. study of this subject are the formal definitions of
  7. \emph{limits} and \emph{continuity}.

  8. Let $D$ be a subset of $\bf R$ and let
  9. $f \colon D \to \mathbf{R}$ be a real-valued function on
  10. $D$. The function $f$ is said to be \emph{continuous} on
  11. $D$ if, for all $\epsilon > 0$ and for all $x \in D$,
  12. there exists some $\delta > 0$ (which may depend on $x$)
  13. such that if $y \in D$ satisfies
  14. \[ |y - x| < \delta \]
  15. then
  16. \[ |f(y) - f(x)| < \epsilon. \]

  17. One may readily verify that if $f$ and $g$ are continuous
  18. functions on $D$ then the functions $f+g$, $f-g$ and
  19. $f.g$ are continuous. If in addition $g$ is everywhere
  20. non-zero then $f/g$ is continuous.

  21. \end{document}
点击排版,输出如下
三、中文支持

点击(此处)折叠或打开

  1. \documentclass[UTF8]{ctexart}
  2. \begin{document}
  3. 中文
  4. 中文
  5. 中文

  6. \end{document}
如果没有[UTF8]的话,中文会乱码,编译时会下包,找一个合适的源下完即可。
上一篇:Linux Device Drivers(一)hello world
下一篇:Linux Device Drivers(二)概述

文章评论