伪代码排版包 clrscode3e——Introduction to Algorithms Third Edition

官网上厚道的都把伪代码排版的 LaTeX2e 包 clrscode3e 给了出来。

为了享受专业完美带来的快感,你需要知道 LaTeX,对于Windows平台,官网建议用 proTeXt。proTeXt 包括了MiKTeXTeXstudio。当然,你只需要下载 proTeXt ,安装时选择将两个软件都装好就行了。

  • clrscode3e 包安装:
    1. 根据自己的安装位置在 C:\Program Files\MiKTeX 2.9\tex\latex\ 文件夹下建立 clrscode3e 文件夹,将 clrscode3e.sty 拷贝进去。
    2. 运行 Start->All Programs->MiKTeX 2.9->Maintenance (Admin)->Settings (Admin),点击 Refresh FNDB 更新数据库。
  • 伪代码排版:
    1. 运行 Start->All Programs->TeXstudio->TeXstudio,自己可以根据手册稍微熟悉熟悉环境。
    2. 主要参考 clrscode3e.pdf 手册,生成pdf查看效果。(这里给出我自己敲的 test.tex)。

结果:

Introduction to Algorithms, Third Edition [精装] ~ Thomas H. Cormen (作者), Charles E. Leiserson (作者), Ronald L. Rivest (作者), Clifford Stein (作者) 出版社: The MIT Press; 3 (2009年9月30日) 精装: 1312页 正文语种: 英语 ISBN: 0262033844 条形码: 9780262033848 产品尺寸及重量: 23.1 x 20.6 x 5.3 cm ; 2.2 Kg ASIN: 0262033844 Some books on algorithms are rigorous but incomplete; others cover masses of material but lack rigor. Introduction to Algorithms uniquely combines rigor and comprehensiveness. The book covers a broad range of algorithms in depth, yet makes their design and analysis accessible to all levels of readers. Each chapter is relatively self-contained and can be used as a unit of study. The algorithms are described in English and in a pseudocode designed to be readable by anyone who has done a little programming. The explanations have been kept elementary without sacrificing depth of coverage or mathematical rigor. The first edition became a widely used text in universities worldwide as well as the standard reference for professionals. The second edition featured new chapters on the role of algorithms, probabilistic analysis and randomized algorithms, and linear programming. The third edition has been revised and updated throughout. It includes two completely new chapters, on van Emde Boas trees and multithreaded algorithms, and substantial additions to the chapter on recurrences (now called "Divide-and-Conquer"). It features improved treatment of dynamic programming and greedy algorithms and a new notion of edge-based flow in the material on flow networks. Many new exercises and problems have been added for this edition. As of the third edition, this textbook is published exclusively by the MIT Press.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值