您的位置:首页 > 其它

排版第一篇文章解决的三个问题

2011-08-20 17:27 281 查看
使用OSRC会议论文的模板。

问题1:

公式按章节编号:

解决:

在开始文档的标签后,紧跟上:

\begin{document}
\numberwithin{eqution}n{section}


  

问题2:

引用文献在右上方出现:

解决:

在导言区(preamble文档开之前)加上:

\makeatletter

\def\@cite#1#2{\textsuperscript{[{#1\if@tempswa, #2}]}}

\makeatother


  

问题3:

去掉引用、索引的红色、绿色方框。

解决:

用到hyperref包。

经查找,模板ORSC.cls文件有如下设定:

%% hyperref package

\ifpdf   % We're running pdfTeX in PDF mode

\RequirePackage[pdftex]{hyperref}

\else    % We're not running pdfTeX, or running pdfTeX in DVI mode

\ifORSC@dvips

\RequirePackage[dvips]{hyperref}

\else

\RequirePackage[dvipdfm]{hyperref}

\fi

\AtBeginDvi{\special{pdf:tounicode GBK-EUC-UCS2}} % GBK -> Unicode

\fi

\hypersetup{CJKbookmarks,%

bookmarksnumbered,%

colorlinks,%

linkcolor=blue,%

citecolor=blue,%

plainpages=false,%

pdfstartview=FitH}

\ifORSC@print

\hypersetup{colorlinks=false}

\fi


  

将倒数第二句 \hypersetup{colorlinks=false}里的false改为true即可。

但不明白,从字面意思来看,colorlinks设置为true应该是让加上颜色的啊?怎么加反而没有了?
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: