{"id":25336,"date":"2009-08-26T14:29:41","date_gmt":"2009-08-26T06:29:41","guid":{"rendered":"http:\/\/www.kaiyannju.cn\/?p=25336"},"modified":"2009-08-26T14:29:41","modified_gmt":"2009-08-26T06:29:41","slug":"latex%e6%96%87%e6%a1%a3%e6%a8%a1%e6%9d%bf","status":"publish","type":"post","link":"http:\/\/yankay.com\/latex%e6%96%87%e6%a1%a3%e6%a8%a1%e6%9d%bf\/","title":{"rendered":"latex\u6587\u6863\u6a21\u677f"},"content":{"rendered":"
\u5728\u4e4b\u524d\u7684\u4e24\u4e2a\u6708\uff0c\u8865\u5145\u4e86\u4e0d\u5c11\u6392\u7248\u4e0a\u7684\u77e5\u8bc6\uff0c\u662f\u65f6\u5019\u53d1\u6325\u4e00\u4e0b\u4e86\u3002\u628a\u539f\u5148\u5199\u7a0b\u5e8f\u6587\u6863\u7684\u6a21\u677f\u52a0\u4ee5\u6539\u8fdb\u3002\u6210\u679c\u5982\u4e0b\u3002<\/p>\n
\nusepackage{graphicx}\nusepackage{indentfirst}\nusepackage[usenames,dvipsnames]{color}\nusepackage{fancyvrb} % for verbatim\nusepackage{fancyhdr}\nusepackage{listings}\nusepackage[sf]{titlesec}\nusepackage{titletoc}\nusepackage[boldfont,slantfont,CJKnumber]{xeCJK}\nusepackage{xcolor} % \u4f7f\u7528\u989c\u8272\u5b8f\u5305\nusepackage{color}\nusepackage{amsmath, amsfonts, epsfig, xspace}\nusepackage{algorithm,algorithmic}\nusepackage[normal,tight,center]{subfigure}\nusepackage{graphicx}\nusepackage{booktabs}\nusepackage{longtable}\nusepackage{array}\nusepackage{multicol}\nusepackage{colortbl}\n\ndefinecolor{steelblue}{rgb}{.275,.51,.71}\ndefinecolor{lpink}{rgb}{.991,.711,.754}\ndefinecolor{mygray}{gray}{0.92}\ndefinecolor{darkblue}{rgb}{0,0,.5}\ndefinecolor{darkgreen}{rgb}{0,.39,0}\ndefinecolor{hgray}{gray}{.5}\ndefinecolor{lgray}{gray}{.8}\n\nusepackage[colorlinks=true,urlcolor=blue,linkcolor=blue]{hyperref} % for links and anchors\n\nsetCJKmainfont[BoldFont=Adobe Heiti Std]{Adobe Song Std} % \u8bbe\u7f6e\u9ed8\u8ba4\u7684\u4e2d\u6587\u5b57\u4f53\nsetCJKfamilyfont{kai}{Adobe Kaiti Std}\n\nnewcommand{kai}{CJKfamily{kai}}\nnewcommand{sectionname}{\u7b2cCJKnumber{thesection}\u7ae0}\nnewcommand{myheader}[1]{textcolor{darkblue}{#1}}\n\ndefprojectName{Enhance2web20}\nrenewcommandcontentsname{\u76ee\u5f55}\n\nspecial{ pdf: bgcolor [ 1.00 0.98 0.95 ] }\n\nlinespread{1.382}\n\npagestyle{fancy}\n\nmakeatletter\n fancyhf{}\n lhead{textcolor{hgray}@title}\n rhead{textcolor{hgray}leftmark}\nmakeatother\n\nmakeatletter\nrenewcommand{maketitle}{\nbegin{titlepage}%\nletfootnotesizesmall\n letfootnoterulerelax\n parindent z@\n reset@font\n vskip 10p@\n hbox{mbox{%\n hspace{4pt}%\n fbox{includegraphics[width=6em]{..\/logo.png}}%\n hspace{4pt}\n }%\n vrule depth 0.8textheight%\n mbox{hspace{2em}}\n vtop{% %%%%%%%%%%%%%%%%%%\n vskip 40p@\n begin{flushleft}\n Large projectName par\n end{flushleft}\n vskip 80p@\n begin{flushleft}\n textcolor{steelblue}{ fontsize{36}{20pt} bfseries kai @title }par\n end{flushleft}\n\n }\n }\n rightline{By @author}\n\n end{titlepage}%\n}\n\nmakeatother\n\ntitleformat{section}[hang]{LARGEsfkai}\n {myheadersectionname}\n {1em}\n {myheader}[color{steelblue}{titlerule}]\n\ntitleformat{subsection}[hang]{Largesfkai}\n {myheaderthesubsection}\n {1em}\n {myheader}\ntitleformat{subsubsection}[hang]{largesfkai}\n {myheaderthesubsubsection}\n {1em}\n {myheader}\n\ntitlecontents{section}\n [2em]{largesfkaiaddvspace{-0.1em}}\n {thecontentslabelquad}\n%% {hspace*{-2.3em}}\n {}\n {titlerule*[0.8pc]{.}contentspage}\ntitlecontents{subsection}\n [4em]{smalladdvspace{-0.2em}}\n {thecontentslabelquad}\n%% {hspace*{-2.3em}}\n {}\n {titlerule*[0.8pc]{.}contentspage}\ntitlecontents{subsubsection}\n [6em]{smalladdvspace{-0.2em}}\n {thecontentslabelquad}\n%% {hspace*{-2.3em}}\n {}\n {titlerule*[0.8pc]{.}contentspage}\n\nlstset{\nkeywordstyle=color{blue!70}, commentstyle=color{red!50!green!50!blue!50},\nframe=shadowbox,\nrulesepcolor=color{red!20!green!20!blue!20}\n}\nlstset{breaklines}%\u8fd9\u6761\u547d\u4ee4\u53ef\u4ee5\u8ba9LaTeX\u81ea\u52a8\u5c06\u957f\u7684\u4ee3\u7801\u884c\u6362\u884c\u6392\u7248\nlstset{extendedchars=false}\n\n% lstset{ xleftmargin=2em,xrightmargin=2em, aboveskip=1em}\n<\/pre>\n\u53ea\u8981\u628a\u6700\u4e0a\u9762\u7684\u4ee3\u7801\uff0c\u4fdd\u5b58\u6210J_sty_zh.tex\uff0c\u518d\u4f60\u7684\u4ee3\u7801\u4e2dinput\u8fdb\u53bb\u5c31\u597d\u4e86\u3002\u793a\u4f8b\u5982\u4e0b\uff1a<\/p>\n
\ndocumentclass[12pt,a4paper,titlepage]{article}\ninput{J_sty_zh.tex}%% \u5173\u952e\ntitle{\u67b6\u6784\u8bf4\u660e\u4e66}\nauthor{htmladdnormallink{tt Jerry Mouse}{http:\/\/jerrymouse.org.cn\/}}\ndate{today}\nbegin{document}\nmaketitle\ntableofcontents\nclearpage\nsection{\u5f15\u8a00}\nsubsection{\u7f16\u5199\u76ee\u7684}\nXXX\nend{document}\n<\/pre>\n","protected":false},"excerpt":{"rendered":"\u5728\u4e4b\u524d\u7684\u4e24\u4e2a\u6708\uff0c\u8865\u5145\u4e86\u4e0d\u5c11\u6392\u7248\u4e0a\u7684\u77e5\u8bc6\uff0c\u662f\u65f6\u5019\u53d1\u6325\u4e00\u4e0b\u4e86\u3002\u628a\u539f\u5148\u5199\u7a0b\u5e8f\u6587\u6863\u7684\u6a21\u677f\u52a0\u4ee5\u6539\u8fdb\u3002\u6210\u679c\u5982\u4e0b\u3002 usep […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yoast_head":"\n
latex\u6587\u6863\u6a21\u677f - \u6211\u81ea\u7136<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\t\n