日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

厦门大学LaTeX毕业论文模板:中英文双目录

發布時間:2023/12/20 编程问答 33 豆豆
生活随笔 收集整理的這篇文章主要介紹了 厦门大学LaTeX毕业论文模板:中英文双目录 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

設置中文目錄格式:

\RequirePackage{titletoc} \titlecontents{chapter}[0pt]{\heiti \zihao{4}}{\bfseries\thecontentslabel\hspace{\ccwd}}{\bfseries}{\hspace{.5em}\titlerule*{.}\contentspage} \titlecontents{section}[2\ccwd]{\heiti \zihao{-4}}{\bfseries\thecontentslabel\hspace{\ccwd}}{\bfseries}{\hspace{.5em}\titlerule*{.}\contentspage} \titlecontents{subsection}[4\ccwd]{\songti \zihao{-4}}{\thecontentslabel\hspace{\ccwd}}{}{\hspace{.5em}\titlerule*{.}\contentspage}

然后定義英文目錄,與大部分參考資料類似,中文目錄生成toc文件,而英文目錄單獨生成eoc文件

%% 用于英文目錄, list it in eoc \newcommand\echapter[1]{\addcontentsline{eoc}{chapter}{\protect\numberline{\thechapter}#1}} \newcommand\esection[1]{\addcontentsline{eoc}{section}{\protect\numberline{\thesection}#1}} \newcommand\esubsection[1]{\addcontentsline{eoc}{subsection}{\protect\numberline{\thesubsection}#1}} \newcommand\esubsubsection[1]{\addcontentsline{eoc}{subsubsection}{\protect\numberline{\thesubsubsection}#1}}

定義生成中英文目錄的指令

%% 中文目錄 \renewcommand\tableofcontents{%\if@twocolumn\@restonecoltrue\onecolumn\else\@restonecolfalse\fi\chapter*{\contentsname}%目錄里顯示“目錄”,否則\chapter*\@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%\pdfbookmark[0]{目錄}{XMUtoc}\@starttoc{toc}%\chapter*{\encontentsname}%英文目錄里顯示“英文目錄”,否則\chapter*\@mkboth{\MakeUppercase\encontentsname}{\MakeUppercase\encontentsname}%\pdfbookmark[0]{英文目錄}{XMUeoc}\@starttoc{eoc}%\if@restonecol\twocolumn\fi }

在.tex文件里,實例化目錄命令

% 加入中文目錄 \tableofcontents

正文中,章節的定義如下:?

\chapter{緒 論} \echapter{Introduction} \label{chap:intro} \section{本論文研究的目的和意義} \esection{The purpose of this thesis}

?

總結

以上是生活随笔為你收集整理的厦门大学LaTeX毕业论文模板:中英文双目录的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。