LaTeX模板

\documentclass[12pt]{article}
\usepackage{graphics,graphicx,pseudocode,epsfig,cite,subfigure,multicol,picinpar,xspace}
\usepackage[colorlinks]{hyperref}
\usepackage{indentfirst}                            %空格标准                   %%
\usepackage[dvips]{color}                           %颜色宏包                   %%
\usepackage{amssymb,amsfonts,amsmath,times,pict2e}
\usepackage{fontspec,xunicode}                      %字体宏包                   %%
\usepackage{fancyhdr}                               %页眉脚注                   %%
\usepackage[CJKnumber]{xeCJK}
%\setCJKmainfont{微软雅黑}
\setCJKmainfont{文泉驿微米黑}
\setCJKfamilyfont{song}{宋体}
\setCJKfamilyfont{kai}{楷体}
\setCJKfamilyfont{hei}{黑体}
\setCJKfamilyfont{fs}{仿宋}
\setCJKfamilyfont{li}{隶书}
\setCJKfamilyfont{you}{幼圆}
\setCJKfamilyfont{yh}{微软雅黑}
\setCJKfamilyfont{wyh}{文泉驿微米黑}
\newcommand\song{\CJKfamily{song}}
\newcommand\kai{\CJKfamily{kai}}
\newcommand\hei{\CJKfamily{hei}}
\newcommand\fs{\CJKfamily{fs}}
\newcommand\li{\CJKfamily{li}}
\newcommand\you{\CJKfamily{you}}
\newcommand\yh{\CJKfamily{yh}}
\newcommand\wyh{\CJKfamily{wyh}}
\punctstyle{kaiming}
\makeatletter
\renewcommand\section{\@startsection{section}{1}{\z@}%
{-3.5ex \@plus -1ex \@minus -.2ex}%
{2.3ex \@plus.2ex}%
{\normalfont\normalsize\CJKfamily{wyh}}}
\makeatother
\setlength\topmargin{-0.45in}
\setlength\headheight{0in}
\setlength\headsep{0.3in}
\setlength\textheight{9.3in}
\setlength\textwidth{6.5in}
\setlength\oddsidemargin{-0.1in}
\setlength\evensidemargin{-0.1in}

\linespread{1.5}
%%%%%%%%%%%%%%here we go%%%%%%%%%%%%%%%%%

\begin{document}
%\wyh

\title{XXX}
\author{XXX}
%\date{2010.6.17}
\maketitle
%\noindent
\setlength{\parindent}{2em} %段首2字    %%
\setlength{\baselineskip}{1.8em}                    %baselineskip表示当前的行距
\setlength{\parskip}{1ex}                           %parskip表示段距,修改长度的命令最好都放在正文区

\end{document}
posted @ 2011-04-03 03:00  我心狂野  阅读(3640)  评论(0编辑  收藏  举报