赞
踩
这是一个简单的latex模板, 这里有设置页眉, 页脚的范例, 用命令将"abstract"设置成"摘要"(\renewcommand\abstractname{摘要}), 还有中文日期的设置 (\renewcommand\today{\number\year年\number\month月\number\day日}), 在latex中书写化学式的例子. 等等. 值得大家参考.
\documentclass[english,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{geometry}
\geometry{verbose,a4paper,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\pagestyle{empty}
\usepackage{graphicx}
\usepackage[collision]{chemsym}
\usepackage{hetarom,carom,epic,ccycle,aliphat}
\usepackage{CJK}
\usepackage{fancyhdr}
\usepackage{indentfirst}
\makeatletter
\@addtoreset{equation}{section}
\renewcommand{\theequation}{\thesection.\arabic{equation}}
\makeatother
\usepackage{babel}
\begin{document}
\begin{CJK*}{GBK}{song}
\renewcommand\contentsname{目录}
\renewcommand\listfigurename{插图目录}
\renewcommand\listtablename{表格目录}
\renewcommand\refname{参考文献}
\renewcommand\indexname{索引}
\renewcommand\figurename{图}
\renewcommand\tablename{表}
\renewcommand\abstractname{摘要}
\renewcommand\partname{部分}
\renewcommand\appendixname{附录}
\renewcommand\today{\number\year年\number\month月\number\day日}
\providecommand{\CJKnumber}[1]{\ifcase#1\or{一}\or{二}\or{三}\or{四}\or{五}\or{六}\or{七}\or{八}\or{九}\or{十}\fi}
\makeatletter
\def\chaptermark#1{\markboth {\MakeUppercase{\ifnum \c@secnumdepth >\m@ne\if@mainmatter第\CJKnumber{\thechapter}章\ \fi\fi #1}}{}}
\def\sectionmark#1{\markright {\MakeUppercase{\ifnum \c@secnumdepth >\z@\S\thesection \ \fi #1}}}
\def\@makechapterhead#1{\vspace*{50\p@}{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne \if@mainmatter \huge\bfseries 第\CJKnumber{\thechapter}章\ \ \par\nobreak\vskip 20\p@ \fi \fi \interlinepenalty\@M \Huge \bfseries #1\par\nobreak \vskip40\p@}}
\makeatother
\pagestyle{fancy}\fancyhead{}
\fancyfoot {}\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO]{\bfseries \CJKfamily{song} \rightmark}
\fancyhead[RE]{\bfseries \CJKfamily{song} \leftmark}
\fancyfoot[LE]{\footnotesize \CJKfamily{song} cod}
\fancyfoot[LO]{\footnotesize \CJKfamily{song} doc}
\fancyfoot[RO]{\scriptsize firefox}
\renewcommand\headrulewidth{0.4pt}
\renewcommand\footrulewidth{0pt}
\title{学习笔记}
\author{firefox}
\maketitle
\section{引言}
%\thispagestyle{fancy}
$\lambda\!\!\!\raisebox{.5ex}{--}\,$
\bzdrh{1==Br;4==Br} \bzdrv{1==Br;4==Br}
\bzdrv[l]{1==Br;4==Br} \bzdrv[c]{1==Br;4==Br}\\[4pt]
\bzdrv[pa]{1D==O;4D==%
\lmoiety{CH$_{3}$SO$_{2}$--N};%
2==CH$_{3}$}
\bzdrv[pa]{1D==O;4D==%
\rmoiety{N--SO$_{2}$CH$_{3}$};%
2==CH$_{3}$}\\[4pt]
\cyclohexanev{1==1;%
2d==2D;%
3A==3A;%
4B==4B;%
5Sa==5Sa;5Sb==5Sb;%
6Sa==6Sa;6Sb==6Sb} \\[4pt]
\cyclohexaneh
[bdf]{1==Br;4==Br}
\cyclohexanev
[A]{1==Br;4==Br} \\[4pt]
\sixheterov[eb]{1==N}
{1D==0;
4SA==MeO;4SB==OMe;
5==C1;
6==Cl}
\threehetero[H]{2==C}
{2Sa==COOH;2Sb==COOH}\\[4pt]
\pyrazinev[l{1+}{4+}]
{1==H;4==H;2==Cl;6==Cl} \\[4pt]
\cyclohexanev
{1D==O;2Sa==F;2Sb==F}
\cyclohexaneh[c]
{1==Cl;4==F;2==CH$_{3}$}\\[4pt]
\naphdrv[ob]
{1Sb==Br;1Sa==Br;3D==O}
\naphdrh[A]
{1==Cl;4==F;2==CH$_{3}$} \\[4pt]
\decaheterov[af]{4==O}
{1==CH$_3$;6==H$_3$C;9A==H;%
{{10}A}==\lmoiety{HOCH$_2$}}
\nonaheterov[bjge]{1==S;2==N}{3==Cl}\\[4pt]
\chair{1D==O;%
2Se==H$_3$C;2Sa==CH$_3$;%
6Se==CH$_3$;6Sa==CH$_3$}\\[4pt]
\tetrahedral{0==C;1D==O;2==Cl;%
4==Cl}
\qquad
\tetrahedral[{0+}]{0==N;%
1==H;2==CH$_3$;3==H;4==H}
\square{0==C;1D==O;2==Cl;4==Cl}\\[4pt]
\rtrigonal{0==C;1D==O;2==Cl;3==F}
\qquad
\ltrigonal{0==C;1D==O;2==Cl;3==F}
\utrigonal{0==C;1D==O;2==Cl;3==F}
\Utrigonal{0==C;1D==O;2==Cl;3==F}
\dtrigonal{0==C;1D==O;2==Cl;3==F}
\qquad
\Dtrigonal{0==C;1D==O;2==Cl;3==F}\\[4pt]
\ethylene{1==C;2==C}
{1==F;2==Cl;3==H;4==Br}
\qquad
\ethylenev[t{2+}]{1==C;2==N}
{1==H$_3$C;2==CH$_3$;3==H} \\[4pt]
\clearpage
\end{CJK*}
\end{document}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。