2008-06-14

单分派与多分派,聊天记录

关键字: 单分派, 多分派, 多重分派, 静态单分派, clos
2007-12-17 23:06:01 lct The solution to these problems is to replace dynamically-dispatched messages with one or more statically-bound procedure calls wherever possible, to inline-expand the callee methods whenever the callee is small (a common case given the presence of accessor methods, user-d ...
2008-05-14

latex插图位置问题

关键字: latex, figure
使用figure会进行浮动环境,这样插的图latex会自动调整。 一般我们不需要这样的功能。 可以使用 \begin{figure}[h] \end{figure} 或者使用\includegraphics 插入,如果列figure估计列不出来 如果想要放在自己指定位置并且需要交叉引用的话,要使用以下的格式: \makeatletter \def\@captype{figure} \makeatother \includegraphics{*.eps} \caption{...\label{...}}
2008-05-14

texlive下面有很多程序执行ruby脚本

关键字: texlive, ruby, latex
比如pstopdf的, 以前用的都是ps2pdf.exe 现在这儿是用 >texmfstart --verbose pstopdf.rb beamertest.ps texmfstart version 2.0.3 locating 'pstopdf.rb' in current path '.' locating 'pstopdf.rb' in caller path './../ruby' kpse : direct (forced) using kpsewhich variable RUBYINPUTS testing './pstopdf.rb' testing 'e:/tex ...
2008-05-12

中文粗体,斜体的问题

关键字: latex, bold
中文没有粗体,斜体。这些都是洋文的, windows上的都是伪粗,伪斜。
2008-03-25

Resume

关键字: resume, search engine
Personal Information Name:周敏 (Min Zhou) Gender:male Date of Birth:1982/04 Current WorkState:Only the good opportunity then i consider Primary Contact:Mobile (13560220768) Contact2:School(020-38375371) Web Page:http://coderplay.javaeye.com Wed State:Single Political Background:Non-Part ...
往代码里面插入中文。 这段有时候会出错,编译不了。 但大多时候可以正常运行。 \lstset{escapebegin=\textbraceleft\begin{CJK}{GB}{gbsn},escapeend=\end{CJK}\textbraceright} \begin{lstlisting}[escapeinside=\{\}] for i:=maxint to 0 do begin { 中文 } end; \end{lstlisting} 以下都可以改中文 \renewcommand\abstractname{摘~~要} \renewcommand{\contentsname}{ ...
2007-12-18

texlive 2007使用日记

关键字: texlive
\input与\include有区别. 比如写Makefile的时候, Makefile所在目录是项目的主目录. 此项目下面有src/chapter1.tex, src/main.tex 如果main.tex用\input引用chapter1.tex时,得带上目录名 \input{src/chapter1} 表明此时目录是和Makefile的地址一致。 而\include却不用,它是 \include{chapter1} 2. \renewcommand{}{}可以用来重定义一些命令的相关参数。同类型的还有\newenvironment{}{}{},它是定义环境的,更大幅度地改变。 \r ...
安装 1. 在http://www.tug.org/texlive/下载texlive的iso文件. 它分live和dist版, windows上可以用dist版. live版内容太多. 2. 安装好了后, 会有一个texmf-local目录与texlive的根目录平行. 这个texmf-local目录也就是你自己的宏包,字体等资源的添加目录. 3. 安装中文字体. 用王垠的gbkfonts来做字体文件.具体方法参见: http://learn.tsinghua.edu.cn:8080/2001315450/tex/tex_setup_chinese.html windows上可以下载 ...
2007-06-22

Ocamllex 指南

关键字: ocaml, 词法分析, lex, fp
原译文发布在ocaml.cn , 这里的blog不支持html的说,郁闷 Ocamllex 改编者: SooHyoung Oh 翻译: coderplay(email: flashvan@gmail.com) 此指南讲解怎么使用Ocaml语言分发包所带的ocamllex. 此文档从 flex 手册借签了很多. 请把你的意见和建议发至 此指南还在编写当中,最新的版本放在 http://pllab.kaist.ac.kr/~shoh/ocaml/ocamllex-ocamlyacc/ocamllex-tutorial/index.html. 此指南的姐妹篇ocamlyacc指南在 h ...
coderplay
搜索本博客
存档
最新评论