摘要: Local fileFiles can also be linked using the url or the href commands. You simplyhave to add the string run: at the beginning of the link string:\url{run:/path/to/my/file.ext}\href{run:/path/to/my/file.ext}{text displayed}You can use relative paths to link documents near the location of yourcurrent 阅读全文
posted @ 2012-03-25 00:26 alex4814 阅读(3461) 评论(0) 推荐(0) 编辑
摘要: 在CTEX里找了好久都没有MacTex的中文配置教程什么CJK的好复杂后来在can的文章帮助下算是成功了XeLaTex支持UTF编码用UTF8编码保存源代码才会有效果具体就是用fontspec包 然后设置字体\documentclass[11pt,a4paper]{article}\usepackage{fontspec}\setmainfont{Microsoft YaHei}\begin{document}世界,你好!\end{document}字体在Font Book里面可以找到没有的话去安装一些中文字体ttf格式是PC和MAC通用的在选中字体后按command+i可查看如图的信息字体的 阅读全文
posted @ 2012-03-03 14:48 alex4814 阅读(3150) 评论(0) 推荐(0) 编辑
摘要: 对于CSS新手的我来说。只能看一点学一点啦。见此。 阅读全文
posted @ 2012-01-29 18:52 alex4814 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 详情见此。 阅读全文
posted @ 2012-01-19 17:05 alex4814 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h>2 3 int main()4 {5 double x = 0;6 printf("%.4f\n", -x / 5);7 }這段代碼最終的輸出結果的是-0.0000這在某些題中會是個小trick應儘量避免。即不要在printf表達式中出現負號,或是另加特判處理。 阅读全文
posted @ 2012-01-19 14:29 alex4814 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 本人先裝的win7旗艦版。後來通過DVD安裝ubuntu,用安裝的引導分的區(即在win7裏ubuntu是被隱藏的)。之後開機出現的系統引導都是ubuntu界面的引導,所以默認的是啟動ubuntu系統。是一個叫grub的東西,只需改它選擇項的默認值即可。具體就是修改一個配置文件:sudo vim /boot/grub/grub.cfg //vim是個編輯器,也可以換成自帶的gedit找到set default = "0"改成set default = "4" //0指的是選項的第一個,4是第5個,根據你想要的默認啟動系統修改數字(ubuntu 11.10 阅读全文
posted @ 2012-01-19 13:41 alex4814 阅读(388) 评论(0) 推荐(0) 编辑
摘要: Here to have a look. 阅读全文
posted @ 2012-01-18 11:36 alex4814 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Warning信息如下:解决办法就是装上那个engine:sudo apt-get install gtk2-engines-pixbuf 阅读全文
posted @ 2012-01-18 11:21 alex4814 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 在lion中一個很小的改變其實會讓老用户很不習慣。觸摸板的方向是可以在System Preferences裏修改的,具體如下。只要去掉第一個Scroll direction : natural即可換回leopard中的方向。 阅读全文
posted @ 2012-01-17 20:58 alex4814 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 錯誤:1 update account_list2 set PaidIn = select sum(Penalty) from pay_rec where CerID = '1006840113' and Processed = 0,3 Way = '现金'4 where PaidIn = 0.00;正確:1 update account_list a, 2 (select sum(Penalty) as P from pay_rec where CerID = '1006840113' and Processed = 0 group by Pr 阅读全文
posted @ 2012-01-02 19:26 alex4814 阅读(1612) 评论(0) 推荐(0) 编辑