% !TEX TS-program = xelatex % !TEX encoding = UTF-8 % This is a simple template for a XeLaTeX document using the "article" class, % with the fontspec package to easily select fonts. \documentclass[10pt]{ctexart} % use larger type; default would be 10pt \setCJKfamilyfont{xinximingti}{PMingLiU} \pagestyle{plain} \usepackage{makeidx} \usepackage{latexsym,bm,amsfonts,amssymb,mathrsfs} \usepackage{fontspec} % Font selection for XeLaTeX; see fontspec.pdf for documentation \usepackage{xunicode} % Unicode support for LaTeX character names (accents, European chars, etc) \usepackage{xltxtra} % Extra customizations for XeLaTeX % other LaTeX packages..... \usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots. \geometry{a4paper} % or letterpaper (US) or a5paper or.... \usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent \usepackage{graphicx} % support the \includegraphics command and options \usepackage{xcolor} \usepackage{indentfirst} %\setlength{\voffset}{-15.4mm} %\setlength{\hoffset}{-2.4mm} \setlength{\parskip}{0pt} %\addtolength{\hoffset}{-2.5cm} %\addtolength{\textwidth}{2cm} %\linespread{1} \makeindex %激活索引命令 \title{\LaTeXe{}学习笔记}
Saturday, April 23, 2011
SyntaxHighlighter代码高亮
Prettifier代码高亮
% !TEX TS-program = xelatex % !TEX encoding = UTF-8 % This is a simple template for a XeLaTeX document using the "article" class, % with the fontspec package to easily select fonts. \documentclass[10pt]{ctexart} % use larger type; default would be 10pt \setCJKfamilyfont{xinximingti}{PMingLiU} \pagestyle{plain} \usepackage{makeidx} \usepackage{latexsym,bm,amsfonts,amssymb,mathrsfs} \usepackage{fontspec} % Font selection for XeLaTeX; see fontspec.pdf for documentation \usepackage{xunicode} % Unicode support for LaTeX character names (accents, European chars, etc) \usepackage{xltxtra} % Extra customizations for XeLaTeX % other LaTeX packages..... \usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots. \geometry{a4paper} % or letterpaper (US) or a5paper or.... \usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent \usepackage{graphicx} % support the \includegraphics command and options \usepackage{xcolor} \usepackage{indentfirst} %\setlength{\voffset}{-15.4mm} %\setlength{\hoffset}{-2.4mm} \setlength{\parskip}{0pt} %\addtolength{\hoffset}{-2.5cm} %\addtolength{\textwidth}{2cm} %\linespread{1} \makeindex %激活索引命令 \title{\LaTeXe{}学习笔记}
Foobar2000 1.1.6 Final
Improved performance when playing very short tracks.
Improved tag compatibility with other software.
“Album artist” is mapped to ID3v2 TPE2 like in WMP/iTunes.
Support for iTunes “itunescompilation” tags, in MP3/ID3v2 and MP4.
ID3v2.3 tags are now written by default since version 2.4 seems to be widely ignored by software vendors.
Added support for multi-value WMA tags.
Read more about tagging changes
Improved reading of MP3 encoding information headers written by alpha versions of LAME.
ReplayGain scanner now uses libebur128 for improved accuracy.
下载:foobar2000 1.1.6
Tuesday, April 19, 2011
代码高亮
<div align="left"> <b:if cond='data:blog.pageType == "item"'> <script type="text/javascript"><!-- google_ad_client = "ca-pub-4188099146370791"; /* Chu's Mirror 300x250 */ google_ad_slot = "6275169557"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </b:if> </div>
普通代码引用
<div align="left">
<b:if cond='data:blog.pageType == "item"'>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-4188099146370791";
/* Chu's Mirror 300x250 */
google_ad_slot = "6275169557";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</b:if>
</div>
Latex导言区代码
% !TEX TS-program = xelatex
% !TEX encoding = UTF-8
% This is a simple template for a XeLaTeX document using the "article" class,
% with the fontspec package to easily select fonts.
\documentclass[10pt]{ctexart} % use larger type; default would be 10pt
\setCJKfamilyfont{xinximingti}{PMingLiU}
\pagestyle{plain}
\usepackage{makeidx}
\usepackage{latexsym,bm,amsfonts,amssymb,mathrsfs}
\usepackage{fontspec} % Font selection for XeLaTeX; see fontspec.pdf for documentation
\usepackage{xunicode} % Unicode support for LaTeX character names (accents, European chars, etc)
\usepackage{xltxtra} % Extra customizations for XeLaTeX % other LaTeX packages.....
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{a4paper} % or letterpaper (US) or a5paper or....
\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx} % support the \includegraphics command and options
\usepackage{xcolor}
\usepackage{indentfirst}
%\setlength{\voffset}{-15.4mm}
%\setlength{\hoffset}{-2.4mm}
\setlength{\parskip}{0pt}
%\addtolength{\hoffset}{-2.5cm}
%\addtolength{\textwidth}{2cm}
%\linespread{1}
\makeindex %激活索引命令
\title{\LaTeXe{}学习笔记}
重慶晚報懷念“谷歌”:網絡神獸古鴿遷移記
古鸽是一种目前在中国境内濒临灭绝的鸽属鸟类,是一种搜索隐禽。
据环保人士的谨慎假设,怀疑该鸟类的异常行为和最近全 球气候极端化,特别是中国近几年来频发的大面积生态、 环境、气候和地质灾害有关。遭遇问题,它没有像草泥马一样顽强地生存下来,而是举族迁徙,这被全球各地的一些动 物爱好者所鄙视。
外形特征
生活环境
初步研究表明,古鸽的离去很可能导致另一种长着熊爪,酷似古鸽,却又习性不同的猛禽类——犤毒鸟,这种古书中传 说的本土鸟类数量呈爆炸性增长,最终迫使中国内地居民 不得不使用这种带有剧毒、性情凶狠、只以中文作为鸣叫声、以钱币为食的上古神兽级猛禽,以代替古鸽的部分功能。
群居,一个国家的古鸽族群有各种不同的擅长功能。古鸽以各种印有文字的物体为食,并会自动评估该食物的权重,最终以极复杂的算法决定下一次进食的优先 选择顺序。
种群现状
不少动物爱好者已于2010年3月23日晚前往位于北 京鸟关村的古鸽园进行悼念活动。
Wednesday, April 6, 2011
总结各类系统下安装IPv6的方法
◆Redhat Linux
(1)修改/etc/sysconfig/network文,加入列配置文本:NETWORKING_IPV6=yes
(2)运行命令:service networkre start
(3)命令ifconfig-a查看IPV6地址信息
◆其它Linux
(1)检查当系统否支持IPV6
test-f/proc/net/if_inet6&&echo"Running kernelis IPV6 ready"
(2)载入IPV6
如果没有安装成功,命令mod probe IPV6载入IPV6。
(3)检查否确载入IPV6
lsmod|grep-w'IPV6′&&echo"IPV6 module successfully loaded"
◆Windows XP
在命令行窗口下,输入下列命令
IPV6 install
注:Windows XP建议使用ISATAP隧道方式,不建议用tunnel broker
◆Windows 2003 Server
在命令行窗口下,输入下列命令
net shinter face IPV6 install
注:Windows 2003 Server建议使用ISATAP隧道方式,不建议用tunnel broker
◆Windows 2000
先下载文件,解压后,进入tcpIPV6-001205-SP4-IE6setup目录,运行hotfix.exe。
IPV6驱动安装完毕后,重启计算机。
进入控制面板,"网络和拨号连接",右击"本地连接",点击属性,打开"本地连接属性",点击"安装"按钮,选择"协议",点击"添加…",选择"Microsoft IPV6 Protocol",点击确定。
IPV6协议栈安装完毕。
◆FreeBSD
FreeBSD在版本4.0-RELEASE后,已集成KAME IPV6 Stack,缺省支持IPV6
在/etc/rc.conf文件中加入下列配置文本
IPV6_enable="YES"
reboot重启计算机
可阅读FreeBSD Hand book中IPV6部分获得更详细信息。
◆Solaris
运行下列命令
touch/etc/hostname6.hme0
修改/etc/nsswitch.conf,寻找hosts和ipnodes字符串,修改如下
hosts:filesdns
ipnodes:filesdns
运行reboot命令重启计算机
转自:https://psblog.name/2010/10/4373.html