Category Archives: 老照片

老照片

Paratrooper

  Paratrooper,我在电脑上玩的第一个游戏,但它的名字我是刚刚才知道。

http://www.palmislife.com/~risumfiriri/greymatter/archives/00000256.htm

老照片

PSPad中删除硬回车

  PSPad的正则表达式可以匹配行尾,但是不能删除硬回车,所以每当我要做这件事情时,还要找UE。昨天灵光一现,想到个办法:切换到HEX编辑模式,删除0D0A(UNIX格式为0A,Mac格式为0D),再切换回去就OK了。

  如果哪位朋友还有别的更好的方法,请告诉我。

老照片

郑码码表 for 掌易 2.0 beta

郑码码表 for 掌易 2.0 beta

说明:1、PDB类型为”MBZM”;2、从Windows的码表转换而来,没有针对掌易优化码表结构(主要是不知道怎样优化更有利于掌易)。

相关讨论贴:http://www.51pda.cn/bbs/htm_data/52/0607/861.html

掌易2.0 beta

老照片

表格中,既要固定列宽又要居中的方法

  我的实现方法:

\begin{tabular}{|c|p{8cm}|}
\hline
a & \hfil 居中测试 \hfil \\
\hline
b & 居左测试 \\
\hline
c & {\hfill 居右测试} \\
\hline
\end{tabular}

  注意:第一个是\hfil,第三行是\hfill。

老照片

DELPHI 2006中的“同步编辑”——非常棒!

  DELPHI 2006中有一个被称为”Sync Edit”的功能,我翻译成”同步编辑”。选中一块代码,左边与块首同行的位置会出现一个小图标,点击它就可以进入”Sync Edit Mode”,或者选中后直接按Shift+Ctrl+J。这时,在被选中的代码块中,相同的变量名会标识出来,更改其中任一个,其他的会同时更改。试想一下,如果需要更改循环变量的名字,或者是更改某一函数体中的局部变量名称,……,要多棒有多棒!!

老照片

使用pdfLaTeX时,添加PDF文件属性的方法

  PDF文件中含有标题、主题、作者、关键字等属性。这些属性,在Acrobat Reader或者Foxit Reader中可以通过”文件”菜单下的”属性”查看,在Acrobat Read中还可以使用Ctrl+D查看。使用pdfLaTeX生成PDF文件时,需要结合hyperref包添加这些属性,使用以下命令:

\usepackage{hyperref}
\hypersetup{
pdftitle={the title},
pdfauthor={author’s name},

}

  可选的属性有pdftitle,pdfsubject,pdfauthor,pdfkeywords,pdfcreator和pdfproducer,分别代表标题、主题、作者、关键字、创建者和制作者。pdfcreator与pdfproducer的区别,我的理解是,pdfcreator是指生成该PDF文件的人,而pdfproducer是指生成该PDF文件所用的工具(软件)。

  另外还可以直接修改\maketitle命令以自动将文档的\title和\author添加到PDF文件相关属性。这对于模板的作者十分有用。详细的用法请查阅文献[1]。

  注意:目前该命令似乎还不支持中文。

参考文献:

[1] Heiko Oberdiek, PDF information and navigation elements with hyperref, pdfTeX, and thumbpdf, %TeXHomeDir%\texmf\doc\latex\hyperref\paper.pdf, 1999.10

附原文相关内容:

Package hyperref knows the following options to fill the elements of the general document information:
pdftitle, pdfsubject,pdfauthor, pdfkeywords, pdfcreator,pdfproducer
The normal place for options is the optional argument of the \usepackage command. However LaTeX expands the options before passing them to the package. So the switching of the encoding and all the redefinitions of \pdfstringdef are not
active while expanding. Therefore it is better to set the information options, after package hyperref is loaded. For this purpose the package provides \hypersetup:
\usepackage{hyperref}
\hypersetup{
pdftitle={About umlauts: \”a \”o \”u \ss},
pdfauthor={\textcopyright\ Heiko Oberdiek},

}
Another possibility is toreuse the data of \maketitle:
\newcommand\org@maketitle{}
\let\org@maketitle\maketitle
\def\maketitle{%
\hypersetup{
pdftitle={\@title},
pdfauthor={\@author}
}%
\org@maketitle
}

老照片

使用Dvipdfm时,添加PDF文件属性的方法

  PDF文件中含有标题、主题、作者、关键字等属性。这些属性,在Acrobat Reader或者Foxit Reader中可以通过”文件”菜单下的”属性”查看,在Acrobat Read中还可以使用Ctrl+D查看。使用Dvipdfm生成PDF文件时,使用以下命令添加这些属性:

\special{pdf: docinfo << /Author (author’s name) /Title (the title) >>}

  可选的属性有/Author,/Title,/Keywords,/Subject和/Creator,分别代表作者、标题、关键字、主题和创建者。

  注意:目前该命令似乎还不支持中文。

参考文献:
[1] Mark A. Wicks, Dvipdfm User’s Manual, %TeXHomeDir%\texmf\doc\dvipdfm\dvipdfm.pdf, 1999.9.19

附原文相关内容:

Syntax: docinfo PDF dictionary
Description: The docinfo command adds the keys in the specified dictionary to the document’s /Info dictionary. All keys are optional, but may include the keys
/Author, /Title, /Keywords, /Subject, and /Creator.
Example:
\special{pdf: docinfo << /Author (Mark A. Wicks) /Title (This Document) >>}


老照片

大家都在看球,网速不错

  今天晚上我感觉网速不错,但是也有人说网速很差。有趣的是,大家都认为是世界杯的缘故。

老照片

近朱者赤

  Amao普通话很标准,而我普通话中南方口音比较重,不过,我最近发现他普通话不太地道了。今天晚上,我问他:”你发现你的普通话没有以前那么好了吗?”他感叹道:”我也感觉到了,真的是近朱者赤,近墨者黑啊。”我马上答道:”我是朱。”Amao不怀好意的笑着说:”是啊,你是猪。”

老照片

世界杯桌面

46dac66f0200038p.jpg


Del.icio.us : ,

无觅相关文章插件,快速提升流量