Archive for 18th October 2009

Keywords highlight and auto-completion for lammps input file in Notepad++

Lammps is a powerful multi-purpose  simulation software. To run a simulation with lammps, one needs to prepare an input script file in which commands are issued to control the work flow. There are MANY commands  and lots of keywords supported by lammps. I found it’s good if there is a text editor capable of highlighting the keywords and keyword auto-completion. Notepad++ is one of the best free text editor. To add support of highlighting and auto-completion is pretty easy in Notepad++ cause it has a user-friendly interface (a dialog) to allow user to define new keywords, symbols, comments, operators for a new language. I just made the support  for lammps commands. Continue reading ‘Keywords highlight and auto-completion for lammps input file in Notepad++’ »

调整(放大或缩小)chm文件字体的方法

chm格式的电子书想必每个人都会看一些吧,自从升级到IE8以后,chm阅读器的界面上没有调整字体大小的按钮了。如果制作chm时作者没使用css还好,如果用了则ctrl+鼠标滚轮方式也不能调整文字大小。看书那叫一个累!(你的电脑越高级越累,因为分辨率太高字体就小了。)不过下面链接的内容告诉你解决办法:就是在IE选项中禁止使用网页中指定的文字大小。 Continue reading ‘调整(放大或缩小)chm文件字体的方法’ »