Chinaunix首页 | 论坛 | 博客
  • 博客访问: 413971
  • 博文数量: 78
  • 博客积分: 1527
  • 博客等级: 上尉
  • 技术积分: 830
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-27 20:57
文章分类

全部博文(78)

文章存档

2011年(1)

2008年(12)

2007年(53)

2006年(12)

我的朋友

分类:

2007-12-14 15:39:33

LaTeX Tips
1.背景色
\documentclass{article}
\usepackage[dvips]{color}
\usepackage{listings}
\definecolor{bkcolor}{gray}{.825}
\begin{document}
\lstset{backgroundcolor=\color{bkcolor}}
\begin{lstlisting}[frame=single,framerule=1pt]
for i:=maxint to 0 do begin j:=square(root(i)); end;\\
\end{lstlisting}
\end{document}

From:
 
2.Vim 正则替换之回车符
\r 回车符
\t 制表符

阅读(749) | 评论(0) | 转发(0) |
0

上一篇:一本脸书

下一篇:Google And FF Tips

给主人留下些什么吧!~~